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!
- Aditya
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
-
Hi,
I am trying to upgrade Weblogic from 9.1 to 10.3.2 or 10.3.3
In Weblogic 9.1, our application used weblogic.jar in our classpath.
After we installed Weblogic 10.3.3, the new weblogic.jar can be found in: <WLS_HOME>\wlserver_10.3\server\lib
However, some class files are missing and we realized we need to manually generate wlfullclient.jar and use this jar file instead.
Reference: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html
The problem is that in Weblogic 10.3.3, the following class files are missing inside weblogic.jar and wlfullclient.jar
- import weblogic.jws.Policies
- import weblogic.jws.Policy
Hence, our application is getting an "The import weblogic.jws.Policies cannot be resolved" error in our code.
I look inside both weblogic.jar and wlfullclient.jar, weblogic.jws.Policies and weblogic.jws.Policy cannot be found.
This is not an issue in Weblogic 10.3.2. These two classes can be found in wlfullclient.jar
Any idea where I can find these class files for Weblogic 10.3.3 or something we are doing is incorrectly?
Thanks
ToanHi,
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) -
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.
-
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. -
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.
-
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? -
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) -
Using a weblogic.jar class to estimate number of web app users
Hi,
I'm trying to somehow estimate the number of people using a particular web app
deployment in Weblogic Server 6.1 SP3. Though I know that sessions are stateless,
there must be some way of getting an idea aboout usage mustn't there?! Any ideas
on how and which class to look at in weblogic.jar would be much appreciated.
Regards,
RobRobert:
So I get kind of tired writing stuff up and sending it out on newsgroups and
then not being able to go back and find the text and link to it as
references in subsequent posts. So I am going to try something different.
We'll see how this goes.
http://www.niffgurd.com/mark/work/blog/index.html#105380147933921144
Cheers
mbg
"Robert Hedges" <[email protected]> wrote in message
news:3eccfb32$[email protected]..
>
...I think I've narrowed my search down to the classweblogic/management/console/webapp._domain/__webappcomponentruntimetable.cla
ss
but I've no idea how to call the method I need.
Rob
"Robert Hedges" <[email protected]> wrote:
Thanks for that, Sam. I'm actually aware of the monitoring facility,
but am really
searching for a way to view the number of sessions independently from
the the
console, i.e. by calling some particular Java class in weblogic.jar.
Again, any
thoughts appreciated.
Rob
Sam Pullara <[email protected]> wrote:
In the console you can turn on session monitoring for a web application.
That should allow you to see the sessions that are being created.
Sam
On 5/19/03 11:33 AM, in article 3ec9157b$[email protected], "Rob
Hedges"
<[email protected]> wrote:
Hi,
I'm trying to somehow estimate the number of people using a particularweb app
deployment in Weblogic Server 6.1 SP3. Though I know that sessionsare
stateless,
there must be some way of getting an idea aboout usage mustn't there?!Any
ideas
on how and which class to look at in weblogic.jar would be much
appreciated.
>>>>
Regards,
Rob -
Bug: weblogic.jar doesn't include the javax.ejb classes
In the
Oracle WebLogic Server 11gR1 (10.3.6) + Coherence -
Package Installer
the C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar doesn't include the javax.ejb package classes. The javax.ejb package is empty.This is the correct behavior, stub and skeleton classes are generated at deployment time by WebLogic server and stored in a server internal location.
In case you are interested, it is something like: ...\samples\domains\medrec\servers\MedRecServer\cache\EJBCompilerCache\ with file named like HelloSession_gjfaqw_Intf.java., etc.
-danny -
Using JarSettings to generate EJB client jar, but supported classes missed
Appreciated for any comments in advance.
I am using @jarSetting to generate EJB client jar file from workshop 9.2. The remote method of EJB has one input parameter that is defined as an interface. The interface is included in client jar, but the implementation of this interface is not.
Please advise how I can add the implementation of this interface to client jar?
Best Regards,
JamesHi James,
I believe the algorithm for creating the client jar is to simply inspect the EJB interfaces using reflection and to include all user defined classes and exceptions that are referenced by the interfaces. In your case, it sounds like a class is not being included because it is not directly referenced by one of the EJB interfaces.
I think the client jar creation algorithm can be described as "best effort" and unfortunately, it does not always end up including all classes needed by the client. I would recommend you add the additional classes manually using the jar tool.
- Matt -
Missing classes from servicegen client jar
If you generate the WSDL, stubs, etc from an EJB jar, not all the required classes
are copied to the service_client.jar.
If your EJB method takes a class (say HomeAddressDTO) and that class inherits from
a base-class, AddressDTO, then the AddressDTO is not included in the client jar.
Regards,
Nickif you want to use the same classes on both client and server side
pls set useservertypes=true in the client element of servicegen.
It seems wls 7.0ga is not adding base classes for value types to
the client.jar file. I have filed a CR on this bug. Hope this will be
fixed for sp1.
Anyway, it is ok to add more classes to the client.jar manually.
You may have to do it when reflection cannot find all the required
classes or if you want to add your client app specific classes.
regards,
-manoj
"Michael Jouravlev" <[email protected]> wrote in message
news:[email protected]..
I have the same problem. Do you think it is a bug? AFAIK, the processlooks
like this: value objects --> WSDL --> client-side stubs for value objects,
that actually do not have much in common with original ones. As I
understand, it is possible either to copy manually created value objectsto
client JAR file (no portability to non-Java clients), or to generate these
stubs from WSDL. There is a parameter for clientgen task which changes the
default behaviour. In my case all the parent classes in my value object
hierarchy are not "mirrored" in client JAR. I think that this is correct,
because client stubs do not have any hierarchy in them, they are just flat
structures.
I added needed classes to client JAR manually, but I think that this is my
personal design error that I need these classes.
What do you think?
Michael.
"Nick Minutello" <[email protected]> wrote
in message news:3d094c10$[email protected]..
If you generate the WSDL, stubs, etc from an EJB jar, not all the
required
classes
are copied to the service_client.jar.
If your EJB method takes a class (say HomeAddressDTO) and that classinherits from
a base-class, AddressDTO, then the AddressDTO is not included in theclient jar.
Regards,
Nick -
Jar not loaded Error when deploying weblogic.jar in tomcat
Hi experts,
This time i have one more problem,
i have deployed my application in tomcat such that when tomcat starts my java program also gets started, for my java program i had to use a weblogic library which is in "web-inf / lib / weblogic.jar" . but when i start tomcat i get error like
INFO: validateJarFile (C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MyApp\WEB-INF\lib\weblogic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 4, 2006 8:27:18 PM org.apache.catalina.core.StandardPipeline registerValve
INFO: Can't register valve org.apache.catalina.core.StandardContextValve@1362012
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7
for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
what could be the problem in loading weblogic.jar
my platform configuations are
TOMCAT 5.5
OS - windows 2000have u done the servlet naminga and mapping in the web.xml file??
Kumar Allamraju <[email protected]> wrote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Have you registered the servlet in web.xml?
><p>--
><br>Kumar
><p>Deepak Balakrishna wrote:
><blockquote TYPE=CITE>Hi.
><p>I am having trouble deploying a servlet to WLS 6.1
><p>a) The name of the servlet is HaServlet and it's duly noted in web.xml
><br>b) I created a directory
><br>config/examples/applications/cluster-servlet/WEB-INF
><br>c) Added web.xml under WEB-INF/. web.xml was created using the weblogic
><br>DDInit CLI
><br>d) Added the servlet classfile (HaServlet.class) under
><br>WEB-INF/classes/samples/cluster/servlet/.
><br>e) Tried to access it by http://host:port/cluster-servlet/HaServlet
><p>I get
><br>Error 404--Not Found
><p>What am I missing? I also tried restarting the app server to no avail.
><p>Thx,
><br>- deepak</blockquote>
></html>
>
-
Hi,
I am hosting an ejb web service on a different J2EE complaint application server and my security subject is coming from weblogic 10.3. When I use weblogic.jar in my application server classpath and try to start the serverr it throws the following exceptions:
Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException:
Exception occured in the wsgen process java.lang.ClassCastException:
com.sun.xml.ws.api.server.Container$1 cannot be cast to
weblogic.wsee.jaxws.WLSContainer
at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1848)
at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2249)
at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:359)
at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:294)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:207)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:276)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:555)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:564)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:267)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
|#]
[#|2008-06-29T18:45:24.172-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-9;Exception
occured in the wsgen process java.lang.ClassCastException:
com.sun.xml.ws.api.server.Container$1 cannot be cast to
weblogic.wsee.jaxws.WLSContainer
;_RequestID=7cfc908b-f335-439c-b9e8-ac83c5f744b3;|"DPL8011:
autodeployment failure while deploying the application : Exception
occured in the wsgen process java.lang.ClassCastException:
com.sun.xml.ws.api.server.Container$1 cannot be cast to
weblogic.wsee.jaxws.WLSContainer
"|#]
It seems that weblogic.jar contains lot of files which either I don't need it or have some problems. I also tried using wlclient.jar instead of weblogic.jar but I am getting different exceptions related to missing class files. Is there a true .jar file from weblogic that I (as a client application) could use to access the weblogic server from a different application server using t3:// protocol.
Any help would be really appreciated.
johnHello Sir
Did u solve the problem
i am also getting the same problem
please help me if u found the solution -
How to write a class loader to solve the class confliction in rt.jar?
Hello guys:
The weblogic.jar has the javax.management.*, it is conflict with rt.jar's
I want to use JMX 1.0 to communicate with weblogic 8.1. The client should be run in the Java 1.5
It throw
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359I know the reason is java 1.5 has JMX 1.2 in it.
So how can I program a class loader to load the weblogic.jar classes in? I have tried a lot of code, but failed.
Is there any sample here?
I want to use the JMX 1.0 in weblogic.jar at jdk1.5 run time
Thanks a lot,
QiangHello guys:
The weblogic.jar has the javax.management.*, it is conflict with rt.jar's
I want to use JMX 1.0 to communicate with weblogic 8.1. The client should be run in the Java 1.5
It throw
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible:
stream classdesc serialVersionUID = -5467795090068647408, local class serialVersionUID = 1081892073854801359I know the reason is java 1.5 has JMX 1.2 in it.
So how can I program a class loader to load the weblogic.jar classes in? I have tried a lot of code, but failed.
Is there any sample here?
I want to use the JMX 1.0 in weblogic.jar at jdk1.5 run time
Thanks a lot,
Qiang
Maybe you are looking for
-
Not enough free space for a software update?
Had an error pop up and say "your hard disk does not have enough space." I read a few other posts that are similar to my problem and I ran the Disk Utility Verification and it said that "The volume Macintosh HD appears to be OK." I tried to proceed w
-
Hi Everyone, I'm first creating a form in Microsoft word before I put it into an Adobe form but, I need help. I want users to be able to fill in the text boxes & check boxes but, I also want them to be able to copy and paste text or pictures (into tw
-
How do I access a script?
I have a component that includes a script file. That file has a single function. I included the script file as an include in a component, but I can't execute the function in that component. Probably a simple mistake, but I'm not seeing it. Here is th
-
Why have I lost the info of timezone (Timestamps with Timezone )
I have been trying to get timestamps with timezones working in my Java application, but I don't seem to get the data I expect back from the JDBC driver my field type is Timestamps with Timezone ,in the database,I saw the info of (12-DEC-06 01.12.12.1
-
Pacman keeps trying to upgrade firefox
Every time I run pacman -Syu, pacman wants to update firefox to 2.0.0.10-2, even though I've already updated. When I query with pacman -Q firefox, it reports that firefox has *not* been updated but remains at 2.0.0.10-1. I can't really tell much from