Lookup Error from network JMS client
I am using J2EE RI Server
QueueConnectionFactory is created on the server using console.
when I list them asadmin tool I can see them.
The JMS Queue Supplier code
Hashtable env = new Hashtable();
String jndiFactory = "com.sun.jndi.cosnaming.CNCtxFactory";
String providerURL = "iiop://localhost:3700";
env.put(Context.INITIAL_CONTEXT_FACTORY, jndiFactory);
env.put(Context.PROVIDER_URL, providerURL);
InitialFactory con = new InitialContext(env);
QueueConnectionFactory queueConnectionFactory = (QueueConnectionFactory)
context.lookup("QueueConnectionFactory");
The line where lookup is called I get the following error.
I run this with these JVM environments -Dorg.omg.CORBA.ORBInitialHost=localhost -Dorg.omg.CORBA.ORBInitialPort=3700
I get the same error for the non appclients of EJB but works fine if the clients are appclients.
I am trying to solve this for three days, any insight would be helpful.
==================================
Error :javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.
amingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.Naming
ontextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundH
lper.java:72)
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHe
lper.java:72)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub
.java:406)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at ejava.jms.QueueSupplier.<init>(QueueSupplier.java:86)
at ejava.jms.QueueSupplier.createAQueueAndSendOrder(QueueSupplier.java:1
46)
at ejava.jms.QueueSupplier.main(QueueSupplier.java:190)
=========================================================
Regards
Krishna
i dont think u need set env and all this in all latest App servers.anyway.
Are u trying to do con.lookup("QueueConnectionFactory");
or
context.lookup("QueueConnectionFactory");
and also make sure the factory ur using is right one and also check the corbaloc is running on 3700
thsanks
hithesh
Similar Messages
-
-- Error during running JMS client --
Hello ,i m novice in JMS,just trying to Implement my first JMS programming on WL8.1,I m getting error during Run client program
My client program is below :
package examples;
import javax.naming.*;
import javax.jms.*;
import java.util.*;
public class Client
public static void main(String[] args)throws Exception
Properties props = System.getProperties();
props.put(Context.PROVIDER_URL,"t3://localhost:7001");
props.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
Context ctx=new InitialContext(System.getProperties());
TopicConnectionFactory factory=(TopicConnectionFactory)ctx.lookup("javax.jms.TopicConnectionFactory");
TopicConnection connection = factory.createTopicConnection();
TopicSession session=connection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
System.out.println("Envi Veraibles" + ctx.getEnvironment().toString());
System.out.println("Object Retrived "+ctx.lookup("testtopic").toString());
Topic topic =(Topic)ctx.lookup("testtopic");
TopicPublisher publisher=session.createPublisher(topic);
TextMessage msg=session.createTextMessage();
msg.setText("This is a test message");
publisher.publish(msg);
I m getting error during running client ::
Exception in thread "main" java.lang.ClassCastException: weblogic.jms.client.JMSConnectionFactory examples.Client.main(Client.java:23)
i think error is due to this line
Topic topic =(Topic)ctx.lookup("testtopic");
Pls Help me
Thnx in Advance ...First of thanks for gave me a Reply.
(1) System.out.println("Object Retrived "+ctx.lookup("testtopic").toString()); this line is nothing just i wanted to check that program giving me a object or not .and output of this line is
Object Retrived weblogic.jms.client.JMSConnectionFactory@1f66cff
(2)Testtopic is not a object but it is JNDI name whichever i specified in webligic-ejb-jar.xml
(3)i added this line System.out.print("Second output"+ctx.getClass().getName()); and i got this output:
Second output javax.naming.InitialContext
but still i m getting same error
here i m describing my code for ejb-jar.xml
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<!-- Generated XML! -->
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>LogBean</ejb-name>
<ejb-class>examples.LogBean</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>LogBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
(2)*LogBean.java*
package examples;
import javax.ejb.*;
import javax.jms.*;
import javax.naming.*;
public class LogBean implements MessageDrivenBean,MessageListener
protected MessageDrivenContext ctx;
public void setMessageDrivenContext(MessageDrivenContext ctx)
this.ctx=ctx;
public void ejbCreate()
System.err.println("ejbCreate()");
public void onMessage(Message msg)
if(msg instanceof TextMessage) {
TextMessage tm=(TextMessage)msg;
try
String text=tm.getText();
System.err.println("Received new message:"+text);
catch (JMSException e)
e.printStackTrace();
public void ejbRemove()
System.err.println("ejbRemove()");
(3)*webogic-ejb-jar.xml*
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
<!-- Generated XML! -->
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>LogBean</ejb-name>
<message-driven-descriptor>
<pool>
</pool>
<destination-jndi-name>testtopic</destination-jndi-name>
</message-driven-descriptor>
<transaction-descriptor>
</transaction-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
you have already client program ,i sent it on first time.
Thnx again ... -
Error from sample JAAS client: Message stream modified (41)
I am trying to follow the tutorial for JAAS Authentication located here:
http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/tutorials/AcnOnly.html
I am trying to run the sample client JaasAcn.java but am getting a strange error when I try to log on to my Active Directory.
I am using Java version: jre1.6.0_03
I can login to Active Directory fine with the credentials I am providing, just not with this client, so I know the credentials are valid.
Here is the error I get that I don't understand. Any suggestions would be very helpful, if you provide help for this
The Error message is: [Krb5LoginModule] authentication failed
Message stream modified (41)
Here is the full output:
C:\Progra~1\Java\jre1.6.0_03\bin\java -Dsun.security.krb5.debug=true -Djava.security.krb5.realm=PRSDev.local -Djava.security.krb5.kdc=192.168.40.72 -Djava.security.auth.login.config=jaas.conf JaasAcn
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt f
alse ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is fa
lse principal is null tryFirstPass is false useFirstPass is false storePass is f
alse clearPass is false
Kerberos username [ILea]: sra
Kerberos password for sra:
[Krb5LoginModule] user entered username: sra
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
Acquire TGT using AS Exchange
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
KrbAsReq calling createMessage
KrbAsReq in createMessage
KrbKdcReq send: kdc=192.168.40.72 UDP:88, timeout=30000, number of retries =3, #bytes=144
KDCCommunication: kdc=192.168.40.72 UDP:88, timeout=30000,Attempt =1, #bytes=144
KrbKdcReq send: #bytes read=202
KrbKdcReq send: #bytes read=202
KDCRep: init() encoding tag is 126 req type is 11
KRBError:sTime is Mon Dec 31 11:56:40 PST 2007 1199131000000
suSec is 884978
error code is 25
error Message is Additional pre-authentication required
realm is PRSDev.local
sname is krbtgt/PRSDev.local
eData provided.
msgType is 30
Pre-Authentication Data:PA-DATA type = 11
PA-ETYPE-INFO etype = 23
Pre-Authentication Data:PA-DATA type = 2
PA-ENC-TIMESTAMP
Pre-Authentication Data:PA-DATA type = 15
AcquireTGT: PREAUTH FAILED/REQUIRED, re-send AS-REQ
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
Pre-Authentication: Set preferred etype = 23
KrbAsReq salt is PRSDev.localsraPre-Authenticaton: find key for etype = 23
AS-REQ: Add PA_ENC_TIMESTAMP now
EType: sun.security.krb5.internal.crypto.ArcFourHmacEType
KrbAsReq calling createMessage
KrbAsReq in createMessage
KrbKdcReq send: kdc=192.168.40.72 UDP:88, timeout=30000, number of retries =3, #bytes=210
KDCCommunication: kdc=192.168.40.72 UDP:88, timeout=30000,Attempt =1, #bytes=210
KrbKdcReq send: #bytes read=1182
KrbKdcReq send: #bytes read=1182
EType: sun.security.krb5.internal.crypto.ArcFourHmacEType[Krb5LoginModule] authentication failed
Message stream modified (41)
Authentication failed:
Message stream modified (41)FYI I have fixed this problem (and moved on to the next error)
I disabled the preauthentication requirement on the Active Directory account according to this article:
http://technet2.microsoft.com/windowsserver/en/library/a0bd7520-ef2d-4de4-b487-e105a9de9e4f1033.mspx?mfr=true -
While connecting from Client to EJB , LookUp Error is Comming...
Hi All
I am working with Oracle Application Server 10g.
Here I downloaded one helloworld session bean from oracle site.
I am able to deploy .ear file.
But when I am connecting bean using client...
I am getting following error:
D:\helloworld>ant run
Buildfile: build.xml
init:
setup:
cli-classes:
[javac] Compiling 1 source file to D:\helloworld\build\helloworld\helloworld-client
cli-descriptor:
cli-jar:
[jar] Building jar: D:\helloworld\dist\helloworld-client.jar
run:
[java] client started...
[java] java.lang.InstantiationException: Error communicating with server: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
[java] java.net.ConnectException: Connection refused: connect; nested exception is:
[java] javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
[java] java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
[java] at com.evermind.server.ApplicationClientContext.createContext(ApplicationClientContext.java:63)
[java] at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:145)
[java] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
[java] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
[java] at javax.naming.InitialContext.init(InitialContext.java:219)
[java] at javax.naming.InitialContext.<init>(InitialContext.java:175)
[java] at hello.HelloClient.main(HelloClient.java:25)
[java] NamingException: Error reading application-client descriptor: Error communicating with server: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
[java] java.net.ConnectException: Connection refused: connect; nested exception is:
[java] javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
[java] java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
I used the following JNDI Configurations:
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
java.naming.provider.url=ormi://localhost:23791/helloworld
Pls Post your results....
With Regards
KumarTry this:
java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory -
Network Path Error from Windows Clients
Hi everyone,
I have a problem that's been puzzling me. I used to be able to connect to my Mac servers as well as Mac clients with Windows sharing enabled from PCs at my work. I can't recall exactly when it stopped working, but it has. Whenever I try connecting to a Mac from a Windows PC, all I get is the error "The network path \\"server"\"share" could not be found". Here's the scenario:
- Tried connecting to Tiger Server (10.4.2), Tiger client (10.4.4) and Panther Server (10.3.9)
- Neither Windows 2000 SP4 or XP SP2 work (I know about the issues with XP SP2)
- Systems are on the same IP subnet
- All have the same Windows workgroup name
- I've stopped and restarted Windows services, and Windows sharing on Tiger client
- Share points on both servers are configured for SMB
- Tried IP and host name
- Works fine connecting from a Mac using "smb://server" in the Connect To dialog
- I'm able to connect via FTP from the PC
Any ideas are appreciated!
iMacG5, iMac G4, iBook G3 900mhz, 1st gen iPod, iPod Nano Mac OS X (10.4.4)Have you tried connecting to the share by IP address? try start, run,
\\xxx.xxx.x.xx\
The problem I am having is similar. 10.4.3 server windows shares work for a while, then it stops broadcasting out of the blue. We can still make IP connects to the server, but cannot using the smb name.
Gonna call support today and see what I can find out on my issue. If I find some resolve I will try to post the solution if I get time.
Matthew -
How to insert message in OC4J JMS from standalone java client.
Hi,
I have been following available examples for creating standalone java clients to insert messages in JMS queues.
I am able to insert using java client when the SOA suite and the standalone java code are on same machine.
package producerconsumerinjava;
import javax.jms.*;
import javax.naming.*;
import java.util.Hashtable;
public class QueueProducer
public static void main(String[] args)
String queueName = "jms/demoQueue";
String queueConnectionFactoryName = "jms/QueueConnectionFactory";
Context jndiContext = null;
QueueConnectionFactory queueConnectionFactory = null;
QueueConnection queueConnection = null;
QueueSession queueSession = null;
Queue queue = null;
QueueSender queueSender = null;
TextMessage message = null;
int noMessages = 5;
* Set the environment for a connection to the OC4J instance
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
env.put(Context.SECURITY_CREDENTIALS, "mypass");
env.put(Context.PROVIDER_URL,"ormi://myserver.company.com:12402"); //12402 is the rmi port
* Set the Context Object.
* Lookup the Queue Connection Factory.
* Lookup the JMS Destination.
try
jndiContext = new InitialContext(env);
queueConnectionFactory =
(QueueConnectionFactory) jndiContext.lookup(queueConnectionFactoryName);
queue = (Queue) jndiContext.lookup(queueName);
catch (NamingException e)
System.out.println("JNDI lookup failed: " + e.toString());
System.exit(1);
* Create connection.
* Create session from connection.
* Create sender.
* Create text message.
* Send messages.
* Send non text message to end text messages.
* Close connection.
try
queueConnection = queueConnectionFactory.createQueueConnection();
queueSession =
queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
queueSender = queueSession.createSender(queue);
message = queueSession.createTextMessage();
for (int i = 0; i < noMessages; i++)
message.setText("Message " + (i + 1));
System.out.println("Producing message: " + message.getText());
queueSender.send(message);
queueSender.send(queueSession.createBytesMessage());
catch (JMSException e)
System.out.println("Exception occurred: " + e.toString());
finally
if (queueConnection != null)
try
queueConnection.close();
catch (JMSException e)
System.out.println("Closing error: " + e.toString());
But when the SOA Suite is remote, I am struggling to get the settings correct
Till now, here is what I have figured out from looking at blogs/tars etc on the Net:
1. I need to use ApplicationClientInitialContextFactory instead of RMIInitialContextFactory (http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/jndi.htm)
2. The project should have a META-INF/application-client.xml file, which may be dummy (http://www.wever.org/java/space/Oracle/JmsTar1). Question is, my code is there in a single absolutely standalone code..how I can use this application-client.xml and where it has to be placed.
Errors:
When trying to run exact same code on local server that tries to enqueue JMS on remotee serverer
Exception occurred: javax.jms.JMSException: Unable to create a connection to "xxxxxxx.yyyyyy01.dev.com/10.42.456.11:12,602" as user "null".
Any help is greatly welcome.
As an exercise, I copied this complete code on the server and then ran locally using a telnet client...it worked. So the problem is coming when accessing the server remotely.
Rgds,
Amit1. I need to use ApplicationClientInitialContextFactory instead of RMIInitialContextFactoryNot necessarily.
2. The project should have a META-INF/application-client.xml fileThat's only necessary if going the ApplicationClientInitialContextFactory route.
There are two types of JMS client applications you can write -- a pure/plain Java app, and an "AppClient". That first is your everyday run-of-the-mill Java application, nothing special. That latter is a special, complicated beast that tries to act as a part of the whole client/server/J2EE architecture which provides you with a semi-managed environment. Either can be made to work, but if all you need is JMS access (using plain OC4J JMS factory/queue names and not JMS Connector names), then the first is easier to get working (and performs a tiny bit better as well due to being a lighter-weight solution).
I think the problem you are having might be: When you use the plain Java client solution, you do not have any type of management, and that includes user management. With no user management (and if the JMS server is not configured to allow anonymous connections) you need to include the username and password in the call to createConnection. (I think it may be that this is actually true in the AppClient case as well -- I avoid using the AppClient model as much as possible so my memory there is weaker.)
If you prefer to go the AppClient route, I would point you to a demo I wrote which had a functioning example, but Oracle seems to have removed it (and all of the 10.1.3 demos?) from OTN. :-(
Hmm, it seems to still be available on the wayback machine:
http://web.archive.org/web/20061021064014/www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html
(Just look down the page for "With OEMS JMS (In-Memory and File-Based)" -- there is an .html document with info, and there is a .zip file with source code.)
Question is, my code is there in a single absolutely standalone code..how I can use this application-client.xml and where it has to be placed.The app client in my demo had the following directory structure:
myjavaclient.class
jndi.properties
META-INF\MANIFEST.MF
META-INF\application-client.xml
META-INF\orion-application-client.xml
When you use ApplicationClientInitialContextFactory I think it just looks under .\META-INF for the .xml files.
-Jeff -
Accessing JMS from stand-alone client
I'm currently attempting to access EJBs, JMS topics and JMS queues from a swing client running on a different machine to the application server (in this case, Sun App Server 9).
I have added the following jars to the classpath: appserv-rt.jar, javaee.jar and imqjmsra.jar, as well as generated EJB stubs. I have specified the two -D options on the command line:
-Dorg.omg.CORBA.ORBInitialHost=<server>
-Dorg.omg.CORBA.ORBInitialPort=3700
I have tried adding my own jndi.properties with:
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
java.naming.provider.url=iiop://<server>:3700
I have also tried without including a jndi.properties file and using the one supplied by the appserv-rt.jar (this causes more errors than adding my own).
I am able to lookup an EJB using the global JNDI name and successfully invoke methods on the EJB. If I use the java:comp/env context then I receive the same error as I do with the JMS issues which I'm about to describe.
When I attempt to access the JMS factories, topics and queues using both the java:comp/env and the global JNDI name I receive the following error:
javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingCo
ntextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.j
ava:44)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:453)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
The global JNDI name for the topic factory (for example) is jms/TopicConnectionFactory - I have tried both lookups:
InitialContext context = new InitialContext();
context.lookup("jms/TopicConnectionFactory") //lookup 1
context.lookup("java:comp/env/jms/TopicConnectionFactory") //lookup 2The factory is clearly visible in JNDI under the jms/TopicConnectionFactory when I browse the JNDI from the Sun Admin Console.
I run the application on a separate machine via the standard java.exe -jar myclient.jar (the jar's manifest has the main class and the classpath described above set)
Does anybody see anything that I could be missing to get JMS lookups to work from a thick client. As mentioned I can lookup EJBs with no problems so I am definitely connecting to the app server correctly - I figure I'm missing another jar or something like that.
I have also tried adding application-client.xml and sun-application-client.xml descriptors to myclient.jar/META-INF but that doesn't seem to work either, and when I do I don't think the descriptors are being read because I am unable to lookup the EJB with the java:comp/env JNDI reference - I still need to use the global JNDI name. I would like to use the java:comp/env but I'm not certain how I get the application client jar to load these descriptors, or does something in the appserv-rt.jar do that when it is first accessed (a little unsure of this bit).
My main concern though, even with global JNDI lookups is that the JMS lookups fail and the EJB lookups succeed.
Any help would be greatly appreciated.
I tried again with using the jndi.properties file in the appserv-rt.jar rather than setting anything on the InitialContext. After getting past all of the NoClassDefFound errors by adding more of the app server jars onto the client classpath I managed to get something working, however with the information that was spat out on the client console while performing the lookup I'm pretty certain this isn't exactly what I want - it does work however. My concern is that the messages that are being displayed makes me think I have created my own factory locally (or something weird like that). The messages I received were:
Looking up: jms/TopicConnectionFactory
23/06/2006 16:40:45 com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
================================================================================
Sun Java(tm) System Message Queue 4.0
Sun Microsystems, Inc.
Version: 4.0 (Build 27-a)
Compile: Thu Mar 2 22:14:05 PST 2006
Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMS ResourceAdaapter configuration=
raUID =null
brokerType =REMOTE
brokerInstanceName =imqbroker
brokerBindAddress =null
brokerPort =7676
brokerHomeDir =/u2/sas9/imq/bin/..
brokerVarDir =/u2/sas9/domains/domain1/imq
brokerJavaDir =/usr/java
brokerArgs =null
brokerStartTimeout =60000
adminUsername =admin
adminPassFile =/var/tmp/asmq40969.tmp
useJNDIRmiServiceURL =true
rmiRegistryPort =8686
startRmiRegistry =false
useSSLJMXConnector =true
brokerEnableHA =false
clusterId =null
brokerId =null
jmxServiceURL =null
dbType =null
dbProps ={}
dsProps ={}
ConnectionURL =mq://<server>:7676/
UserName =guest
ReconnectEnabled =true
ReconnectInterval =5000
ReconnectAttempts =3
AddressListBehavior =RANDOM
AddressListIterations =3
InAppClientContainer =true
InClusteredContainer =false
GroupName =null
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: start:SJSMQ JMSRA Connection Factory Config={imqOverrideJM
SPriority=false, imqConsumerFlowLimit=1000, imqOverrideJMSExpiration=false, imqA
ddressListIterations=3, imqLoadMaxToServerSession=true, imqConnectionType=TCP, i
mqPingInterval=30, imqSetJMSXUserID=false, imqConfiguredClientID=, imqSSLProvide
rClassname=com.sun.net.ssl.internal.ssl.Provider, imqJMSDeliveryMode=PERSISTENT,
imqConnectionFlowLimit=1000, imqConnectionURL=http://localhost/imq/tunnel, imqB
rokerServiceName=, imqJMSPriority=4, imqBrokerHostName=localhost, imqJMSExpirati
on=0, imqAckOnProduce=, imqEnableSharedClientID=false, imqAckTimeout=0, imqAckOn
Acknowledge=, imqConsumerFlowThreshold=50, imqDefaultPassword=guest, imqQueueBro
wserMaxMessagesPerRetrieve=1000, imqDefaultUsername=guest, imqReconnectEnabled=f
alse, imqConnectionFlowCount=100, imqAddressListBehavior=RANDOM, imqReconnectAtt
empts=3, imqSetJMSXAppID=false, imqConnectionHandler=com.sun.messaging.jmq.jmscl
ient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimestamp=false, imqBrokerServi
cePort=0, imqDisableSetClientID=false, imqSetJMSXConsumerTXID=false, imqOverride
JMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueueBrowserRetrieveTimeout=60
000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted=false, imqConnectionFlowL
imitEnabled=false, imqReconnectInterval=5000, imqAddressList=mq://<server>:7676/, i
mqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMSRA Started
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnectionFactory setPasswor
d
INFO: MQJMSRA_MF1101: setPassword:NOT setting default value
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnectionFactory setAddress
List
INFO: MQJMSRA_MF1101: setAddressList:NOT setting default value=localhost
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnectionFactory setUserNam
e
INFO: MQJMSRA_MF1101: setUserName:NOT setting default value=guest
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=1:xacId=4902744336909087232:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=2:xacId=4902744336909100288:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=3:xacId=4902744336909108480:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=4:xacId=4902744336909117696:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=5:xacId=4902744336909126400:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:46 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=6:xacId=4902744336909134336:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:47 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=7:xacId=4902744336909143040:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
23/06/2006 16:40:47 com.sun.messaging.jms.ra.ManagedConnection <init>
INFO: MQJMSRA_MC1101: constructor:Created mcId=8:xacId=4902744336909151488:Using
xacf config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverri
deJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=tru
e, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfigu
redClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imq
JMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http:/
/localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostNam
e=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false
, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefault
Password=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=g
uest, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqAddressListBehavi
or=RANDOM, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=c
om.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimes
tamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsu
merTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueu
eBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted
=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddre
ssList=mq://<server>:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
Looking up: jms/topic/MyTopic
Does anybody know what these messages mean and also whether or not this is what I should be seeing on the client side?Greetings!!
Dear danrak,
Probably u must ahve found a solution to this issue.
I am facing a similar problem.
I can lookup EJBs but not JMS factoriers.
can u please guide me in this respect!
this is my output
Jan 5, 2007 6:09:38 PM com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
================================================================================
Sun Java(tm) System Message Queue 4.0
Sun Microsystems, Inc.
Version: 4.0 (Build 27-a)
Compile: Thu 03/02/2006
Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Jan 5, 2007 6:09:39 PM com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMS ResourceAdaapter configuration=
raUID =null
brokerType =REMOTE
brokerInstanceName =imqbroker
brokerBindAddress =null
brokerPort =7676
brokerHomeDir =C:\Sun\AppServer\imq\bin\..
brokerVarDir =C:/Sun/AppServer/domains/domain1\imq
brokerJavaDir =C:/Sun/AppServer/jdk
brokerArgs =null
brokerStartTimeout =60000
adminUsername =admin
adminPassFile =C:\Documents and Settings\Administrator\Local Settings\Temp\asmq36440.tmp
useJNDIRmiServiceURL =true
rmiRegistryPort =1099
startRmiRegistry =true
useSSLJMXConnector =true
brokerEnableHA =false
clusterId =null
brokerId =null
jmxServiceURL =null
dbType =null
dbProps ={}
dsProps ={}
ConnectionURL =mq://FarhanJan:7676/
UserName =guest
ReconnectEnabled =true
ReconnectInterval =5000
ReconnectAttempts =3
AddressListBehavior =PRIORITY
AddressListIterations =3
InAppClientContainer =true
InClusteredContainer =false
GroupName =null
Jan 5, 2007 6:09:39 PM com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: start:SJSMQ JMSRA Connection Factory Config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqOverrideJMSExpiration=false, imqAddressListIterations=3, imqLoadMaxToServerSession=true, imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false, imqConfiguredClientID=, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imqJMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000, imqConnectionURL=http://localhost/imq/tunnel, imqBrokerServiceName=, imqJMSPriority=4, imqBrokerHostName=localhost, imqJMSExpiration=0, imqAckOnProduce=, imqEnableSharedClientID=false, imqAckTimeout=0, imqAckOnAcknowledge=, imqConsumerFlowThreshold=50, imqDefaultPassword=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=guest, imqReconnectEnabled=false, imqConnectionFlowCount=100, imqAddressListBehavior=PRIORITY, imqReconnectAttempts=3, imqSetJMSXAppID=false, imqConnectionHandler=com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqSetJMSXRcvTimestamp=false, imqBrokerServicePort=0, imqDisableSetClientID=false, imqSetJMSXConsumerTXID=false, imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676, imqQueueBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false, imqSSLIsHostTrusted=false, imqConnectionFlowLimitEnabled=false, imqReconnectInterval=5000, imqAddressList=mq://FarhanJan:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}
Jan 5, 2007 6:09:39 PM com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMSRA Started
Jan 5, 2007 6:09:43 PM com.sun.messaging.jms.ra.ManagedConnectionFactory setPassword
INFO: MQJMSRA_MF1101: setPassword:NOT setting default value
Jan 5, 2007 6:09:43 PM com.sun.messaging.jms.ra.ManagedConnectionFactory setAddressList
INFO: MQJMSRA_MF1101: setAddressList:NOT setting default value=localhost
Jan 5, 2007 6:09:43 PM com.sun.messaging.jms.ra.ManagedConnectionFactory setUserName
INFO: MQJMSRA_MF1101: setUserName:NOT setting default value=guest
Jan 5, 2007 6:09:45 PM com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl obtainManagedConnectionFactory
SEVERE: mcf_add_toregistry_failed
Jan 5, 2007 6:09:45 PM com.sun.enterprise.naming.SerialContext lookup
SEVERE: NAM0004: Exception during name lookup : {0}
com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to register MCF in registry
Your Help will be highly appreciated. -
How to send message from Message Driven Bean to JMS client?
In my project I have JMS client, two QueueConnectionFactory and Message Driven Bean. Client send message to MDB through the first QueueConnectionFactory , in one's turn MDB send message to client through the second Queue Connection Factory . I already config my Sun AppServer for sending message in one way, and sending message from MDB to the second QueueConnectionFactory. But on my Client there is an error : �JNDI lookup failed: javax.naming.NameNotFoundException: No object bound to name java:comp/env/jms/MyQueue2� (jms/MyQueue2 � this is the name of my Queue). So it couldn't get this message.
P.S.
Thank you for help!!!What is the name of the second queue?is the connection factory on the local?Yes the connection factory is on the local. The name of my first queue is jms/MYQueue and the name of another one is jms/MyQueue2.
-
MDNSResponder error: no afp connections from OS X client
Hi,
I have a 10.4.10 client that cannot print or use afp connections. When trying to print I´ll get "Print error"-message, and when trying to connect to afp server system just waits and waits.
System.log gives an error:
"mDNSResponder: 16: FoundInstance: ftp.tcp.local. PTR . received from network is not valid DNS-SD service pointer"
Any idea where the problem might be?
I have tried cache cleaning, log cleaning, repairing permissions, and so on.This is also being disucssed somewhere else https://discussions.apple.com/thread/5486117. I have the same problem, sorry i can't help.
-
Connect as sysdba from network(client)
when i connect to oracle database on network (client)
as sysdba then it will gives error
but when same command is issue on server then it will connect to oracle with no error
:-on network machine
SQL> CONNECT SYS/CHANGE_ON_INSTALL@SAFEDB AS SYSDBA
ERROR:
ORA-01031: insufficient privileges
Warning: You are no longer connected to ORACLE.
init.ora file
remote_login_passwordfile EXCLUSIVE
and
SQL> select * from V_$PWFILE_USERS ;
USERNAME SYSDB SYSOP
INTERNAL TRUE TRUE
SYS TRUE TRUE
whats the problem??recreate your passwordfile in order to ensure that it is not shared and try.
Joel P�rez -
JMS getObject() Error deserializing object for client
I am using WL6.1 and having a problem deserializing an object for a
client that doesn't have access to the corresponding implementation
object in its CLASSPATH (it only deals with the interface). From
previous posts, I read that upgrading to SP3 would fix this issue, but
I am still having this problem on both Solaris and Windows using SP3.
If I modify the client CLASSPATH to include the Server-side JAR file
that contains the implementation class, I don't have the problem and I
can successfully perform getObject() and deserialize the object. The
following is the code for the client:
public void onMessage(Message msg)
String msgText;
if(msg instanceof ObjectMessage)
try
ObjectMessage objMsg = (ObjectMessage) msg;
ActivityCreationEvent msgEvent =
(ActivityCreationEvent) objMsg.getObject();
System.out.println("Got a creation event");
catch(Exception ex)
System.out.println("Error getting JMS message:" + ex);
ex.printStackTrace();
the following is the code for the server:
objMsg = tSess.createObjectMessage(null);
ActivityCreationEvent createEvent=new ActivityCreationEventImpl();
objMsg.setObject(createEvent);
tPublisher.publish(objMsg);
and the following is the client stack trace:
Error getting JMS message:weblogic.jms.common.JMSException: Error
deserializing object
weblogic.jms.common.JMSException: Error deserializing object
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:141)
at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.Kernel.execute(Kernel.java:257)
at weblogic.kernel.Kernel.execute(Kernel.java:269)
----------- Linked Exception -----------
at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.ClassNotFoundException:
com.test.activity.ri.ActivityCreationEventImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at weblogic.jms.common.ObjectMessageImpl$ObjectInputStream2.resolveClass(ObjectMessageImpl.java:277)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:913)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:127)
at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.Kernel.execute(Kernel.java:257)
at weblogic.kernel.Kernel.execute(Kernel.java:269)
at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
The client doesn't need to have access to the implementation class for
any other aspect of the code, and I would like to keep it that way.
Does anyone have information as to the cause of the problem and a
solution?
Thanks in advance
Hi James,
Just having the interface is not sufficient, as the JVM must be able to
find the implementation class of an object in order to unserialize it - this is not a WebLogic
thing, it is a java thing. Either package the required class in the .ear that contains
the MDB or put it in your classpath.
Tom
James J wrote:
> I am using WL6.1 and having a problem deserializing an object for a
> client that doesn't have access to the corresponding implementation
> object in its CLASSPATH (it only deals with the interface). From
> previous posts, I read that upgrading to SP3 would fix this issue, but
> I am still having this problem on both Solaris and Windows using SP3.
> If I modify the client CLASSPATH to include the Server-side JAR file
> that contains the implementation class, I don't have the problem and I
> can successfully perform getObject() and deserialize the object. The
> following is the code for the client:
>
> public void onMessage(Message msg)
> {
> String msgText;
>
> if(msg instanceof ObjectMessage)
> {
> try
> {
> ObjectMessage objMsg = (ObjectMessage) msg;
> ActivityCreationEvent msgEvent =
> (ActivityCreationEvent) objMsg.getObject();
> System.out.println("Got a creation event");
> }
> catch(Exception ex)
> {
> System.out.println("Error getting JMS message:" + ex);
> ex.printStackTrace();
> }
> }
> }
>
> the following is the code for the server:
>
> objMsg = tSess.createObjectMessage(null);
> ActivityCreationEvent createEvent=new ActivityCreationEventImpl();
> objMsg.setObject(createEvent);
> tPublisher.publish(objMsg);
>
> and the following is the client stack trace:
>
> Error getting JMS message:weblogic.jms.common.JMSException: Error
> deserializing object
> weblogic.jms.common.JMSException: Error deserializing object
> at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:141)
> at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
> at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
> at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.Kernel.execute(Kernel.java:257)
> at weblogic.kernel.Kernel.execute(Kernel.java:269)
> ----------- Linked Exception -----------
> at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
> at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
> at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
> at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
> Source)
> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> java.lang.ClassNotFoundException:
> com.test.activity.ri.ActivityCreationEventImpl
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at weblogic.jms.common.ObjectMessageImpl$ObjectInputStream2.resolveClass(ObjectMessageImpl.java:277)
> at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:913)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
> at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.java:127)
> at com.test.producer.tck.CreateProducerByValue.onMessage(CreateProducerByValue.java:566)
> at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1865)
> at weblogic.jms.client.JMSSession.execute(JMSSession.java:1819)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.Kernel.execute(Kernel.java:257)
> at weblogic.kernel.Kernel.execute(Kernel.java:269)
> at weblogic.jms.client.JMSSession.pushMessage(JMSSession.java:1733)
> at weblogic.jms.client.JMSSession.invoke(JMSSession.java:2075)
> at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:510)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:149)
> at weblogic.jms.dispatcher.DispatcherImpl.dispatchOneWay(DispatcherImpl.java:429)
> at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown
> Source)
> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
> The client doesn't need to have access to the implementation class for
> any other aspect of the code, and I would like to keep it that way.
> Does anyone have information as to the cause of the problem and a
> solution?
>
> Thanks in advance
-
How to lookup EJBs deployed in OC4J from a standalone client application
Hello all,
I am trying to lookup an EJB deployed in OC4J 10.1.3 from a standalone client application using the following code:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
env.put(Context.SECURITY_PRINCIPAL, "jazn.com/test");
env.put(Context.SECURITY_CREDENTIALS, "test");
Context context = new InitialContext(env);
Object ref = context.lookup("ejb/Dispatch");
I get the following error:
javax.naming.NameNotFoundException: ejb/Dispatch not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
For the lookup string I've also tried:
"java:comp/env/ejb/Dispatch" and "Dispatch"
For the Context.PROVIDER_URL property I've also tried:
opmn:ormi://localhost:6003:instance
The result is always the same.
I appreciate if someone could help me with this?
Thanks,
GeorgiGeorgi,
Your question has been discussed many times on this forum. Search the forum archives for "RMIInitialContextFactory".
The PROVIDER_URL needs to include the name of the deployed application that your EJB is part of, for example:
env.put(Context.PROVIDER_URL, "ormi://localhost:23791/MyApp");The lookup name has to be the value of the "ejb-name" element in your "ejb-jar.xml" descriptor file.
Your SECURITY_PRINCIPAL value looks strange to me. Personally, I use "principals" (and not JAZN), so I modified the "application.xml" file (in the "j2ee/home/config" subdirectory) to use "principals". Look for the following comment in that file:
<!-- Comment out the jazn element to use principals.
When both jazn and principals are present jazn is used -->Good Luck,
Avi.
Message was edited by:
Avi Abrami -
Unattend Hit an error while pulling drivers from Network Share
Hi All,
I've run into an error with installing apps from network share via SynchronousCommands under Specialize pass in unattended answer file. I been trying to work on it since yesterday and haven't had any success so far. It keeps failing with an error below.
This error is from setupact.log file and I've just pasted only the error from the file .
synchronously
2014-09-27 06:31:20, Info [SETUPUGC.EXE] Process returned with exit code 0x0
2014-09-27 06:31:45, Error [SETUPUGC.EXE] Hit an error (hr = 0x80070056) while running [\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe
/s ]
2014-09-27 06:31:45, Info [0x090009] PANTHR CBlackboard::Close: c:\windows\panther\commandexec\commandexec.
2014-09-27 06:31:45, Info [SETUPUGC.EXE] SetupUGC returning with exit code [4]
This error is from setuperr.log.
2014-09-27 06:31:45, Error [SETUPUGC.EXE] Hit an error (hr = 0x80070056) while running [\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe
/s ]
Let me explain this situation. I've a server named WDS-DEP-SERV which is running my WDS, DHCP and DNS. I've an E drive on this server which contains setup64.exe and I'm trying to have the client pull that .exe via unattend answer file and install it either
during Specialize pass under windows deployment services via Synchronoouscommands or under OOBE pass under Windows Shell setup via FirstLogoncommands ---> Synchronouscommands, but it's not working. I believe that my path format for network share is wrong.
I've searched online almost everywhere since yesterday but I couldn't find anything.
Can anyone please let me know what's the right way of go about doing it? This is the only thing that's not working for me. Below is my answer file, in case someone needs to see what I'm doing wrong.
Thanks and hope to hear from someone.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>WIN-8-DEPL</ComputerName>
<ProductKey>MHF9N-XY6XB-WVXMC-BTDCT-MKKG7</ProductKey>
<RegisteredOrganization>Microsoft</RegisteredOrganization>
<RegisteredOwner>AutoBVT</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
<CopyProfile>true</CopyProfile>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:no</Path>
<Description>Enabling Built in Administrator Account</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>DisableNetworkLocationPrompt</Description>
<Order>2</Order>
<Path>REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category
/t REG_DWORD /d 00000000 /f</Path>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>REG ADD "HKLM\System\CurrentControlSet\Services\Tcpip6\parameters" /v DisabledComponents /t REG_DWORD /d 0xFF /f</Path>
<Order>4</Order>
<Description>Diasbling IPV6</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Credentials>
<Domain>Mikasa.local</Domain>
<Password>Administrator</Password>
<Username>Ghtwhts2015</Username>
</Credentials>
<Path>\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe /s </Path>
<Description>Vmware Tool Installation</Description>
<Order>3</Order>
<WillReboot>Always</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeKey>Google</ScopeKey>
<SuggestionsURL>http://www.google.com/search?q={search Terms}</SuggestionsURL>
<ShowSearchSuggestions>true</ShowSearchSuggestions>
<ShowTopResult>true</ShowTopResult>
</Scope>
</SearchScopes>
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<Home_Page>www.marca.com</Home_Page>
<BlockPopups>yes</BlockPopups>
</component>
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirewallGroups>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">
<Active>true</Active>
<Group>Remote Desktop</Group>
<Profile>all</Profile>
</FirewallGroup>
</FirewallGroups>
</component>
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAuthentication>0</UserAuthentication>
<SecurityLayer>1</SecurityLayer>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-TCPIP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Interfaces>
<Interface wcm:action="add">
<Identifier>00-50-56-30-85-87</Identifier>
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
<Metric>10</Metric>
<RouterDiscoveryEnabled>false</RouterDiscoveryEnabled>
</Ipv4Settings>
<UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">172.16.5.21/24</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action="add">
<Identifier>0</Identifier>
<Prefix>0.0.0.0/0</Prefix>
<Metric>10</Metric>
<NextHopAddress>172.16.5.1</NextHopAddress>
</Route>
</Routes>
</Interface>
</Interfaces>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>10</LogonCount>
<Username>DarkKnight</Username>
<Domain></Domain>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Admin User Account</Description>
<DisplayName>Omar</DisplayName>
<Group>Administrators</Group>
<Name>Omar</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Mikasa</RegisteredOrganization>
<RegisteredOwner>Mikasa</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<UILanguageFallback></UILanguageFallback>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/windows-os-images/win8.1x86ent-wimfiles/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>Hi,
Thanks for replying with your input. I'll go over that and make changes. Can you please help me out with the following as I can't figure this out why my script on the network share run and execute during unattend install?
My script on my network share failed to run during unattend install right before the first login.
Can someone take a look at my unattend xml file
and suggest me a solution? I've highlighted the script paramters in bold. I've also attached my error message with this. Please check it out and make some suggestions. Thanks
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>WIN-8-DEPL</ComputerName>
<ProductKey>MHF9N-XY6XB-WVXMC-BTDCT-MKKG7</ProductKey>
<RegisteredOrganization>Microsoft</RegisteredOrganization>
<RegisteredOwner>Microsoft</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
<CopyProfile>true</CopyProfile>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:no</Path>
<Description>Enabling Built in Administrator Account</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>DisableNetworkLocationPrompt</Description>
<Order>2</Order>
<Path>REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork"
/v Category /t REG_DWORD /d
00000000 /f</Path>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>REG ADD HKLM\System\CurrentControlSet\Services\Tcpip6\parameters /v
DisabledComponents /t REG_DWORD
/d 0xFF /f</Path>
<Order>3</Order>
<Description>Diasbling IPV6</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Credentials>
<Domain>Mikasa.local</Domain>
<Password>Ghtwhts2015</Password>
<Username>Administrator</Username>
</Credentials>
<Path>\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe /s
/v "/qn REBOOT=ReallySuppress" /l C:\Windows\Temp\vmware_tools_install.log</Path>
<Order>4</Order>
<Description>Vmware
Tools Installation</Description>
<WillReboot>Always</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<Home_Page>www.marca.com</Home_Page>
<BlockPopups>yes</BlockPopups>
</component>
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FirewallGroups>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">
<Active>true</Active>
<Group>Remote Desktop</Group>
<Profile>all</Profile>
</FirewallGroup>
</FirewallGroups>
</component>
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAuthentication>0</UserAuthentication>
<SecurityLayer>1</SecurityLayer>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>10</LogonCount>
<Username>DarkKnight</Username>
<Domain></Domain>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Admin
User Account</Description>
<DisplayName>DarkKnight</DisplayName>
<Group>Administrators</Group>
<Name>DarkKnight</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Mikasa</RegisteredOrganization>
<RegisteredOwner>Mikasa</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>eastern standard time</TimeZone>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /C start
/wait E:\RemoteInstall\Images\Windows8\install\$OEM$\$$\Setup\Scripts\SetupComplete.cmd</CommandLine>
<Description>Various Apps Installation</Description>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
<UILanguageFallback></UILanguageFallback>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/windows-os-images/win8.1x86ent-wimfiles/install.wim#Windows
8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> -
ORA-12541: TNS:no listener error from client mechine
We have oracle 11g server from onsite and I am trying to connect from offshore client.But I am getting error
From SQL plus i am getting the error,
ORA-12541: TNS:no listener
and from SQL Developer I am getting the error,
IO Error:The network adapter could not establish the connection
I am able to Telnet the host with proper port.Onsite peoples able to connect the database from any client using the same TNS names configration I am using.
What are the possibilities to get this errors ?
Please guide me on this.sadasivam wrote:
Hi
Thanks for reply.I checked with onsite DBA for listener and it is up.If you have an on-site DBA why aren't you working with him to solve the problem?
Since you assert that other client machines are able to connect to the database, the issue must be with your own setup. I strongly suspect your tnsnames has a bad entry. Please compare it to the same file from a working client. Also, show us the contents of your tnsnames.ora file.
>
I dont have access of disable the firewall in my clent mechine.I will get it done by network team and post you the status. -
JNDI location error from remote client
Hi,
I got the following error when I'm trying to access an EJB from a remote client.Could anybody help me to identify the error?
John
Caught an unexpected exception!
javax.naming.NoInitialContextException: Need to specify class name in environmen
t or system property, or as an applet parameter, or in an application resource f
ile: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at xyz.pqr.client.TestClient.main(TestClient.java:43)Hi 392415,
It looks like you haven't specified the INITIAL_CONTEXT_FACTORY property -- the name of the class that creates the "java.naming.InitialContext" class.
Perhaps you would care to show the entire error message and stack trace, as well as the part of your code that is causing the error, and perhaps a few details about your environment.
Then I might be able to help you some more.
Good Luck,
Avi.
Maybe you are looking for
-
Computer's can connect to wireless but I can't connect with e-book and i-pod
I have a wrt54g I can connect with 3 laptops and 1 desktop but my ebook and ipod connects once and a blue moon please help
-
Exchange Applications between differents repositories
Hi everybody! I'm doing a test with Designer 9.0.2.95.8. I'm trying to work in one environment, builting diagrams and others, and after that export the work to other environment that means other DB with other repository instance, but it's not working
-
hi, how do we print the check at a later date after we have cleared the invoice via manual outgoing payments. is there a transaction code to print the check by specifying the payment document number. thanks.
-
My ipod crashed or skips when playing certain songs
Whenever I use itunes I can play all of my songs, however when I use my ipod nano 5th generation I am unable to play certain songs. When I try to play these songs my ipod either skips over the song or crashes. Both my ipod and itunes are up to date.
-
Trainings for Mobile 7.1
Hi, NetWeaver Mobile 7.1 is generally available since a few days now. When will it be possible to book a training (perhaps delta-training?) for the new technology? Thanks and kind regards, Norbert