WLS 8.1B - LoggingHelper class not in weblogic.jar
While testing a servlet that uses the weblogic.logging.NonCatalogLoger class to
perform logging
I ran into several problems.
1) The alert() and critical() methods of the NonCatalogLogger class documented
in the API
javadoc do not appear to be in the class (not found by javac).
2) I tryed to use weblogic.logging.LoggingHelper to set the Logger level, but
the class is not in
weblogic.jar.
The end result is that the NonCatalogLogger logging appears to be seriously broken
at this
time.
Anybody else run into this problem? Is there any workaround for NonCatalogLogger
logging or resolution planned?
FYI one workaround is to just log with System.out.println() which worked just
fine.
Any suggestion is appreciated.
The DebugLogger class is in the com.bea.core.logging_1.4.0.0.jar module in $BEA_HOME/modules, but it's referenced in the weblogic.jar manifest. It's odd that it can't find it, but try explicitly adding that JAR to the classpath for the task.
Similar Messages
-
This issue has been posted before but no one replied with a solution:
I am running an applet which uses JMS. It runs fine standalone, but doesn't work
when running in a browser with 1.3 java plug-in. The class is not in weblogic.jar.
Please see the stacktrace below. Any help is greatly appreciated.
java.lang.ClassNotFoundException: 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)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:479)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.bbt.stpdemo.JMSClient.connectQueues(JMSClient.java:225)
at com.bbt.stpdemo.JMSClient.<init>(JMSClient.java:127)
at com.bbt.stpdemo.applet.ComplianceApplet.init(ComplianceApplet.java:345)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
[java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_WLStub]
at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:483)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.bbt.stpdemo.JMSClient.connectQueues(JMSClient.java:225)
at com.bbt.stpdemo.JMSClient.<init>(JMSClient.java:127)
at com.bbt.stpdemo.applet.ComplianceApplet.init(ComplianceApplet.java:345)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)Stubs in WLS are generated dynamically these days, and I guess that they are meant to
be network classloaded - change your applet codebase to load from WebLogic.
You can see that this class is there by pointing your browser to
http://localhost:7001/classes/weblogic/jndi/internal/ServerNamingNode_WLStub.class
Weiguo Wang <[email protected]> wrote:
This issue has been posted before but no one replied with a solution:
I am running an applet which uses JMS. It runs fine standalone, but doesn't work
when running in a browser with 1.3 java plug-in. The class is not in weblogic.jar.
Please see the stacktrace below. Any help is greatly appreciated.
java.lang.ClassNotFoundException: 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)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:479)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.bbt.stpdemo.JMSClient.connectQueues(JMSClient.java:225)
at com.bbt.stpdemo.JMSClient.<init>(JMSClient.java:127)
at com.bbt.stpdemo.applet.ComplianceApplet.init(ComplianceApplet.java:345)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
[java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_WLStub]
at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:483)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.bbt.stpdemo.JMSClient.connectQueues(JMSClient.java:225)
at com.bbt.stpdemo.JMSClient.<init>(JMSClient.java:127)
at com.bbt.stpdemo.applet.ComplianceApplet.init(ComplianceApplet.java:345)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)--
Dimitri -
Class missing in weblogic.jar ?
Hi,
On Weblogic 10.3 Integration, when I am trying to use the ant from the command prompt to build Java web services based project, I am getting the following (in verbose mode):
Caused by: java.lang.NoClassDefFoundError: weblogic/diagnostics/debug/DebugLogger
at weblogic.wsee.util.Verbose.checkDebugLogger(Verbose.java:74)
at weblogic.wsee.util.Verbose.init(Verbose.java:56)
at weblogic.wsee.util.Verbose.<clinit>(Verbose.java:46)
at weblogic.wsee.tools.anttasks.JwscTask.<clinit>(JwscTask.java:34)
at java.lang.Class.forName0(Native Method)Now, JwscTask class is in Weblogic.jar. Also, the package weblogic.diagnostics.debug is present in the same jar but I do not see a DebugLogger. I think this is not a classpath issue because weblogic.jar is accessible, right? Or does DebugLogger reside in any other jar?
Any suggestions?
Thank you!
- AdityaThe DebugLogger class is in the com.bea.core.logging_1.4.0.0.jar module in $BEA_HOME/modules, but it's referenced in the weblogic.jar manifest. It's odd that it can't find it, but try explicitly adding that JAR to the classpath for the task.
-
Classes not found for jars listed in manifest
I have an applet whose main jar has a number of dependent jars listed in the manifest. All the jars are signed.
The applet works fine when downloaded from an HTTP server.
Previous to 1.6.14 it would also run from a local directory.
As of Java 1.6.15 and 1.6.16, the classes in the dependent jars are no longer loadable from the local directory. ClassDefNotFound is the reported on the java console. Obviously the class is present, as the application is running fine in JVMs 1.6.14 and previous.
I see that 1.6.16 includes changes for the security baseline, but I cannot find anything that suggests changes are needed to support dependent jars. None of the dependent jars request a specific version of JRE.
Anybody know what is going on?Is this the error? ...Yes, sorry, the exception is NoClassDefFoundError
If you provide a Short, Self Contained, Correct Example someone may be able to diagnosis the problem, as opposeed to guessing. A link to the real live application can be found at: http://download.equitrac.com/38834/InstallGUI.html. (This original application does not meet the definition of short ... but demonstrates the problem well.)
When run as an applet off this site, it works fine.
If you click on the download button, it will place a copy on your local harddrive. To execute it locally double click on your local copy of InstallGUI.html.
When running it locally with Java 1.6.15 and 1.6.16 it will give you a class def not found exception without doing any thing.
When running locally with Java 1.6.14, it will not experience any trouble.
This applet needs permissions to open sockets and store data on the harddrive.
Probably due to the presence of class files that once existed outside of the jars, but are now not thereClose ... the application is made up of a main jar (our product) and a number of third party jars. The manifest for the main jar properly references the other jars, and works in all JVMs before 1.6.15. As of 1.6.15, none of the classes from the referenced jars can be opened.
I found that I can work around the problem by placing all classes into a single jar ... which may infringe on licensing requirements for some of the third party jars we use.
Dave -
I have a servlet that is using request.forward() to invoke a class in a jar file.
This class is in the class path, as below. However, when that class runs, it cannot find other classes in that same jar file.
In my resin.conf file I have:
<web-app id='/test' app-dir='d:/apps/test'>
<classpath id='d:/apps/otherApp/WEB-INF/lib/otherApp.jar'/>
</web-app>
The jar file is in the web-inf/lib folder.
Running under Resin.
What do I need to do such that the invoked class will find it's fellow classes that are in the same jar file?I don't see why
you would need to add that jar to the conf file.My web-app cannot otherwise find the target class. It is part of a different 'web-app'.
how did you create the jar?I didn't. This is a third party app. I cannot disturb the jar.
Due to the third party app, there are legacy issues that I am having to work around.
So my situation is like this.
c:/apps/app1
c:/apps/app2
c:/apps/app3
So, another servlet will contact app1. Depending on the 'POST'ed data, app1 will invoke either app2 or app3.
All code for app2 is in jars in WEB-INF/lib. -
Taglib: class not found in jar-file
I've got the following problem:
I whant to deploy a taglib to tomcat 5.0.25.
If I point to the jsp which uses the taglib I got the following error:
org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/C:/Programme/Apache Software Foundation/Tomcat 5.0/webapps/taglibtest/WEB-INF/lib/gsa_prod3_db_taglib.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
If I copy the taglib.tld out of the jar-file into WEB-INF and do the mapping in web.xml, I get this error:
org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
root cause
java.lang.ClassNotFoundException: ch.gsa.prodass3.taglib.TagAddAttributeTEI
It seems like none of the files in the jar-file could be loaded.
Has anybody an idea?
Help would be very appreceated!
Greetings, Jonas1 - double check the class is in the jar file, in that path, and is spelt correctly
2 - restart Tomcat
3 - check the contents of the tld file - particularly the extra-info tag and class name for it. -
Hi all,
I have a problem instalating in startupclass and shutdownclass to uses jolt connections.
Theses classes are PoolManagerStartUp and PoolManagerShutdown.
it looks like the problem is in the joltwls.jar library (it contains the classes previously mentioned, bea.jolt.pool.servlet.weblogic.PoolManagerStartUp and bea.jolt.pool.servlet.weblogic.PoolManagerShutdown)
These classes uses a method that is in weblogic.jar version 7.0 but not in weblogic.jar version 9.2.
the class that hasn´t been found is weblogic/management/internal/DynamicMBeanImpl
this is the log :
<Dec 20, 2008 6:29:27 PM CET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NoClassDefFoundError: weblogic/management/internal/DynamicMBeanImpl
java.lang.NoClassDefFoundError: weblogic/management/internal/DynamicMBeanImpl
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:246)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
Truncated. see log file for complete stacktrace
thanks in advance!!
Edited by: user5481292 on 20-dic-2008 10:21
Edited by: user5481292 on 20-dic-2008 10:37Hi,
This missing classes can be found inside the JAR : *"E:\bea10_3_3\wlserver_10.3\server\lib\wseeclient.jar"* As well as inside *"E:\bea10_3_3\wlserver_10.3\server\lib\wls-api.jar"*
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic/webservices/ (WebLogic Wonders Are Here) -
Hi,
Going throu' a strange problem. I am calling an applet method from javascript. This applet method in turn access certain ejb methods which needs the class files of weblogic.jar. I have this weblogic.jar in the classpath, applet archive and both application and applet.jar reside in the same server. Obviously weblogic.jar is also in the server classpath. But when I call the applet method from javascript it is not able to find the classes in weblogic.jar. I am not sure what the problem is. Could somebody help. Thank You.
- Vikdid you resolve the issue ? If so, let me know.
-
JDriver and weblogic.jar for the wlserver 6.1 sp2
Hi all,
After I download the jDriver for Ms sql 2000 server, I set the classpath as
document told, I test
it using the utils.dbping it works fine. But when I try to use it with the weblogic
server 6.1
I have the problem as following:
I included the jDriver classes in the classpath of the startWeblogic.cmd as
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;C:\weblogic\mssqlserver4v70\classes
saved the startWeblogic.cmd file
Then I start the wls with startWeblogic.cmd(the new classpath). It starts fine
Then I setup the connection sql pool using the weblogic.jdbc.mssqlserver4.Driver
It says "No suitable driver"
I found that in the weblogic.jar(shipped with the weblogic 6.1) and in the jDriver
classes, there are two files which have the same name is weblogic.jdbc.mssqlserver4.Driver.
Because in the classpath
.\lib\weblogic.jar comes first so weblogic server takes weblogic.jdbc.mssqlserver4.Driver
of the weblogic.jar rather than in the jDriver classes directory. So I thought
the matter of changing the order in the classpath (.\lib\weblogic_sp.jar;C:\weblogic\mssqlserver4v70\classes;.\lib\weblogic.jar")
will solve the problem, but when I changed the oder in the classpath the weblogic
server did not start AT ALL with the following errror.
------------------Begin error----------------------------
C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath
;.\lib\weblogic_sp.jar;C:\weblogic\mssqlserver4v70\classes;.\lib\weblogic.jar"
-Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Dbea.home="C:\\bea" -Dweblogic.management.password=
-Dweblogic.ProductionModeEnabled=true -Djava.security.policy="C:\bea\wlserver6.
1/lib/weblogic.policy" weblogic.Server
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NoSuchMethodError
at weblogic.Home.getFileSource(Home.java:66)
at weblogic.Home.<init>(Home.java:29)
at weblogic.Home.getInstance(Home.java:81)
at weblogic.Home.getPath(Home.java:89)
at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate
.java:77)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:200)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
C:\bea\wlserver6.1>goto finish
------------------End error----------------------------
I wonder how can I use the jDriver with weblogic server?
Do you have any idea what I have done wrong or how to get around with this problem?
Please help
Thanks in advanceIt works now.
Thanks Laurent.
Tom
Laurent Goldsztejn <[email protected]> wrote:
Hi Tom,
Can you please make sure that the driver is defined as
weblogic.jdbc.mssqlserver4.Driver
and that the url starts with jdbc:weblogic:mssqlserver4
Thank you,
Laurent Goldsztejn
Developer Relations Engineer
BEA Support -
Uncompresing weblogic.jar and modifying it...
Hi all,
I'm trying to develop some classes that extend the funcionality of some of
the base classes of weblogic.
Due to security restrictions (I suppose that there's some ClassLoader
mechanism to check if all the classes are loaded from the same jar...) I
need to add these classes to the weblogic.jar.
My question is very simple.
Is it legal? Or should I try another aproches to solve the problem?
If this is not the right group to ask this question, where can I find this
information?
Thanks.
Jon.Hi,
Daniel, although I would prefer to use just the J2EE interfaces the problem
is that I need to deploy a kind of Wrapper of the ServletResponse. As the
Weblogic implementation of the include and forward methods in the
RequestDispatcher seems to cast directly to its own implementation then I
need to extend its own classes. Due to security constraints (possibly
implemented with its own SecurityManager or ClassLoader) I need to pack my
classes inside the weblogic.jar file....
It seems to be a very closed implementation that done by bea...
Nevertheless I expected some "official" response from Bea people about
modifying its jar file...
Thanks.
"Jon Doe" <[email protected]> escribió en el mensaje
news:[email protected]..
Hi all,
I'm trying to develop some classes that extend the funcionality of some of
the base classes of weblogic.
Due to security restrictions (I suppose that there's some ClassLoader
mechanism to check if all the classes are loaded from the same jar...) I
need to add these classes to the weblogic.jar.
My question is very simple.
Is it legal? Or should I try another aproches to solve the problem?
If this is not the right group to ask this question, where can I find this
information?
Thanks.
Jon.
"Jon Doe" <[email protected]> escribió en el mensaje
news:[email protected]..
Hi all,
I'm trying to develop some classes that extend the funcionality of some of
the base classes of weblogic.
Due to security restrictions (I suppose that there's some ClassLoader
mechanism to check if all the classes are loaded from the same jar...) I
need to add these classes to the weblogic.jar.
My question is very simple.
Is it legal? Or should I try another aproches to solve the problem?
If this is not the right group to ask this question, where can I find this
information?
Thanks.
Jon. -
JNDI-lookup without weblogic.jar?
Is it possible to do a JNDI lookup to the remove weblogic server (using the WLInitialcontextfactory)
without using the whole weblogic.jar in the classpath? It's about 30 megs which
is far too much. I tried using only few classes from the weblogic.jar, but there
were so many dependencies that I gave up. Any workarounds?Hi,
Weblogic provides you a way to create client jar files so that the complete weblogic.jar
doesn't need to be downloaded to the client. See
http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
hope this helps,
pat
"Janne" <[email protected]> wrote:
>
Is it possible to do a JNDI lookup to the remove weblogic server (using
the WLInitialcontextfactory)
without using the whole weblogic.jar in the classpath? It's about 30
megs which
is far too much. I tried using only few classes from the weblogic.jar,
but there
were so many dependencies that I gave up. Any workarounds? -
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. -
Java Class not generated by jax-ws Weblogic 10.3 if empty xs:enumeration
Hi everyone!
I discovered tricky problem. I've defined
<xs:simpleType name="MyType">
<xs:restriction base="cm:ValidStringType">
<xs:enumeration value="TRG"/>
<xs:enumeration value="TRM"/>
<xs:enumeration value="TMP"/>
<xs:enumeration value="TMV"/>
<xs:enumeration value="SFL"/>
<xs:enumeration value="PRQ"/>
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
in some.xsd where
<xs:simpleType name="ValidStringType">
<xs:restriction base="xs:token">
<xs:pattern value="([A-Z\p{S}\p{P}\d\s]){0,255}"/>
</xs:restriction>
</xs:simpleType>
Problem is MyType.java is not generated now at all.
But if I remove last entry <xs:enumeration value=""/> when the class gets generated.
We are migrating from Weblogic 9.2 Java 1.5_11 and jaxrpc into
Weblogic 10.3 jdk 1.6_14 and jaxwc-2.0.jar.
Is that a bug in weblogic.wsee.tools.anttasks.WsdlcTask? I use it to generate source code files.
Or jax-ws 2.0 has some limitations that <xs:enumeration value=""/> is not supported?
So any ideas how to fix my situation?
Here is the part of my build.xml
<taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask" classpath="${wl103.dir}/server/lib/weblogic.jar"/>
<wsdlc verbose="on"
srcWsdl="${basedir}/../definitions/wsdls/mywsdl.wsdl"
destJwsDir="${comp_wsdl.dir}"
destImplDir="${generated.sources.dir}"
type="JAXWS">
<binding dir="${basedir}" includes="${binding.files}"/>
</wsdlc>
Note all paths are correct.
Thanks a lot
Igor
Edited by: user461997 on Jun 19, 2009 1:54 PMThat's a problem.
Other classes just complain that MyType class was not found.
MyType.java file simply was not generated by wsdlc ( classname="weblogic.wsee.tools.anttasks.WsdlcTask ).
There is no direct messages giving clue why MyType.java file was not generated.
Is any verbose, diagnostic to turn on etc. tricks to get more generation process info?
Are anywhere good articles reviling in-depth the process of generating java source code files by WsdlcTask and using javax.jws_2.0.jar
in my case?
For me it's an emergency. So if anybody can give some ideas?
Is that a bug in weblogic.wsee.tools.anttasks.WsdlcTask which does not like empty xs:enumeration value="" ? I use it to generate source code files.
Or jax-ws 2.0 has some limitations that <xs:enumeration value=""/> is not supported?
Thanks a lot
Igor
Edited by: user461997 on Jun 22, 2009 7:10 AM -
Weblogic domain upgrade - 8.1.4 to 10.3 - class not found exception
HI All,
Trying to upgrade one domain from 8.1.4 to 10.3. Please find below the command that i have used and the stacktrace.
from WL_HOME/server/bin location
volcat01-PA: ./setWLSEnv.sh
CLASSPATH=/beafiler/weblogic10g/bea/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/beafiler/weblogic10g/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/beafiler/weblogic10g/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/beafiler/weblogic10g/bea/jdk160_05/lib/tools.jar:/beafiler/weblogic10g/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/beafiler/weblogic10g/bea/wlserver_10.3/server/lib/weblogic.jar:/beafiler/weblogic10g/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/beafiler/weblogic10g/bea/wlserver_10.3/server/lib/webservices.jar:/beafiler/weblogic10g/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/beafiler/weblogic10g/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:
PATH=/beafiler/weblogic10g/bea/wlserver_10.3/server/bin:/beafiler/weblogic10g/bea/modules/org.apache.ant_1.6.5/bin:/beafiler/weblogic10g/bea/jdk160_05/jre/bin:/beafiler/weblogic10g/bea/jdk160_05/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
Your environment has been set.
volcat01-PA:
from domain_home:
volcat01-PA: /beafiler/weblogic10g/bea/jdk160_05/jre/bin/java -cp /beafiler/weblogic10g/bea/wlserver_10.3/server/lib/weblogic.jar weblogic.Upgrade -mode silent -type domain
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/utils/classloaders/ClasspathClassFinder2
at weblogic.Home.getFileSource(Home.java:70)
at weblogic.Home.<init>(Home.java:33)
at weblogic.Home.<init>(Home.java:18)
at weblogic.Home$HomeSingleton.<clinit>(Home.java:24)
at weblogic.Home.getInstance(Home.java:88)
at weblogic.Home.getPath(Home.java:96)
at weblogic.Home.getFile(Home.java:101)
at weblogic.Upgrade.main(Upgrade.java:18)
Caused by: java.lang.ClassNotFoundException: weblogic.utils.classloaders.ClasspathClassFinder2
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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 8 more
volcat01-PA:
Please suggest if i need to modify the classpath?Hi Sumit,
thanks for the help, but still i am getting the same error.
volcat01-PA: . ./setWLSEnv.sh
CLASSPATH=/beafiler/weblogic10g/bea/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/beafiler/weblogic10g/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/beafiler/weblogic10g/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/beafiler/weblogic10g/bea/jdk160_05/lib/tools.jar:/beafiler/weblogic10g/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/beafiler/weblogic10g/bea/wlserver_10.3/server/lib/weblogic.jar:/beafiler/weblogic10g/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/beafiler/weblogic10g/bea/wlserver_10.3/server/lib/webservices.jar:/beafiler/weblogic10g/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/beafiler/weblogic10g/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:
PATH=/beafiler/weblogic10g/bea/wlserver_10.3/server/bin:/beafiler/weblogic10g/bea/modules/org.apache.ant_1.6.5/bin:/beafiler/weblogic10g/bea/jdk160_05/jre/bin:/beafiler/weblogic10g/bea/jdk160_05/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
Your environment has been set.
volcat01-PA: cd /beafiler/admindomains/conjxapi-th1
volcat01-PA: ls -lrt
total 368
-rwxr-xr-x 1 cispwlp beawlp 1809 Oct 12 2007 stopWebLogic.sh
-rwxr-xr-x 1 cispwlp beawlp 3116 Oct 12 2007 startWebLogic.sh
-rw-r--r-- 1 cispwlp beawlp 698 Oct 12 2007 startManagedWebLogic_readme.txt
-rwxr-xr-x 1 cispwlp beawlp 4691 Oct 12 2007 startManagedWebLogic.sh
-rwxr-xr-x 1 cispwlp beawlp 2261 Oct 12 2007 setPatchEnv.sh
-rwxr-xr-x 1 cispwlp beawlp 1233 Oct 12 2007 setEnv.sh
-rw-r--r-- 1 cispwlp beawlp 85 Oct 12 2007 fileRealm.properties
drwxr-xr-x 2 cispwlp beawlp 4096 Oct 12 2007 cfgwizdonotdelete
-rw-r--r-- 1 cispwlp beawlp 39 Oct 12 2007 SerializedSystemIni.dat
-rw-r--r-- 1 cispwlp beawlp 1799 Oct 12 2007 DefaultRoleMapperInit.ldift
-rw-r--r-- 1 cispwlp beawlp 2255 Oct 12 2007 DefaultAuthenticatorInit.ldift
-rw-r--r-- 1 cispwlp beawlp 513 Oct 12 2007 LogHandling.properties
drwxr-xr-x 3 cispwlp beawlp 4096 Oct 12 2007 applications
-rw-r--r-- 1 cispwlp beawlp 18804 Oct 12 2007 config.xml.s.safe
-rw-r--r-- 1 cispwlp beawlp 20109 Nov 26 2007 config.xml.original
drwxr-xr-x 5 cispwlp beawlp 4096 Nov 26 2007 conjxapi-th1-admin
-rw-r--r-- 1 cispwlp beawlp 101 Nov 26 2007 boot.properties
drwxr-xr-x 2 cispwlp beawlp 4096 Nov 26 2007 rmfilestore
-rw-r--r-- 1 cispwlp beawlp 20109 Nov 26 2007 config.xml.booted
-rw-r--r-- 1 cispwlp beawlp 20109 Nov 26 2007 config.xml
-rw-r--r-- 1 cispwlp beawlp 810 Nov 26 2007 running-managed-servers.xml
drwxr-xr-x 9 cispwlp beawlp 4096 Nov 26 2007 NodeManagerClientLogs
-rw-r--r-- 1 cispwlp beawlp 203 Dec 5 2007 conjxapi-th1.log00048
-rw-r--r-- 1 cispwlp beawlp 203 Dec 6 2007 conjxapi-th1.log00049
-rw-r--r-- 1 cispwlp beawlp 203 Dec 7 2007 conjxapi-th1.log00050
-rw-r--r-- 1 cispwlp beawlp 203 Dec 8 2007 conjxapi-th1.log00051
-rw-r--r-- 1 cispwlp beawlp 203 Dec 9 2007 conjxapi-th1.log00052
-rw-r--r-- 1 cispwlp beawlp 204 Dec 10 2007 conjxapi-th1.log00053
-rw-r--r-- 1 cispwlp beawlp 204 Dec 11 2007 conjxapi-th1.log00054
-rw-r--r-- 1 cispwlp beawlp 204 Dec 12 2007 conjxapi-th1.log
volcat01-PA: java weblogic.Upgrade -mode silent -type domain
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/utils/classloaders/ClasspathClassFinder2
at weblogic.Home.getFileSource(Home.java:70)
at weblogic.Home.<init>(Home.java:33)
at weblogic.Home.<init>(Home.java:18)
at weblogic.Home$HomeSingleton.<clinit>(Home.java:24)
at weblogic.Home.getInstance(Home.java:88)
at weblogic.Home.getPath(Home.java:96)
at weblogic.Home.getFile(Home.java:101)
at weblogic.Upgrade.main(Upgrade.java:18)
Caused by: java.lang.ClassNotFoundException: weblogic.utils.classloaders.ClasspathClassFinder2
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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 8 more
volcat01-PA: -
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 ZhengYou 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
Maybe you are looking for
-
Can I export images from one open catalogue to a closed one, "on the fly?"
If not, is there a plug in that would do that? I need to select, then combine photos from different catalogues into a new one.
-
Epson Stylus 820 Print Image Matching Problem
I've recently upgraded my system to the OS 10.4.10 and am having a problem with my printer. It will not recognize the PIM II from my Photoshop or for that matter any other application. Printing Colors are no longer matching? When I was using the 10.3
-
Sound Issues with early 2008 Macbook Pro
I have an early 2008 Macbook Pro with Mavericks that has suddenly developed a static and clicking sound through the internal speakers. The static and clicking sound does not occur when using headphones. Is this a speaker failing or due to some othe
-
Hello, It seems my Premiere Pro CC 2014 has encountered a fatal error. Whenever I try to make a an edit to the timeline the following message appears: I am currently using a Mac OS X Version 10.9.3 with a 3.5 GHz 6-Core Intel Xeon E5. It's memory is
-
Update Next Shift opeing balance with current shift closing balance
hi, I have an aggregation table which have shiftwise, productwise, warehouse wise stock data. i want update the next shift opening balance with current shift closing balance. My table is ID ShiftDate ShiftNumber ProductID Openi