Over the past few days, some of our readers have informed us that the weblogic.security.acl.userinfo class was not found.
Approved: Fortect
posted 12 years ago
-
Number of chunks sent:
Optional: thanks:
I came to Weblogic JMS. I am trying all the examples (bea wlserver_10.3 samples server examples src examples jms queue) provided by the weblogic server on the master server, ‘t3: // localhost: 7001’ works fine,. But when I try to connect from another machine to weblogic JMS, there is a problem, parameter t3: // ServerIP: 7001. After that, it raises as an exception.
Exception on thread “main” java.lang.Weblogic / security / acl / UserInfo
noclassdeffounderror: found in weblogic.jndi.WLInitialContextFactory.getInitialContext (WLInitialContextFactory.java:117)
at javax.naming. spi .NamingManager.getInitialContext (NamingManager.java:667)
with javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:247)
at javax.naming.InitialContext.init (InitialContext.java:223) < > in javax.naming.InitialContext.
next to example.jms.queue.MviQueueSend.getInitialContext (MviQueueSend.java: 122)
in example.jms. queue.MviQueueSend. main (MviQueueSend.java:89)
posted 12 years ago
-
Number of fragments to send:
Optional: thanks:
posted 12 years ago
-
Amount of materials sent:
Optional: thanks:
“stanic”, thanks for checking your private messages with an important admin A tragic question.
Message From stanic: Are you just not answering?
Please use relevant words and phrases when posting on forums. Abbreviations such as “y” appended to “why” are only used to make additional information in your posts difficult to read and less likely to generate useful responses12.
Published a few years ago
-
Number of fragments to send:
Optional: thanks:
I need to add their wlfullclient.jar to the specific classpath wlfullclient.jar, which usually needs to be created manually on the server.
If you want to be sure, follow the link below.
http://forums.oracle.com/forums/thread.jspa?messageID=2830000
posted 8 years ago
-
Number of fragments to send:
Optional: thanks:
“stanic”, my request to change the display name exactly to the JavaRanch market standards was not a suggestion. To participate in the woundsCho requires valid display names. Change the display of your domain name as indicated before the next post.
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
Note that invalid display names for businesses have been disabled.
I understand that we are projecting this selection into the jms queue and adding good news. class
public QueueSend // Define the JNDI context factory. public static end string JNDI_FACTORY = "weblogic.jndi.WLInitialContextFactory"; // Define the jms context factory. Shared public static final String JMS_FACTORY = "jms / MyConnectionFactory"; // Determine the part of the queue. Public final static QUEUE = "jms / MyTestQueue"; most closed line QueueConnectionFactory qconFactory; private QueueConnection-qcon; private qsession QueueSession; private qsender QueueSender; private queue; personal SMS message; / ** * Craft all the required items to ship 3. Messages to the JMS queue. * * @param ctx JNDI is really contextual * @param queueName The name in the queue * @Exception NamingException if the operation cannot be performed * @Exception JMSException if JMS cannot be initialized due to internal error * / public initialVoid (Context ctx, String queueName) NamingException, punches a JMSException qconFactory means (QueueConnectionFactory) ctx.lookup (JMS_FACTORY); qcon corresponds to qconFactory.createQueueConnection (); corresponds to qsession qcon.createQueueSession (false, Session.AUTO_ACKNOWLEDGE); = String (queue) ctx.lookup (filename); qsender matches qsession.createSender (queue); Msg corresponds to qsession.createTextMessage (); qcon.start (); / ** (empty) Sends a message to the JMS queue. * * @ param-message You have received a message to send (Space) @Exception JMSException when JMS cannot move message due to internal error * / many void (string message) throws throw JMSException msg.setText (message); qsender.send (message); / ** * Close JMS objects. * @Exception JMSException when JMS cannot close objects due to an inherent error * / public void close () covers JMS exception qsender.close (); qsession.close (); qcon.close (); / ** main method (). * * Server web logic url @param args * @Exception Exception, regardless of whether the operation completed * / public static nullify main (String [] args) throws an exception Context ic = getInitialContext ("t3: // localhost: 7001"); QueueSend qs = new QueueSend (); qs.init (ic, QUEUE); readAndSend (qs); qs.close (); cancellation of personal concern qs) readAndSend (QueueSendbrings IOException, JMSException qs.send ("cao"); System.out.println ("JMS message sent: ciao n"); Private static InitialContext getInitialContext (String-URL) Throws a naming exception Hashtable env = new Hashtable (); env.put (Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY); Env .put (Context.PROVIDER_URL, URL); create a new InitialContext (env);
"main" exception thread java.lang.NoClassDefFoundError: weblogic / security / service / PrivilegedActions im weblogic.jndi.WLSJNDIEnvironmentImpl. (WLSJNDIEnvironmentImpl.java:57) in java.lang.Class.forName0 (native method) at java.lang.Class.forName (Class.java:264) available at weblogic.jndi.internal.JNDIEnvironment.getJNDIEnvironment (JNDIEnvironment.java:37) In weblogic.jndi.Environment. (Environment.java:92) at weblogic.jndi.WLInitialContextFactory.getInitialContext (WLInitialContextFactory.java:117) Under javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:684) via javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java: 313) at javax.naming.InitialContext.init (InitialContext.java: 244) at javax.naming.InitialContext. (InitialContext.java:216) In test.QueueSend.getInitialContext (QueueSend.java:109) test.QueueSend.main (QueueSend.java:86)
I discovered with Google that PrivilegedActions in weblogic the.security.service (weblogic-api.jar; I still include it in my project, internally it doesn’t have this class), although this is true for most version 12.1. 3?
Speed up your computer's performance now with this simple download.