Can't initialize queue
I need to sort an array of File and then copy it into a queue, I need this queue to be global.
Let queue be _sortedDateQueue.
How can I do this, here is the method of my class which uses it:
public Queue sortArrayByDate(File[] allfiles)
Arrays.sort(allfiles, new Comparator()
public int compare(Object o1, Object o2) {
File f1 = (File)o1;
File f2 = (File)o2;
return ((Long.valueOf(f1.lastModified())).compareTo(Long.valueOf(f2.lastModified())));
for(int i=0; i < allfiles.length ; i++)
_sortedDateQueue.offer(allfiles); // I am getting null ointer exception here
System.out.println("Sorted Queue :" + _sortedDateQueue.peek());
for (Iterator iter = _sortedDateQueue.iterator(); iter.hasNext();)
File element = (File) iter.next();
System.out.println("Sorted Queue :" + element.getName());
return _sortedDateQueue;
How can I intialaize queue as its an interface?
you just create an object of some class that you prefer which implements Queue; for example, here I use LinkedList
Queue<File> _sortedDateQueue = new LinkedList<File>();also when you add to it you probably wanted
_sortedDateQueue.offer(allfiles);
Similar Messages
-
Blocked from running *.exe
files. Blocked in Control Panel from Uninstalling anything.
Consistently returns: "Can't initialize plugins directory"
What I tried:
1. Safe Mode with Network
2. File cleanup from C Drive Tools
3. Environmental variable: changed
to this c:/TEMP
c:/TMP (Created TEMP folder
on
directory tree.)
4. Googled error-- known
issue but fixes do not work. (Created New Profile, SFC Scan
of Windows files, moved TEMP folder,
etc)
5. Run as administrator
6. Started after the support desk for ACT client management software uninstalled SQL to restore access to a CLIENT database that was lost for reasons unknown. So it appears some damage was done.
Question is, what was damaged and how to fix it, if this caused this problem and it was not malware fiddling with
registry.Hi,
You can open Control Panel\System and Security, click
Event Viewer under Administrator Tools to check if some logs record recent errors.
Also you can start computer and typing F8, click Repair Your Computer to perform
System Restore. -
When installing, get "Error! Can't initialize plug-ins directory"
Began having problems when opening Firefox and trying to make Firefox the default browser. Windows 7 updated, AVG up-to-date and virus scans clean, MalwareBytes up-to-date and scans clean. Troubleshooting finally caused me to uninstall and try for clean install ... normal Windows 7 uninstall process successful. Made sure Firefox folder in "Program Files" was deleted. Downloaded "DownloadApp_1_7_5_198_Setup" (29,442 KB) from Mozilla website and run ... get "Error! Can't initialize plug-ins directory. Please try again later."
Thank you guig2! Followed your bleepingcomputer.com link above and found the problem was my permissions on C:\Users\Bill\AppData\Local/Temp. It was not "Full Control" for my User or Administrator. Updated the two lines to permit full control for folder, subfolder and files. Ran perfect.
-
Can't initialize OCI error occured during the login process using TOAD 9.0
I have installed the Toad 9.0 recently while login using the username & password for oracle 10.0 database , i am getting the error
Can't initialize OCI Error 1
But i am able to login using the Sql Plus successfully..
Thanks in Advance.Here's one more reason why this error occurs in Toad. It is when you have more than one Oracle Client installed on your machine. Even when you select the correct Oracle Home in "Connect Using" field of Toad, you still get this error "Can't initialize OCI. Error -1". So, to solve that you need to go to the installation folder of that Oracle Home (e.g. C:\Oracle\ora92\), then go to the BIN folder. Open Oracle.Key in Notepad and confirm that it is showing Registry entry/path to the correct Oracle Home (e.g. HOME0 or HOME1 or whatever).
I hope this helps. -
Cannot browse Netflix, only can see instant queue.
When I open Netflix on Apple TV2 I no longer can see "Suggestions for You", "Browse", "Movies"...etc. I can see instant queue, and logout. I restarted and get same results. Anyone else?
I've had similar issues with the Macs on my network (including the Mini on the TV); I generally cannot browse the streaming catalog with images and lose various levels of connects to Netflix CDNs (I usually lose all images of titles, in most cases cannot access the stream, in some cases can access the streams). This appears in my case to be a Mac specific issue (Windows machines, iPad, iPhone -- even Ubuntu, though it can't stream, can browse the library and get images from the Netflix CDN). Unitl today, a router reboot, clearing all caches and cookies, and some screaming would seem to get it working again ... Netflix (via phone) told me to contact Apple; their support script for Safari isn't even for 5.1 ... ugh ...
-
How large can a LabVIEW Queue in elements and bytes?
How large can a LabVIEW Queue in elements and bytes?
rocke72 wrote:
How large can a LabVIEW Queue in elements and bytes?
In
elements it is likely something like 2^31. In bytes it is most probably
around the same number or better, depending how exactly the different
queue elements are stored. I think they are stored as independent
pointers so it would be theoretically better than those 2^31. In
practice however starting to allocated so much memory in LabVIEW will
always cause problems on nowadays computers. Without 64 bit CPU and OS
going above 2 GB of memory per application is very hard and as far as I
know not supported by LabVIEW.
Also allocating many chunks of memory (like a few million queue
elements holding strings) will definitely slow down your system tremendously eventhough
it will work but the OS memory manager will be really stress tested
then.
Rolf Kalbermatter
Message Edited by rolfk on 06-09-2006 12:24 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Can't initialize oci. error 1
Dear all:
When I login TOAD, I got this error:
can't initialize oci. error 1
but sql*plus login can successfully from my client.
I've tried to set the NLS_LANG manually in the registry and set the enviroment ORCLE_HOME , but it cannot work.
my OS client is WINXP SP3 and the DB is : ORACLE 9.2.0.8 64bit
Regards
TerryDUPLICATE thread
Cannot login via TOAD with ORA-12705 error -
Error connecting "Can't initialize OCI. Error -1"
Hi All,
Has anyone ever face this error when trying to connect database from Toad?
Can't initialize OCI. Error -1
Connecting using SQL+ running well.
Add information:
Database : Oracle 10G release 10.2.0.1.0
OS : Win 7 Enterprise 32 bit
Toad : 9.0.1.8
Thanks & best regards,
TEeRie wrote:
Hi All,
Has anyone ever face this error when trying to connect database from Toad?
Can't initialize OCI. Error -1
Connecting using SQL+ running well.
Add information:
Database : Oracle 10G release 10.2.0.1.0
OS : Win 7 Enterprise 32 bit
Toad : 9.0.1.8
Thanks & best regards,
TE
>Connecting using SQL+ running well.
so problem is not with the Oracle database but with Toad.
So root cause & fix are external to Oracle.
This problem is off topic for this forum & should be posted somewhere in TOAD-world -
on my windows XP pro PC i opened windows migration assistant and the first message is: "Cannot start Outlook Express. The application can not initialize the storage. The computer doesn't have enough memory or your disk is full. (0x80007114)"
On my windows PC outlook express is NOT running and as far as i know, NOT installed.
How do I install Outlook Express??
I want to use my new Imac.....Disk storage issues frequently happen if the hard disc is over 85% full. Make sure your trash can is emptied after backing up any files you want to keep elsewhere.
-
How can i initialize variables and append variable in bpelx:exec
I want to know how to initialize variables in bpelx:exec.
I try to use java embedded activities for dynamic sql query. But I meet some problems that cannot assign the data to tempVariable. because I don't initialize tempVariable. but I can't initial variables in java embedded actitvities. How can i initialize variables in bpelx:exec ?
and I want to know to extend child Elment of tempVariables dynamically in bpelx:exec ?
here is my source.
<bpelx:exec name="callEmpDB" language="java" version="1.5">
<![CDATA[
String url = "jdbc:oracle:thin:@127.0.0.1:1521:wonchoi";
String user = "scott";
String passwd = "tiger";
int index = 1;
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
Node node = null;
try{
conn = DriverManager.getConnection (url, user, passwd);
stmt = conn.createStatement();
String wherescript = "";
Element empno = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:empno");
Element ename = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:ename");
Element job = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:job");
Element deptno = (Element)getVariableData("inputVariable","payload", "/client:selConnectDBProcessRequest/client:deptno");
String sql = "select empno, ename, job, mgr, hiredate, sal, comm, deptno from emp where 1 = 1 ";
if(empno != null && empno.getTextContent() != null && !empno.getTextContent().equals("") )
wherescript = wherescript + " and empno = " + empno.getTextContent() ;
if(ename != null && ename.getTextContent() != null && !ename.getTextContent().equals("") )
wherescript = wherescript + " and ename like '" + ename.getTextContent() +"' " ;
if(job != null && job.getTextContent() != null && !job.getTextContent().equals("") )
wherescript = wherescript + " and job = '" + job.getTextContent() +"' ";
if(deptno != null && deptno.getTextContent() != null && !deptno.getTextContent().equals("") )
wherescript = wherescript + " and deptno = " + deptno.getTextContent() ;
sql = sql + wherescript;
System.out.println("sql : "+sql);
rs = stmt.executeQuery(sql) ;
while (rs.next())
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:EMPNO", rs.getString("empno"));
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:ENAME", rs.getString("ename"));
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:JOB", rs.getString("job"));
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:MGR", (rs.getString("mgr")==null? "": rs.getString("mgr")));
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:HIREDATE", rs.getString("hiredate"));
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:SAL", rs.getString("sal"));
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:COMM", rs.getString("comm"));
setVariableData("tempVariable", "payload", "/ns1:selEmpOutputCollection/child::*[position()="+index+"]/ns1:DEPTNO", rs.getString("deptno"));
index++;
}catch(SQLException sex){
System.out.println("sql error");
}catch(Exception ex){
System.out.println("error");
}finally{
try{
rs.close();
stmt.close();
conn.close();
}catch(Exception ex){}
}]]>
</bpelx:exec>
and here is tempVariable examples and schema.
<tempVariable>
<part name="payload">
<selEmpOutputCollection>
<selEmpOutput>
<EMPNO/>
<ENAME/>
<JOB/>
<MGR/>
<HIREDATE/>
<SAL/>
<COMM/>
<DEPTNO/>
</selEmpOutput>
<selEmpOutputCollection>
</part>
</tempVariable>
<xsd:element name="selEmpOutputCollection" type="selEmpOutputCollection"/>
<xsd:element name="selEmpOutput" type="selEmpOutput"/>
<xsd:complexType name="selEmpOutputCollection">
<xsd:sequence>
<xsd:element name="selEmpOutput" type="selEmpOutput" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="selEmpOutput">
<xsd:sequence>
<xsd:element name="EMPNO" type="xsd:decimal" nillable="true"/>
<xsd:element name="ENAME" type="xsd:string" nillable="true"/>
<xsd:element name="JOB" type="xsd:string" nillable="true"/>
<xsd:element name="MGR" type="xsd:decimal" nillable="true"/>
<xsd:element name="HIREDATE" type="xsd:dateTime" nillable="true"/>
<xsd:element name="SAL" type="xsd:decimal" nillable="true"/>
<xsd:element name="COMM" type="xsd:decimal" nillable="true"/>
<xsd:element name="DEPTNO" type="xsd:decimal" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
thanksMy bpel project flow is as follows.
First, I initalize the temp varialbe like this.
<assign name="setInitialVar">
<copy>
<from>
<ns1:selEmpOutput xmlns:ns1="http://lgesoa.lge.com/EmpSpec/types">
<ns1:EMPNO/>
<ns1:ENAME/>
<ns1:JOB/>
<ns1:MGR/>
<ns1:HIREDATE/>
<ns1:SAL/>
<ns1:COMM/>
<ns1:DEPTNO/>
</ns1:selEmpOutput>
</from>
<to variable="tempVariable" part="payload"
query="/ns1:selEmpOutputCollection/ns1:selEmpOutput"/>
</copy>
</assign>
Second, get Data(ex. 10 Employee Information List) from DB for useing Java embedded activity.
Third, assing employee info to tempVariable, then BPEL assign just only one Employee Information. and next data can't assign and the BPEL make an error.
here is my error message..
<2007-03-02 11:23:26,125> <ERROR> <default.collaxa.cube.engine> <BPELXExecLet::setVariableData>
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {null}
parts: {{summary=oracle.xml.parser.v2.XMLElement@15f80b}}
at com.collaxa.cube.xml.dom.DOMUtil.copy(DOMUtil.java:536)
at com.collaxa.cube.engine.ext.BPELXExecLet.setVariableData(BPELXExecLet.java:721)
at com.collaxa.cube.engine.ext.BPELXExecLet.setVariableData(BPELXExecLet.java:700)
at bpel.selconnectdb.ExecLetBxExe4.execute(ExecLetBxExe4.java:160)
at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:49)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
I analyzed the problem. and I find the reason that is I just assing one XML flag to the temp variable. If i don't initalize the varaible like first step, BPEL make an error above error message.
thanks
Won. -
Can't initialize D3D device...
I just burned a pc game (.iso) and installed on my laptop...the install went well, or so I thought...when the installation completed, and I clicked the icon to play the game, I got a white screen, with an error message window saying: "Can't initialize D3D device"
Does that mean I have to uninstall this game and toss the dvd in the trash now? During the install process, I told it to install DirectX, maybe I shouldn't have done that? I give up.
This is what my laptop is: Hewlett-Packard HP G72 Notebook PCGuys i just found a solution for crashing this game.You must download a software called 3D Analyze first.go here http://www.tommti-systems.de/go.html?http://www.tommti-systems.de/main-Dateien/files.html DONE??? Then open the software and hit on the big button Select.then a small window pops up and there you have to browse to the directory where u have installed pacific carriers and select the game executable(ACPC.exe).then hit open.it will load acpc into 3d analyzer.way to go guys.here u have to tick some boxes.do like this.
1.tick on emulate HW TnL caps.
2.in the left middle of sotware window there are 2 text boxes.enter 4318 in VendorID and 592 in DeviceID.
3. THEN CLICK RUN!!!! You see the game running like a charm -
Can't create queue on W2k Advanced Server...
Hello,
I've just installed Tuxedo 6.5 on W2k Advanced Server and I'm trying to start
the BBL with the Simpapp application example. I've compiled the UBBCONFIG file
with tmloadcf and when I try to start the BBL with tmboot -A, I get the message
Can't create queue (CMDTUX 1098). In the ULOG file I get the LIBTUX 681 error.
I've tried with different values of the IPC resources (multiplying all values
by 10) and I get the same error.
If someone knows why I get these errors please send me an email
Thanks in advance
Pedro M.
[email protected]There can be a problem if there are more than 100 Windows Services defined
prior to the Tuxedo Helper. This has been seen on W2k AS.
If this is the case the Rolling Patch is your only way out.
"Pedro Martín" <[email protected]> wrote in message
news:3c7257ff$[email protected]..
>
Hello,
I've just installed Tuxedo 6.5 on W2k Advanced Server and I'm trying tostart
the BBL with the Simpapp application example. I've compiled the UBBCONFIGfile
with tmloadcf and when I try to start the BBL with tmboot -A, I get themessage
Can't create queue (CMDTUX 1098). In the ULOG file I get the LIBTUX 681error.
I've tried with different values of the IPC resources (multiplying allvalues
by 10) and I get the same error.
If someone knows why I get these errors please send me an email
Thanks in advance
Pedro M.
[email protected] -
CMDTUX_CAT:1098: ERROR: Can't create queue
I have Tuxedo 8.1 installed on win 2003 32 bit box.
Whenever I am trying tmboot -y getting the error message as below:--
CMDTUX_CAT:1098: ERROR: Can't create queue
In wslog file it shows as :
LIBWSC_CAT:1037: ERROR: Network message receive failure
LIBWSC_CAT:1059: ERROR: WSL returns error on connection request
LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
I know some wrong information in my ubbconfig file, but not able to find.
My ubbconfig file is :
*RESOURCES
IPCKEY 66490
UID 0
GID 0
PERM 0666
MAXACCESSERS 50
MAXSERVERS 50
MAXSERVICES 50
MASTER "USTR-VM-0928"
SCANUNIT 10
BBLQUERY 180
BLOCKTIME 30
SANITYSCAN 30
MODEL SHM
LDBAL Y
NOTIFY SIGNAL
USIGNAL SIGUSR1
TAGENT "TAGENT"
*MACHINES
"USTR-VM-0928" LMID= "USTR-VM-0928"
TYPE="i386NT"
MAXWSCLIENTS=10
TUXDIR="c:\bea\tuxedo8.1"
APPDIR="c:\oltp"
ENVFILE="c:\oltp\envfile"
TLOGDEVICE="c:\oltp\tlog"
TLOGNAME=tlog
TUXCONFIG="c:\oltp\tuxconfig"
ULOGPFX="c:\oltp\ulog"
*GROUPS
K_GROUP1 GRPNO=1 LMID="USTR-VM-0928"
K_GROUP2 GRPNO=2 LMID="USTR-VM-0928"
K_GROUP3 GRPNO=3 LMID="USTR-VM-0928"
*SERVERS
DEFAULT: RESTART=Y MAXGEN=5 REPLYQ=Y
WSL SRVGRP=K_GROUP3 SRVID=3 CLOPT= "-A -- -n //192.63.222.176:3050"
#"-A -- -n0x00021e45c03fdeb0 -w C:\bea\tuxedo8.1\bin\WSH -m 1 "
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=1 CONV=Y
CLOPT="-- -sA -ljdoe,7,jdoe,tpscon"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=2
CLOPT="-- -sA -ljdoe,7,jdoe,unsolmsg"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=3
CLOPT="-- -sA -ljdoe,7,jdoe,bromsg"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=11 CLOPT=
"-s MPR_TBL:map_server -- -sA -ljdoe,7,jdoe,mapsvr,1"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=12 CLOPT=
"-s MPR_COL:map_server -- -sA -ljdoe,7,jdoe,mapsvr,2"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=13 CLOPT=
"-s MPR_SQL:map_server -- -sA -ljdoe,7,jdoe,mapsvr,3"
*SERVICES
DEFAULT: PRIO=50 LOAD=50 AUTOTRAN=N
map_server
WSH
Service: TListen8.1 (3050) is running.
Please help me regarding this.
RajeevULOG contains the following:--
024412.USTR-VM-0928!tmboot.4000.2672.-2: 02-17-2011: Tuxedo Version 8.1 32-bit Windows.
024412.USTR-VM-0928!tmboot.4000.2672.-2: LIBTUX_CAT:681: ERROR: Failure to create message queue
024412.USTR-VM-0928!tmboot.4000.2672.-2: FATAL: internal error: CMDTUX_CAT:1098: ERROR: Can't create queue
024529.USTR-VM-0928!tmloadcf.1248.3360.-2: 02-17-2011: Tuxedo Version 8.1 32-bit Windows.
024529.USTR-VM-0928!tmloadcf.1248.3360.-2: CMDTUX_CAT:879: INFO: A new file system has been created. (size = 880 512-byte blocks)
024530.USTR-VM-0928!tmloadcf.1248.3360.-2: CMDTUX_CAT:871: INFO: TUXCONFIG file c:\oltp\tuxconfig has been created
024548.USTR-VM-0928!tmboot.3584.2572.-2: 02-17-2011: Tuxedo Version 8.1 32-bit Windows.
024548.USTR-VM-0928!tmboot.3584.2572.-2: LIBTUX_CAT:681: ERROR: Failure to create message queue
024548.USTR-VM-0928!tmboot.3584.2572.-2: FATAL: internal error: CMDTUX_CAT:1098: ERROR: Can't create queue
071016.USTR-VM-0928!tmloadcf.132.3896.-2: 02-17-2011: Tuxedo Version 8.1 32-bit Windows.
071016.USTR-VM-0928!tmloadcf.132.3896.-2: CMDTUX_CAT:879: INFO: A new file system has been created. (size = 880 512-byte blocks)
071016.USTR-VM-0928!tmloadcf.132.3896.-2: CMDTUX_CAT:871: INFO: TUXCONFIG file c:\oltp\tuxconfig has been created
071023.USTR-VM-0928!tmboot.3596.3920.-2: 02-17-2011: Tuxedo Version 8.1 32-bit Windows.
071023.USTR-VM-0928!tmboot.3596.3920.-2: LIBTUX_CAT:681: ERROR: Failure to create message queue
071023.USTR-VM-0928!tmboot.3596.3920.-2: FATAL: internal error: CMDTUX_CAT:1098: ERROR: Can't create queue
When I executed tmloadcf -y ubbconfig, one folder with name .adm and one configuration file with name tuxconfig are created.
Then I did tmboot -y, it returns error as :
Booting all admin and server processes in c:\oltp\tuxconfig
tmboot: internal error: CMDTUX_CAT:1098: ERROR: Can't create queue
I checked wslog file for more information:--
022711.USTR-VM-0928!?proc.3452.3688.0: 02-17-2011: Tuxedo Version 8.1 32-bit Windows.
022711.USTR-VM-0928!?proc.3452.3688.0: LIBWSC_CAT:1037: ERROR: Network message receive failure
022711.USTR-VM-0928!?proc.3452.3688.0: LIBWSC_CAT:1059: ERROR: WSL returns error on connection request
022711.USTR-VM-0928!?proc.3452.3688.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
022711.USTR-VM-0928!?proc.3452.3688.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
022711.USTR-VM-0928!?proc.3452.3688.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
My ubbconfig file contains the following:--
*RESOURCES
IPCKEY 68990
UID 0
GID 0
PERM 0666
MAXACCESSERS 50
MAXSERVERS 50
MAXSERVICES 50
MASTER "USTR-VM-0928"
SCANUNIT 10
BBLQUERY 180
BLOCKTIME 30
SANITYSCAN 30
MODEL SHM
LDBAL Y
NOTIFY SIGNAL
USIGNAL SIGUSR1
TAGENT "TAGENT"
*MACHINES
"USTR-VM-0928" LMID= "USTR-VM-0928"
TYPE="i386NT"
MAXWSCLIENTS=10
TUXDIR="c:\bea\tuxedo8.1"
APPDIR="c:\oltp"
ENVFILE="c:\oltp\envfile"
TLOGDEVICE="c:\oltp\tlog"
TLOGNAME=tlog
TUXCONFIG="c:\oltp\tuxconfig"
ULOGPFX="c:\oltp\ulog"
*GROUPS
K_GROUP1 GRPNO=1 LMID="USTR-VM-0928"
K_GROUP2 GRPNO=2 LMID="USTR-VM-0928"
K_GROUP3 GRPNO=3 LMID="USTR-VM-0928"
*SERVERS
DEFAULT: RESTART=Y MAXGEN=5 REPLYQ=Y
WSL SRVGRP=K_GROUP3 SRVID=3 CLOPT=
"-A -- -n0x00020beac03dfc14 -w C:\oltp\wsenvfile\WSH -m 1"
#### WSL SRVGRP=K_GROUP3 SRVID=3 CLOPT= "-A -- -n //192.61.252.20:279 -m 2 -M 5 -x 5f"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=1 CONV=Y
CLOPT="-- -sA -ljdoe,7,jdoe,tpscon"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=2
CLOPT="-- -sA -ljdoe,7,jdoe,unsolmsg"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=3
CLOPT="-- -sA -ljdoe,7,jdoe,bromsg"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=11 CLOPT=
"-s MPR_TBL:map_server -- -sA -ljdoe,7,jdoe,mapsvr,1"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=12 CLOPT=
"-s MPR_COL:map_server -- -sA -ljdoe,7,jdoe,mapsvr,2"
"c:\BIS$1\tpmapper" SRVGRP=K_GROUP1 SRVID=13 CLOPT=
"-s MPR_SQL:map_server -- -sA -ljdoe,7,jdoe,mapsvr,3"
*SERVICES
DEFAULT: PRIO=50 LOAD=50 AUTOTRAN=N
map_server
WSH
I tried many other option within Server section for WSL, but always getting the same error.
Please help me regarding this.
Thanks
Rajeev -
Can no longer queue songs in iTunes
Hi,
I also have recently had the problem with the audio stuttering in iTunes. I've restored my PC a couple of times and reinstalled the latest version of both iTunes and QuickTime and currently it seems to have fixed the problem.
I now notice that I can no longer queue songs in iTunes. Previously I used the Party Shuffle option alot, but this has only one song listed (instead of the past 5 and next queued 15). If I play a song in the library and click on the >> button, the song just ends, without moving to the next song (doesn't matter whether shuffle is on or not). Any ideas on how to fix this this?I seem to recall deleting the prefs file fixing Party Shuffle issues:
Scott P.: My Source List is missing (or, resetting the prefs) -
Can't initialize iptables : table does not exist
Error when running ettercap : iptables v1.4.18: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Different commands tried, all as ROOT:
iptables -nvL
iptables v1.4.18: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
modprobe ip_tables
modprobe ip_conntrack
modprobe iptable-filter
modprobe ipt_state
iptables -nvL
iptables v1.4.18: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
zgrep IPTABLES /proc/config.gz
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP6_NF_IPTABLES=m
ls /lib/modules/*/kernel/net/*/netfilter/
/lib/modules/3.8.4-1-ARCH/kernel/net/bridge/netfilter/:
ebt_802_3.ko.gz ebt_ip6.ko.gz ebt_pkttype.ko.gz ebtable_broute.ko.gz
ebt_among.ko.gz ebt_limit.ko.gz ebt_redirect.ko.gz ebtable_filter.ko.gz
ebt_arp.ko.gz ebt_log.ko.gz ebt_snat.ko.gz ebtable_nat.ko.gz
ebt_arpreply.ko.gz ebt_mark.ko.gz ebt_stp.ko.gz ebtables.ko.gz
ebt_dnat.ko.gz ebt_mark_m.ko.gz ebt_ulog.ko.gz
ebt_ip.ko.gz ebt_nflog.ko.gz ebt_vlan.ko.gz
/lib/modules/3.8.4-1-ARCH/kernel/net/ipv4/netfilter/:
arp_tables.ko.gz ipt_ULOG.ko.gz nf_conntrack_ipv4.ko.gz
arpt_mangle.ko.gz ipt_ah.ko.gz nf_defrag_ipv4.ko.gz
arptable_filter.ko.gz ipt_rpfilter.ko.gz nf_nat_h323.ko.gz
ip_tables.ko.gz iptable_filter.ko.gz nf_nat_ipv4.ko.gz
ipt_CLUSTERIP.ko.gz iptable_mangle.ko.gz nf_nat_pptp.ko.gz
ipt_ECN.ko.gz iptable_nat.ko.gz nf_nat_proto_gre.ko.gz
ipt_MASQUERADE.ko.gz iptable_raw.ko.gz nf_nat_snmp_basic.ko.gz
ipt_REJECT.ko.gz iptable_security.ko.gz
/lib/modules/3.8.4-1-ARCH/kernel/net/ipv6/netfilter/:
ip6_tables.ko.gz ip6t_eui64.ko.gz ip6t_rpfilter.ko.gz ip6table_raw.ko.gz
ip6t_MASQUERADE.ko.gz ip6t_frag.ko.gz ip6t_rt.ko.gz ip6table_security.ko.gz
ip6t_NPT.ko.gz ip6t_hbh.ko.gz ip6table_filter.ko.gz nf_conntrack_ipv6.ko.gz
ip6t_REJECT.ko.gz ip6t_ipv6header.ko.gz ip6table_mangle.ko.gz nf_defrag_ipv6.ko.gz
ip6t_ah.ko.gz ip6t_mh.ko.gz ip6table_nat.ko.gz nf_nat_ipv6.ko.gz
/lib/modules/3.8.4-1-ck/kernel/net/bridge/netfilter/:
ebt_802_3.ko.gz ebt_ip6.ko.gz ebt_pkttype.ko.gz ebtable_broute.ko.gz
ebt_among.ko.gz ebt_limit.ko.gz ebt_redirect.ko.gz ebtable_filter.ko.gz
ebt_arp.ko.gz ebt_log.ko.gz ebt_snat.ko.gz ebtable_nat.ko.gz
ebt_arpreply.ko.gz ebt_mark.ko.gz ebt_stp.ko.gz ebtables.ko.gz
ebt_dnat.ko.gz ebt_mark_m.ko.gz ebt_ulog.ko.gz
ebt_ip.ko.gz ebt_nflog.ko.gz ebt_vlan.ko.gz
/lib/modules/3.8.4-1-ck/kernel/net/ipv4/netfilter/:
arp_tables.ko.gz ipt_ULOG.ko.gz nf_conntrack_ipv4.ko.gz
arpt_mangle.ko.gz ipt_ah.ko.gz nf_defrag_ipv4.ko.gz
arptable_filter.ko.gz ipt_rpfilter.ko.gz nf_nat_h323.ko.gz
ip_tables.ko.gz iptable_filter.ko.gz nf_nat_ipv4.ko.gz
ipt_CLUSTERIP.ko.gz iptable_mangle.ko.gz nf_nat_pptp.ko.gz
ipt_ECN.ko.gz iptable_nat.ko.gz nf_nat_proto_gre.ko.gz
I'm not sure but I think the problem might be here, I don't totally understand the command but my ettercap was working fine one month ago (when I still had the original Arch kernel) and it seems there is modules from 2 kernels here...
Can anyone help me please? thanks for your patience@mich41 Oops I forgot to mention I'm running the ck kernel for duo core CPU
lsmod
Module Size Used by
nfnetlink_log 8037 0
nfnetlink 3489 1 nfnetlink_log
fuse 69258 2
iTCO_wdt 5447 0
iTCO_vendor_support 1929 1 iTCO_wdt
joydev 9727 0
snd_hda_codec_analog 79922 1
coretemp 6198 0
arc4 2007 2
kvm 392193 0
btusb 14804 0
bluetooth 301098 2 btusb
pcmcia 46292 0
microcode 14465 0
psmouse 76175 0
iwl3945 55148 0
i2c_i801 11077 0
pcspkr 1995 0
serio_raw 5105 0
evdev 10136 13
battery 7098 0
yenta_socket 32921 0
lpc_ich 11601 0
pcmcia_rsrc 9273 1 yenta_socket
pcmcia_core 14173 3 pcmcia,pcmcia_rsrc,yenta_socket
thinkpad_acpi 62433 0
ac 2568 0
iwlegacy 48804 1 iwl3945
nvram 5906 1 thinkpad_acpi
mac80211 467685 2 iwl3945,iwlegacy
tpm_tis 10570 0
tpm 14476 1 tpm_tis
tpm_bios 9937 1 tpm
i915 558838 3
cfg80211 433688 3 iwl3945,iwlegacy,mac80211
snd_hda_intel 34194 3
rfkill 15996 4 cfg80211,thinkpad_acpi,bluetooth
snd_hda_codec 102453 2 snd_hda_intel,snd_hda_codec_analog
drm_kms_helper 35517 1 i915
snd_hwdep 6428 1 snd_hda_codec
snd_pcm 78018 3 snd_hda_codec,snd_hda_intel
drm 225975 4 i915,drm_kms_helper
acpi_cpufreq 10630 1
mperf 1235 1 acpi_cpufreq
i2c_algo_bit 5391 1 i915
snd_page_alloc 7394 2 snd_pcm,snd_hda_intel
snd_timer 18934 2 snd_pcm
wmi 8379 0
snd 60156 11 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_hda_codec_analog
e1000e 213584 0
thermal 8577 0
video 11363 1 i915
i2c_core 23171 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
soundcore 5442 1 snd
intel_agp 10872 1 i915
intel_gtt 12566 3 i915,intel_agp
processor 27431 3 acpi_cpufreq
button 4701 1 i915
ext4 478210 2
crc16 1359 2 ext4,bluetooth
jbd2 77917 1 ext4
mbcache 6026 1 ext4
sr_mod 14823 0
cdrom 35520 1 sr_mod
sd_mod 31258 4
ata_generic 3338 0
pata_acpi 3451 0
ata_piix 24760 3
libata 168683 3 pata_acpi,ata_generic,ata_piix
scsi_mod 130797 3 libata,sd_mod,sr_mod
firewire_ohci 32325 0
firewire_core 53333 1 firewire_ohci
crc_itu_t 1363 1 firewire_core
ehci_pci 4120 0
uhci_hcd 24972 0
ehci_hcd 47391 1 ehci_pci
usbcore 175029 4 btusb,uhci_hcd,ehci_hcd,ehci_pci
usb_common 954 1 usbcore
strace iptables -nvL
execve("/usr/sbin/iptables", ["iptables", "-nvL"], [/* 27 vars */]) = 0
brk(0) = 0x1a45000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=134403, ...}) = 0
mmap(NULL, 134403, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8b44b09000
close(3) = 0
open("/usr/lib/libip4tc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\32\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=27344, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b08000
mmap(NULL, 2122536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b44702000
mprotect(0x7f8b44708000, 2093056, PROT_NONE) = 0
mmap(0x7f8b44907000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f8b44907000
close(3) = 0
open("/usr/lib/libip6tc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\33\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=31504, ...}) = 0
mmap(NULL, 2126696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b444fa000
mprotect(0x7f8b44500000, 2097152, PROT_NONE) = 0
mmap(0x7f8b44700000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f8b44700000
close(3) = 0
open("/usr/lib/libxtables.so.10", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2204\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=47896, ...}) = 0
mmap(NULL, 2144896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b442ee000
mprotect(0x7f8b442f9000, 2093056, PROT_NONE) = 0
mmap(0x7f8b444f8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f8b444f8000
close(3) = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \33\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2035539, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b07000
mmap(NULL, 3853456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b43f41000
mprotect(0x7f8b440e5000, 2093056, PROT_NONE) = 0
mmap(0x7f8b442e4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3000) = 0x7f8b442e4000
mmap(0x7f8b442ea000, 15504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8b442ea000
close(3) = 0
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14648, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8b43d3d000
mprotect(0x7f8b43d40000, 2093056, PROT_NONE) = 0
mmap(0x7f8b43f3f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f8b43f3f000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b06000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b05000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8b44b04000
arch_prctl(ARCH_SET_FS, 0x7f8b44b05700) = 0
mprotect(0x7f8b442e4000, 16384, PROT_READ) = 0
mprotect(0x7f8b43f3f000, 4096, PROT_READ) = 0
mprotect(0x7f8b444f8000, 4096, PROT_READ) = 0
mprotect(0x7f8b44700000, 4096, PROT_READ) = 0
mprotect(0x7f8b44907000, 4096, PROT_READ) = 0
mprotect(0x613000, 4096, PROT_READ) = 0
mprotect(0x7f8b44b2a000, 4096, PROT_READ) = 0
munmap(0x7f8b44b09000, 134403) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = -1 EPERM (Operation not permitted)
lstat("/proc/net/ip_tables_names", 0x7fff863e5cc0) = -1 ENOENT (No such file or directory)
open("/proc/sys/kernel/modprobe", O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
brk(0) = 0x1a45000
brk(0x1a66000) = 0x1a66000
read(3, "/sbin/modprobe\n", 1024) = 15
close(3) = 0
vfork() = 12371
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12371
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12371, si_status=1, si_utime=0, si_stime=0} ---
write(2, "iptables v1.4.18: ", 18iptables v1.4.18: ) = 18
write(2, "can't initialize iptables table "..., 87can't initialize iptables table `filter': Table does not exist (do you need to insmod?)) = 87
write(2, "\n", 1
) = 1
write(2, "Perhaps iptables or your kernel "..., 54Perhaps iptables or your kernel needs to be upgraded.
) = 54
exit_group(3) = ?
+++ exited with 3 +++
I don't have a ip_tables_names file in /proc/net
thanks for the help guys
Maybe you are looking for
-
Issue: On Mac 10.9.2, running Adobe CC, I attempt to convert a selection of PSD files using Image Processor through Bridge. I get an error stating "Sorry, I could not process the following files". Image Processor supports conversion from PSD files as
-
Sql/Plsql code to export data into a temporary table from a text file
Dear all, I need to create a temporary table getting data from a text file. I am very new to data loading could you please help me how to read the text file in to a temporary table. i have text file like as below: order items : books Purchasing start
-
How do I set up my devices to wirelessly synch my Notes using iCloud among iPad, iPhone 5S and Outlook 2013 running on Windows 8.1?
-
Thread's 'getId()' Problem
Hello All, I try to use the ID of threads withoud any success. I declare two threads in this way: Thread threads[] = new Thread[2]; threads[0] = new Thread(); threads[1] = new Thread(); for(int i=0;i<2;i++) threads.start(); then, when I look for it
-
Can I install my adobe photoshop elements II on more than one computer?
Can I install my adobe photoshop elements II on more than one computer?