JMS Listener Class Not found
Hi
I got the following error when starting weblogic 8.1 server:
####<Jul 14, 2004 5:24:15 PM PDT> <Notice> <Security> <sjcpc044> <myserver> <Thread-1> <<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>
####<Jul 14, 2004 5:24:15 PM PDT> <Notice> <WebLogicServer> <sjcpc044> <myserver> <Thread-1> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver" for domain "cdrdomain">
####<Jul 14, 2004 5:24:20 PM PDT> <Error> <JMS> <sjcpc044> <myserver> <Thread-1> <<WLS Kernel>> <> <BEA-040371> <JMSServer "JMSServer-0" JMS Server Session Pool is inavlid and has not been started "CMSessionPool". Exception is "weblogic.jms.common.ConfigurationException: Listener class, com.carescience.jms.CMMsgListener, not found".
weblogic.jms.common.ConfigurationException: Listener class, com.carescience.jms.CMMsgListener, not found
at weblogic.jms.backend.BEServerSessionPool.setListener(Ljava.lang.String;)V(BEServerSessionPool.java:283)
at weblogic.jms.backend.BEServerSessionPool.initialize()V(BEServerSessionPool.java:220)
at weblogic.jms.backend.BEServerSessionPool.<init>(Ljava.lang.String;Lweblogic.jms.common.JMSID;Lweblogic.jms.backend.BackEnd;Lweblogic.management.configuration.JMSSessionPoolMBean;)V(BEServerSessionPool.java:178)
at weblogic.jms.backend.BackEnd.createServerSessionPools()V(BackEnd.java:792)
at weblogic.jms.backend.BackEnd.resume()V(BackEnd.java:1314)
at weblogic.jms.JMSService.addJMSServer(Lweblogic.management.configuration.JMSServerMBean;)V(JMSService.java:2241)
at weblogic.jms.JMSService.addDeployment(Lweblogic.management.configuration.DeploymentMBean;)V(JMSService.java:2012)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Lweblogic.management.configuration.DeploymentMBean;)Z(DeploymentTarget.java:330)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Ljava.util.List;)V(DeploymentTarget.java:590)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments()V(DeploymentTarget.java:568)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments()V(DeploymentTarget.java:240)
at COM.jrockit.reflect.NativeMethodInvoker.invoke0(ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Native Method)
at COM.jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at COM.jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(DynamicMBeanImpl.java:690)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(ConfigurationMBeanImpl.java:476)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.MBeanProxy.invoke(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments()V(ServerMBean_Stub.java:7271)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments()V(SlaveDeployer.java:1210)
at weblogic.management.deploy.slave.SlaveDeployer.resume()V(SlaveDeployer.java:362)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume()V(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume()V(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String;)I(T3Srvr.java:359)
at weblogic.Server.main([Ljava.lang.String;)V(Server.java:32)
>
Here is the how the ListenerClass is set up for JMSSessionPool in config.xml. The com.carescience.jms.CMMsgListener class file is in cia.ear deployed as application for this domain.
<JMSServer Name="JMSServer-0" Store="jmsq" Targets="myserver">
<JMSSessionPool
ConnectionFactory="com.carescience.jms.ConnectionFactory"
ListenerClass="com.carescience.jms.CMMsgListener"
Name="CMSessionPool" SessionsMaximum="3">
<JMSConnectionConsumer
Destination="com.carescience.jms.CMTopic" Name="CMConnectionConsumer"/>
</JMSSessionPool>
<JMSTopic DestinationKeys="MDSDESTKEY"
JNDIName="com.carescience.jms.CMTopic" Name="CMTopic"/>
</JMSServer>
<Application Name="_appsdir_cia_ear"
Path="C:\bea81\user_projects\domains\cdrdomain\applications\cia.ear"
StagedTargets="myserver" StagingMode="stage" TwoPhase="true">
<EJBComponent Name="ejb_exchange.jar" Targets="myserver" URI="ejb_exchange.jar"/>
<EJBComponent Name="heartbeat.jar" Targets="myserver" URI="heartbeat.jar"/>
<WebAppComponent Name="cia" Targets="myserver" URI="cia.war"/>
<WebAppComponent Name="axis" Targets="myserver" URI="axis.war"/>
</Application>
I know we can avoid to the error by adding the jar file containing this class to the class path. But is there any other way?
Best Regards,
Kelvin Zheng
You could double-check in the JMS newsgroup, but I'm pretty sure that a statically configured listener like this would have to be in the classpath.
If possible, I'd encourage you to consider using a MDB instead. That could be in your EAR file instead.
-- Rob
Similar Messages
-
Listener class not found which is declared in the Connector project.
Hi friends,
I have a problem, I have created a new J2ee connector project in eclipse
and created the classes listener,activatioinspec,resource adapter and worker with the name JCA1. I have created another Message driven bean project with name MDB1.Since iam using EJB2.1, I have not implemented MessageListener instead of that i have implemented the
listener class which is created in the JCA1 Connector project.In the MDB class i have imported that listener class implemented.
Iam using application server Jonas, i have declared in ra.xml message listener type, In the MDB1 ejbs ejb-jar also declared messaging type.
While deploying the MDB1 jonas log says the class listener declared in the JCA1 not found , can any one suggest what is the problem ??, Listerner class is declared in JCA1 Connector.
Thanks
RafelDid you read the tutorial from Creator?
David
http://www.pricerunner.com/forum/viewtopic.php?t=1659 -
Chainsaw 1.3 error on socket listening (class not found exception)
Hi,
I'm not sure that's the right place to post on this subject, but I can't find a better place on forum's topics.
So I've got following problem :
I'm using chainsaw 1.3 with java web start. Before september, it was working very well.
I'm using a log4j.properties, and that the sample for socket appender :
log4j.appender.socket=org.apache.log4j.net.SocketAppender
log4j.appender.socket.remoteHost=localhost
log4j.appender.socket.port=4445
log4j.appender.socket.locationInfo=true
Few days ago, chainsaw has updated itself and since I got everytime this lone and pretty ugly message on chainsaw :
Level
ERROR
Logger
org.apache.log4j.net.SocketNode
Properties
{{log4jid,1}}
Throwable
java.lang.ClassNotFoundException: org.apache.log4j.spi.LocationInfo
at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.io.ObjectInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at org.apache.log4j.spi.LoggingEvent.readObject(LoggingEvent.java:848)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.apache.log4j.net.SocketNode.run(SocketNode.java:134)
at java.lang.Thread.run(Unknown Source)
My console and file appenders are still working on, but I'm not very comfortable to read them (they are pretty messy!)
So if somebody could help me to fix that, or even give me advice to set up another kind of receiver, I will thanx him a lot. (I am figthing with log4j xml setup file, but I can't figure how to set up something working with chainsaw...)
ByeI'm one of the Chainsaw developers...
LocationInfo is temporarily broken. In the meantime, there are two workarounds:
This workaround won't give you locationInfo in Chainsaw but will load the events:
1. Set the socketappender as the first appender in the list in the log4j.properties file - example:
log4j.rootLogger=debug, stdout, Socket, Rollingfile
reason this works: socketappender defaults to locationinfo=false, and rollingfile was using %L pattern (locationinfo), which modifies the logging event that is sent over the socket. Send the event over the socket prior to using the %L locationinfo pattern in the fileappender.
This workaround will give you location info in Chainsaw:
2. Don't use a socketappender-instead, have Chainsaw parse and 'tail' the file using logFilePatternReceiver.
As long as the location info pattern is part of your pattern layout in your file appender config, Chainsaw will display the location info (location info isn't being serialized in this case).
Here's an example logFilePatternReceiver config for use with Chainsaw (modify the param values based on your fileappender config):
<plugin name="logFileReceiver" class="org.apache.log4j.varia.LogFilePatternReceiver">
<param name="fileURL" value="file:///c:/downloads/log4j/sample.log" />
<param name="timestampFormat" value="yyyyMMddHHmmssSSS"/>
<param name="logFormat" value="TIMESTAMP LEVEL(FILE:LINE)#CLASS,LOGGER THREAD!MESSAGE"/>
<param name="name" value="logfileReceiver" />
<param name="tailing" value="true" />
</plugin>
Here's the source/javadoc for logFilePatternReceiver describing the params and keywords supported when defining the logFormat:
http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/varia/LogFilePatternReceiver.java?rev=1.19&view=auto
Feel free to email questions to the log4j-user mailing list: http://logging.apache.org/site/mailing-lists.html
Scott
[email protected] -
I'm using OC4J 9.0.2.1 and JDeveloper 9.0.2 with Oracle db. I have a set of queues created in the database.
Before I try to send my request, I create an instance of the serializable object I want to send. I do all of my queue connection setup, then I call:
queueSession.createObjectMessage(request);
Where "queueSession" is a QueueSession obtained from "queueConnection.createQueueSession()".
When I step over this function call, I get the following:
oracle.jms.AQjmsException: JMS-109: Class not found: com.attws.it.bsa.felix.mci.common.ServiceInfoRequest
(The indicated class name is the type of the "request" object.)
What could I be doing wrong?The code below creates the following classes when I compile it (using jsk1.3):
DistanceBarApplication2.class
DistanceBarApplication2$1
DistanceBarApplication2$2
DistanceBarApplication2$3
DistanceBarApplication2$DistanceBar2
The error I receive is: load: class DistanceBarApplication2 not found
Here is my HTML code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<applet code="DistanceBarApplication2.class" width=300 height=50>
</applet>
</BODY>
</HTML>
Here is the Java code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class DistanceBarApplication2 extends JApplet {
private final DistanceBar2 bar = new DistanceBar2();
public void init() {
bar.setMaximum(100);
bar.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
bar.stop();
JOptionPane.showMessageDialog(bar, bar.getValue() + " yards");
bar.start();
this.getContentPane().add(bar);
bar.start();
static class DistanceBar2 extends JProgressBar {
private Thread mThread;
private boolean mRunning= false;
private int mValue = 0;
private boolean mUp = true;
private Runnable updater = new Runnable() {
public void run() {
setValue(mValue);
public void start() {
if (mRunning) {
return;
mRunning = true;
mThread = new Thread(new Runnable() {
public void run() {
while (mRunning) {
try {
Thread.sleep(30);
} catch (InterruptedException e) { }
adjust();
mThread.setDaemon(true);
mThread.start();
public void stop() {
mRunning= false;
// Best to let a thread run itself out
// if (mThread != null)
// mThread.interrupt();
// Don't need this for this applet, but possibly later
// public Dimension getPreferredSize() {
// return new Dimension(300,70);
private void adjust() {
int delta = getMaximum() / 40;
mValue += delta * (mUp ? 1 : -1);
if (mValue >= getMaximum()) {
mValue = getMaximum();
mUp = false;
} else if (mValue <= 0) {
mValue = 0;
mUp = true;
SwingUtilities.invokeLater(updater); -
OEP 12.1.3
Following the instructions in 4 Adapters (12c Release 1 (12.1.3)) I have created a custom message converter bean for my Outbound JMS Adapter (I had to add the JAR file com.bea.wlevs.adapters.jms_12.1.3.0_0.jar from OEP_HOME\oep\modules to my project to make the code compile). However, upon deployment, I ran into a class not found exception:
<Sep 15, 2014 7:17:19 PM CEST> <Error> <org.springframework.osgi.extender.internal.activator.ContextLoaderListener> <BEA-000000> <Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=CreditCardTheftDetection.AirportCreditCardTransactionProcessing, config=osgibundle:/META-INF/spring/*.xml))
java.lang.NoClassDefFoundError: saibot.airport.security.prevention.jms.SuspectedCreditCardEventConverter not found from bundle [CreditCardTheftDetection.AirportCreditCardTransactionProcessing (CreditCardTheftDetection.AirportCreditCardTransactionProcessing)]
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:112)
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
Caused By: java.lang.NoClassDefFoundError: com/bea/wlevs/adapters/jms/api/OutboundMessageConverter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
Caused By: java.lang.ClassNotFoundException: com.bea.wlevs.adapters.jms.api.OutboundMessageConverter
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
I have tried adding the JAR file (com.bea.wlevs.adapters.jms_12.1.3.0_0.jar) to my deployment JAR. That did not make any difference.
Does anyone know why this class OutboundMessageConverter is not found - and more importantly: what I can do to make it available in the run time?
thanks.
LucasTo make a package available to your application at runtime for OEP, you will need to add it to the application's MANIFEST.MF file to the Import Package section (since the OEP server is OSGi-based). There's no need to supply a version number, you can just enter the package name (e.g.)
com.bea.wlevs.adapters.jms.api, -
Class not found with jms cache sync
hi. when i try to use the remote command manager in my live environment only i get a class not found exception for my initial context factory. using a debugger i discovered this is actually hiding a linkage error. so i confirmed that my resin and java versions and all my jars are the same between live and stage, where this works no problem. but still doesn't work in production. any ideas what else i should look at? here's a stack trace
Exception [TOPLINK-22101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.RemoteCommandManagerException
Exception Description: Could not obtain JNDI context with properties {java.naming.provider.url=tcp://10.10.6.73:3035, java.naming.factory.initial=org.exolab.jms.jndi.InitialContextFactory , java.naming.security.principal=tcp://10.10.6.73:3035, dedicated.connection=true, java.naming.security.credentials=tcp://10.10.6.73:3035}
Internal Exception: javax.naming.NoInitialContextException: Cannot instantiate class: org.exolab.jms.jndi.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.exolab.jms.jndi.InitialContextFactory ]
at oracle.toplink.exceptions.RemoteCommandManagerException.errorObtainingContext(RemoteCommandManagerException.java:42)
at oracle.toplink.remotecommand.TransportManager.getContext(TransportManager.java:194)
at oracle.toplink.remotecommand.TransportManager.getRemoteHostContext(TransportManager.java:385)
at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.getRemoteHostContext(JMSTopicTransportManager.java:270)
at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.getTopicConnectionFactory(JMSTopicTransportManager.java:204)
at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.createJMSTopicRemoteConnection(JMSTopicTransportManager.java:84)
at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.createLocalConnection(JMSTopicTransportManager.java:106)
at oracle.toplink.remotecommand.jms.JMSTopicDiscoveryManager.startDiscovery(JMSTopicDiscoveryManager.java:44)
at oracle.toplink.remotecommand.RemoteCommandManager.initialize(RemoteCommandManager.java:132)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:509)I would guess the problem is related to the application's class-loader visibility. Verify that your application can access the class org.exolab.jms.jndi.InitialContextFactory forio to launching the TopLink session. If it cannot then you may need to address the container's access to this library.
Doug -
Java.lang.class not found
Hi,
I configured scenario FILE TO JDBC, the sender channel is successful but in the receiving I am getting the error that java.lang.class not found.
In the receiver communication channel, I gave "com.microsoft.jdbc.sqlserverdriver".
what database connection parameters need to be given??
Thanks,
Satish.Whats your database ?
As Suresh said, did you deploy your JDBC driver ?
How to ?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to install and configure external drivers for jdbc and jms adapters.pdf
After configuring your communication channel, did you check the Adapter Monitor
XI SP > 09
http://<host>:5<sysnum>00/rwb -> Component Monitoring -> All Display -> Adapter Engine -> Adapter Monitor
XI SP <= 09
http://<host>:5<sysnum>00/AdapterFramework
Oracle Driver & Connection:
JDBC Driver: oracle.jdbc.driver.OracleDriver
Connection: jdbc:oracle:thin:@<hostname>:<port_umber>:<database_name>
SQL Server Driver & Connection:
JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection = jdbc:microsoft:sqlserver://hostname:1433;DatabaseName=<DBName>
regards
Shravan -
WL 7.0 SSL Class Not Found Startup Error
I'm having difficulty configuring the SSL port to listen to https requests. The error
that I always receive (regardless of which sample I maybe running, from the server
samples to the portal ones) is similar to the following (notice the "Not listening
for SSL, java.net.SocketException: Class not Found" error):
**** START OF CONSOLE LOG ****
<Jul 1, 2002 5:07:21 PM PDT> <Notice> <Management> <141052> <Application Poller
started for development server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Index running on this server. If your browser
fails to launch, point your browser to the URL
"http://JDavis-m1:7001/examplesWebApp/index.jsp"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Jul 1, 2002 5:07:22 PM PDT> <Emergency> <Security> <090034> <Not listening for
SSL, java.net.SocketException: Class not Found.>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000354> <Thread "ListenT
hread.Default" listening on port 7001>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <Management> <141030> <Starting discovery
of Managed Server... This feature is on by default, you may turn this off by pas
sing -Dweblogic.management.discover=false>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000331> <Started WebLogi
c Admin Server "examplesServer" for domain "examples" running in Development Mod
e>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000365> <Server state ch
anged to RUNNING>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000360> <Server started
in RUNNING mode>
**** END OF CONSOLE LOG ****
I haven't made any changes to the SSL setup, other than simply indicating I want
it active (if that choice is not already active)
I am just seeking to get the SSL using the test/demo certificate to function so that
I can complete a demo of the commerce product to a client (requires port 7502 to
function)
Thanks!
Jeff DavisNever mind....the problem had to do with my CLASSPATH....
jd
"Jeff Davis" <[email protected]> wrote:
>
I'm having difficulty configuring the SSL port to listen to https requests.
The error
that I always receive (regardless of which sample I maybe running, from
the server
samples to the portal ones) is similar to the following (notice the "Not
listening
for SSL, java.net.SocketException: Class not Found" error):
**** START OF CONSOLE LOG ****
<Jul 1, 2002 5:07:21 PM PDT> <Notice> <Management> <141052> <Application
Poller
started for development server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Index running on this server. If your browser
fails to launch, point your browser to the URL
"http://JDavis-m1:7001/examplesWebApp/index.jsp"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Jul 1, 2002 5:07:22 PM PDT> <Emergency> <Security> <090034> <Not listening
for
SSL, java.net.SocketException: Class not Found.>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000354> <Thread
"ListenT
hread.Default" listening on port 7001>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <Management> <141030> <Starting discovery
of Managed Server... This feature is on by default, you may turn this off
by pas
sing -Dweblogic.management.discover=false>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000331> <Started
WebLogi
c Admin Server "examplesServer" for domain "examples" running in Development
Mod
e>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000365> <Server
state ch
anged to RUNNING>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000360> <Server
started
in RUNNING mode>
**** END OF CONSOLE LOG ****
I haven't made any changes to the SSL setup, other than simply indicating
I want
it active (if that choice is not already active)
I am just seeking to get the SSL using the test/demo certificate to function
so that
I can complete a demo of the commerce product to a client (requires port
7502 to
function)
Thanks!
Jeff Davis -
Class not found...applet
Hi all,
I am trying to load applet from remote machine, the applet giving the Class not found even though the is proper path setting. It also giving the error..
open http connection failed...
Wating for reply.
Sandeep Kutwal.Hi,
First of all thanks to you for replying for my request.
I had tried the option given by u but it will not work at all on remote server ,it work without any error on my local tomcat (Linux Server) .
But sometimes it displays on remote server,showing random behaviour of showing, not showing. Is there any Security permission issue ? .
I am using winXP,JRE version 1.5.0_06 Java HotSpot(TM) Client VM.
It is giving error when i upload it to my remote server also path is correct .
Please reply me for this dought . The remote applet shows following errors on the applet java console .
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@15aee9
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@ca8327, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@ca8327
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Quiting applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@ca8327, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1103a97
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting h/NewsApplet.class with proxy=DIRECT
basic: WARNING: error reading http:cache.
network: Connecting with proxy=DIRECT
network: Connecting .....proxy=DIRECT
load: class NewsApplet.class not found.
java.lang.ClassNotFoundException: NewsApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException:
Message was edited by:
SandeepKutwal
Message was edited by:
SandeepKutwal -
WLS 7 SSL class not found error
Actually, I got the same error message to start the Node Manager. However, I don't
have the RSA license at this moment. How can it make the WL to use com.certicom.net.ssl.CerticomContextWrapper
instead of com.rsa.ssl.WeblogicContextWrapper?
Thanks,
Victor
"Pavel Smelkov" <[email protected]> wrote:
It looks like ClassNotFoundException happend when WLS tried to initialize
SSL implementation class, which is
com.certicom.net.ssl.CerticomContextWrapper by default, or
com.rsa.ssl.WeblogicContextWrapper if you have an RSA license. Since
Certicom classes are shipped in weblogic.jar, you must have RSA license,
but
no RSA SSL classes in the server classpath?
Pavel.
"Jeff Davis" <[email protected]> wrote in message
news:[email protected]...
I'm having difficulty configuring the SSL port to listen to httpsrequests. The error
that I always receive (regardless of which sample I maybe running,from
the server
samples to the portal ones) is similar to the following (notice the"Not
listening
for SSL, java.net.SocketException: Class not Found" error):
**** START OF CONSOLE LOG **** <Jul 1, 2002 5:07:21 PM PDT> <Notice><Management>
<141052> app tag removed <!--- Application Poller started for developmentserver.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ After the server hasbooted, your
browser should automatically launch and point to the WebLogic ServerIndex
running
on this server. If your browser fails to launch, point your browserto the
URL "http://JDavis-m1:7001/examplesWebApp/index.jsp"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <Jul 1, 2002 5:07:22PM
PDT> <Emergency>
<Security> <090034> <Not listening for SSL, java.net.SocketException:Class not Found.>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000354> <Thread"ListenT
hread.Default" listening on port 7001> <Jul 1, 2002 5:07:23 PM PDT><Notice> <Management>
<141030> <Starting discovery of Managed Server... This feature is onby
default,
you may turn this off by pas sing -Dweblogic.management.discover=false><Jul 1, 2002
5:07:23 PM PDT> <Notice> <WebLogicServer> <000331> <Started WebLogic
Admin Server
"examplesServer" for domain "examples" running in Development Mod e><Jul
1, 2002
5:07:23 PM PDT> <Notice> <WebLogicServer> <000365> <Server state changed
to RUNNING>
<Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000360> <Serverstarted in
RUNNING mode>
**** END OF CONSOLE LOG **** I haven't made any changes to the SSLsetup,
other than
simply indicating I want it active (if that choice is not already active)
I am just seeking to get the SSL using the test/demo certificate tofunction so that
I can complete a demo of the commerce product to a client (requiresport
7502 to
function)
Thanks!
Jeff Davis
</textarea> <br>
<input type=submit name="action" value="Post" >
</font></td></tr></table>
</form>
<hr>
</FONT>
<!-- ** COPY CONTENT INTO THIS SECTION HERE ** -->
</TD>
</TR>
</TABLE>
<!--start footer include -->
<table width="720" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#CCCCCC">
<td><img name="news_r06_c01" src="/images/shim.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td nowrap>
<div align="left"><img name="news_r17_c01" src="/images/footer1.gif" width="467"
height="18" border="0"><img name="news_r17_c31" src="/images/footer2.gif" width="200"
height="18" border="0" usemap="#news_r17_c31Map"><MAP name="news_r17_c31Map"><AREA
shape="rect" coords="139,2,167,18" href="http://www.bea.com/privacy.html"><AREA
shape="rect" coords="80,3,127,16" href="mailto:[email protected]"><AREA shape="rect"
coords="11,4,73,16" href="http://www.bea.com/contact/index.html"></MAP></div>
</td>
</tr>
</table>
<!--end footer include -->
</BODY>
</HTML>
</body></html>Thanks for your responce ...
I had discovered that when I typed "java program name" the java was running from /usr/bin a non-ssl enabled java installation. There was an SSL enabled version under another path on this box and it ran my code fine. -
Class not found - was channel definition question
I am much closer. Tomcat is putting some key messages in the console and I overlooked them. It looks like I am closer than I thought. The request looks like its getting received, but my service blows up on response due to I think two class not found issues. But, I can't tell what classes are missing.
[Flex]Deserializing AMF/RTMP request
Version: 3 null
2.0
(Command method=null (0) trxId=2.0)
null
(Externalizable Object #0 'flex.data.messages.DataMessageExt')
(Array #1)
[0] = (Typed Object #2 'flex.data.messages.DataMessage')
identity = (Object #3)
partId = 81959
operation = 11
correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7"
headers = (Object #4)
messageId = "8AF6C660-9DE3-F155-6A91-88F3CAC5A4F0"
timestamp = 0
destination = "DocumentPart"
timeToLive = 0
body = (Typed Object #5 'com.hpdocs.ds.document.DocumentPart')
documentId = 81960
partId = 81959
content = "Hello World"
clientId = "05E549ED-455F-A9AF-EEDE-88F3CA7E4BF9"
"DocumentPart"
(Object #6)
DSEndpoint = "hp_rtmp"
DSId = "F65B351A-A60C-6F91-2932-44630DAED2B9"
(Byte Array #7, Length 16) ""
7
[Flex]Received command: TCCommand [ Cmd: 0, MethodName: null, TrxID: 2.0]
[Flex]Serializing AMF/RTMP response
Version: 3
(Command method=_error (0) trxId=2.0)
(Typed Object #0 'flex.messaging.messages.ErrorMessage')
headers = (Object #1)
rootCause = (Typed Object #2 'java.lang.NoClassDefFoundError')
message = "javax/transaction/SystemException"
localizedMessage = "javax/transaction/SystemException"
cause = (Typed Object #3 'java.lang.ClassNotFoundException')
message = "javax.transaction.SystemException"
localizedMessage = "javax.transaction.SystemException"
cause = null
exception = null
body = null
correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7"
faultDetail = null
faultString = "There was an unhandled failure on the server. javax/transaction/SystemException"
clientId = "F65B3649-620E-C827-50C4-6A1C78BC3712"
timeToLive = 0.0
destination = "DocumentPart"
timestamp = 1.273607998612E12
extendedData = null
faultCode = "Server.Processing"
messageId = "F65B3675-5409-795E-747F-B2F459749415"it looks like your Tomcat is missing the JTA setting.
Tomcat
To use LiveCycle Data Services with Tomcat when not using the integrated Tomcat configuration, install support for the Java Transaction API (JTA). You might also have to install several other libraries depending on the features that you plan to use. Follow these steps after deploying the LiveCycle Data Services WAR files. These steps are not necessary for the integrated Tomcat installation.
Stop Tomcat.
To install support for JTA, a recommended implementation is the Java Open Transaction Manager (JOTM), which is a fully functional open source stand-alone transaction manager.
Download JOTM from http://jotm.objectweb.org.
Copy the JAR files from jotm-root/lib to [tomcat-root]/common/lib.
Create a context file for your web application and register JOTM using the Transaction element. For example, for the samples WAR create a tomcat-root/conf/Catalina/localhost/lcds-samples.xml file and add the following lines:CONTEXT antijarlocking="false" antiresourcelocking="false" docbase="${catalina.home}/webapps/lcds-samples" path="/lcds-samples" privileged="true"> <TRANSACTION factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"></TRANSACTION></CONTEXT>
Note: If a context file exists for your web application, add the <TRANSACTION> element under the <CONTEXT> element.
Increase the maximum memory to at least 512 MB by specifying the maximum heap size for the JVM in the JAVA_OPTS variable: -Xmx512m
(Optional) To enable custom authentication, locate the Tomcat security resource libraries under install_root/resources/security/tomcat.
Place the flex-tomcat-common.jar and flex-tomcat-server.jar files in the tomcat/lib folder.
Add the following line to the context descriptor file for your web application:
<VALVE classname="flex.messaging.security.TomcatValve"></VALVE>
You can now perform authentication against the current Tomcat realm. Usually, the default configuration for authentication stores user information in conf/tomcat-users.xml. See the Tomcat documentation for more information on realms. See the LiveCycle Data Services documentation for more information on custom authentication.
You might also have to update the active <LOGIN-COMMAND> in /WEB-INF/flex/services-config.xml in each deployment of a LiveCycle Data Services WAR file. For Tomcat, ensure that the TomcatLoginCommand is active in the <SECURITY>section:<SECURITY><LOGIN-COMMAND server="Tomcat"></LOGIN-COMMAND>...</SECURITY>
(Optional) To use the JMSAdapter with the Message Service, install and configure a JMS provider (such as ActiveMQ or openJMS) for use with Tomcat.
Restart Tomcat.
original doc is located here
Hopefully this will help. -
Installation problem on redhat 6.0, class not found
I have followed the instructions for installing oracle 8i. When i run runIns.sh I get the following error message:
class not found: oracle.sysman.oii.oiic.OiicInstaller
Does anyone know what this means? and what do i have to do?<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by am():
probably you don't use jre116_v5. Install it and alter all symlinks to the old jre/jdk.
Note: Don't use any jdk at all or any jre which is newer than jre116_v5!<HR></BLOCKQUOTE>
Thanks for the reply, but, yes, I've already done that.
null -
For weeks I have been viewing a doggy day care center via their web cam. This weekend I upgraded to Lion and have been unable to view the center. I get an error message for Java plug-in 1.6.0_29 ....webcam class not found. Any suggestions on how to fix this?
Sorry, don't know what else to suggest unless there's a URL to the problem stream that someone here can try. Otherwise we can't test it to try and determine what might be wrong.
BTW, make sure they're testing it with a Mac, not with a Windows system. If they test only with Windows, what they say is or is not working doesn't mean much.
Regards. -
Class Not Found in Server Application
I have set up a basic server application. It contains three files namely
Arith.java (implements the Remote interface)
ArithImpl.java (implements Arith.java the server) and
ArithApp.java which is the client Application
All of these are in the same package. I have compiled all of these files and I execute the rmic ArithImpl command from within the ArithImpl.java file via Runtime.getRuntime.exec(...);
The stub and skeleton files are generated and still I get a class not found exception. I have checked the class path and these files are within the class path.
If anyone could help me I'd greatly appreciate it. Thanks
public class ArithImpl extends UnicastRemoteObject implements Arith{
public static final String HOST_NAME = "localhost";
public static final String ROOT = "C:/Work/Thesis~1/LearningRMI/";
public static final String CLASSPATH = ROOT;
public static final String POLICY_FILE = CLASSPATH+"policies/rmi.policy";
public static final String RMI_LOCATION = "C:/Progra~1/java/jdk1.5.0_03/bin/";
String objectName;
public ArithImpl(String s) throws RemoteException{
super();
objectName = s;
public int[] add(int[] a, int[] b) throws RemoteException {
int c[] = new int[10];
for (int i=0; i<10; i++)
c[i] = a[i]+b;
return c;
public static void main(String[] args) {
System.setProperty("java.security.policy",POLICY_FILE);
System.setProperty("java.class.path",CLASSPATH);
String rmic = RMI_LOCATION+"rmic -vcompat -classpath "+CLASSPATH+" "+ArithImpl.class.getName();
String registry = RMI_LOCATION+"\\rmiregistry";
try{
Runtime rt = Runtime.getRuntime();
rt.exec(rmic);
rt.exec(registry);
catch (IOException e){
e.printStackTrace();
RMISecurityManager sm = new RMISecurityManager();
System.setSecurityManager(sm);
try{
Naming.rebind("//"+HOST_NAME+"/ArithServer", obj);
System.out.println("ArithServer bound in registry");
catch (Exception e){
e.printStackTrace();java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Arith
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at ArithImpl.main(ArithImpl.java:106)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Arith
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: Arith
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:707)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:651)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:588)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1494)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
... 9 more -
"Java Class not found in classpath" Error in DESIGNER
Hello All,
I'm trying to connect in Designer using a JDBC connection to MS SQL Server 2008. As per the instructions, I updated my jdbc.sbo file with the path to the existing two JAR files. However, I still get the following error when I try and connect in Designer: "Java Class not found in classpath : C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\jdbc\Drivers\sqlsrv". Of course, this error includes the drive path with the location to my JAR files. Any help in resolving this nagging issue is very GREATLY appreciated. Also, if anyone needs it I can post a copy of the jdbc.sbo file to this thread.
Thank you,
PankajStratos,
Your suggestion didn't help. I tried to connect after restarting my machine and I still get the error. And, I've also tried adding a connection to MS SQL Server 2005 using this JDBC driver, and that didn't help either. Any other suggestions? Would it help to see my "jdbc.sbo" file? Thanks again for your and everyone else's help, and I look forward to your reply.
Regards,
Pankaj
Maybe you are looking for
-
Firefox version 5.0.1 and Thunderbird 5.0
-
Regarding Interaction Records Creation
Hi All, I am implementing the BADI CRM_IC_IARECORD and write the code in BEFORE_IR_CREATE. Here i am going to suppress the creation of interaction record if user has not pressed save button. Could you please anybody suggest me here how to get whethe
-
IPhone 3GS MobileMe Video Upload Issue
I love my new iPhone! I have encountered a difficulty that I hope there is a remedy for. When I shoot a video and want to upload it to my MobileMe gallery, selecting the proper album is giving me issues. It defaults to the first album and, even after
-
All, When I scheduled the information Boradcasting with option Distribution type as "send as e-mail" and output format as "Independent HTML file" I am getting e-mail with four files 1.0QUERY_TEMPLATE_BROADCASTING_00001.htm.HTM 2.BWReports_ie5.css.CSS
-
My music doesnt play, my music doesnt play
bought my iphone 4 8g last month from verizon wireless and i try to play music from my phone and it i dont hear anything. i restored it thru itunes and i tried to rest it many time and i also took my phone back to verizon and they couldnt help me/ t