Class not found for Startup servlet
I have deployed a war file under weblogic 7. The application has some startup servlets,
which are failing to load during startup. It returns the following error messages
for each servlet
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
<kernel identity> <> <101249> <[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
StartupTSContentDaemonServlet could not be loaded because the requested class
was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)>
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
<kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet" failed
to preload on startup in webapp: "abcApps">
javax.servlet.ServletException: [ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
StartupTSContentDaemonServlet could not be loaded because the requested class
was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:785)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:479)
When i look into the directories weblogic created after deployment, there is a
cls2372.jar at 1 level above the web-inf folder and it has all the servlets in
the correct package structure i.e. com/abc/servlets/startup
Any idea on why this is happening or what i am doing wrong?
also posting to servlet newsgroup.
"Ram" <[email protected]> wrote in message
news:[email protected]...
>
I have deployed a war file under weblogic 7. The application has somestartup servlets,
which are failing to load during startup. It returns the following errormessages
for each servlet
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
<kernel identity> <> <101249><[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
StartupTSContentDaemonServlet could not be loaded because the requestedclass
was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)>
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
<kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet"failed
to preload on startup in webapp: "abcApps">
javax.servlet.ServletException:[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
StartupTSContentDaemonServlet could not be loaded because the requestedclass
was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)
atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:785)
atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:2763)
atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:2708)
atweblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
tContext.java:2681)
atweblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
atweblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:479)
When i look into the directories weblogic created after deployment, thereis a
cls2372.jar at 1 level above the web-inf folder and it has all theservlets in
the correct package structure i.e. com/abc/servlets/startup
Any idea on why this is happening or what i am doing wrong?
Similar Messages
-
Struts class not found for war file
Hello,
I am tring to deploy my struts web application in weblogic 8.1. I have all the
library files in web-inf\lib directory. It gave me the error that class not found
for some class in struts library. The console also told me the classpath. But
I can use javap to find the class using the same classpath. Could any one point
me some direction what I am doing wrong here.
Thanks.
Here is the error message:
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.>
<Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216> <Servlet: "action"
fa
iled to preload on startup in Web application: "voppocWebApp".
javax.servlet.ServletException: [HTTP:101250][ServletContext(id=9921725,name=vop
pocWebApp,context-path=/voppocWebApp)]: Servlet class org.apache.struts.action.A
ctionServlet for servlet action could not be loaded because a class on which it
depends was not found in the classpath C:\bea\weblogic81\server\bin\myserver\upl
oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
_voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
\lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:800)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3236)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3181)Hello Mark,
Your suggested solution (putting an empty commons-logging.properties into
web-inf/classes or in a jar in web-inf/lib)
does not make any change at all. It still complains about not being able to
preload the servlet and still
gives exceptions upong calling upon LogFactory.
What I have been able to do is put the three classes from
com.bea.wlw.netui.util.logging into a separate jar
and add that to web-inf/lib.
However I am sometimes getting funny exceptions upon undeploy
(NoClassDefFoundError for org.apache.commons.collection.FastHashMap$KeySet).
Regards,
Robert Varga
"Mark Griffith" <[email protected]> wrote in message
news:[email protected]...
From a FAQ on netui:
1. Why do I get a ServletException while trying to deploy a struts web
application on a Workshop/Integration/Portal domain?
In the "<WL-HOME>/server/lib/knex.jar" file there is a properties file
called "commons-logging.properties" which configures the
com.bea.wlw.netui.util.logging.StrutsLogFactory class for Struts loggingas
below:
org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
ogFactory
This class file is not available for a Struts web application that was not
built using Workshop, the reason being the containing NetUI jar files are
not present in the web application's WEB-INF/lib folder. This leads to a
ServletException while deploying the web application. The solution is toadd
a blank file (or a JAR containing the file) namedcommons-logging.properties
to the server CLASSPATH, or to the WEB-INF/lib folder of the concerned web
application. This issue will be fixed in Service Pack 2.
cheers
mbg
"Robert Varga" <[email protected]> wrote in message
news:[email protected]...
Hi Rob,
I also have a similar error with deploying a Struts web application into
a
8.1 Basic Workshop Domain created
by 8.1 Platform.
I get a ClassNotFoundException for 'com.wlw...StrutsLogFactory', whenStruts
tries to load any Jakarta class
from commons-beanutils or Struts which has logging.
This happens because commons-logging picks up some property whichinstructs
it to load that class, which is
naturally not included in most web applications, since it is
workshop-specific. This property definition, I think,
is in <bea>\weblogic81\server\knex.jar, called
commons-logging.properties,
containing the following line:
org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
ogFactory
How can I override this in my webapp in a property file, so that when a
Struts or Beanutils class calls
LogFactory.getLog(org.apache.....<classname>.class), it would not try touse
the property file and the
class defined in knex.jar.
Thanks in advance,
Robert Varga
"Rob Woollen" <[email protected]> wrote in message
news:[email protected]...
Actually it complained about a NoClassDefFoundError. Generally this
is
caused by something in a parent classloader that is found but then
depends on something only loadable in a child classloader.
eg.
You have something in your $CLASSPATH that references something in the
WEB-INF/lib. This will NoClassDefFoundError.
So, as I recommended, remove everything you've added to the$CLASSPATH,
add the jars to WEB-INF/lib. If you're still having problems, show me
your $CLASSPATH, the contents of WEB-INF/lib, and the error message
/stack trace.
-- Rob
yuruo chen wrote:
Hello, Rob,
I did put the common-beanutils and other jar files in the
web-inf/lib
directory.
And from the weblogic console, I do see the jar file get included in
the
classpath.
(those generated file name have some number attached at the end.)
As
I
mentioned
before, I can use javap find the class using this weblogic generatedclasspath.
But weblogic complained that the class is not found.
Rob Woollen <[email protected]> wrote:
Remove anything you've added to the server's classpath.
Add the required jar files to WEB-INF/lib
-- Rob
yuruo chen wrote:
Hello,
I am tring to deploy my struts web application in weblogic 8.1. I
have
all the
library files in web-inf\lib directory. It gave me the error that
class
not found
for some class in struts library. The console also told me the
classpath.
But
I can use javap to find the class using the same classpath. Could
any
>>>>>
one point
me some direction what I am doing wrong here.
Thanks.
Here is the error message:
java.lang.NoClassDefFoundError:
org/apache/commons/beanutils/Converter.>
<Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216>
<Servlet:
>>>>>
"action"
fa
iled to preload on startup in Web application: "voppocWebApp".
javax.servlet.ServletException:
[HTTP:101250][ServletContext(id=9921725,name=vop
pocWebApp,context-path=/voppocWebApp)]: Servlet classorg.apache.struts.action.A
ctionServlet for servlet action could not be loaded because a classon which it
depends was not found in the classpath
C:\bea\weblogic81\server\bin\myserver\upl
>
oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
>
t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
>
\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
>
_voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
>
server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
>
rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
>
yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
>
\lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
>
ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
>
upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
>
erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
>
a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
>
ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
>
r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
>
s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
>
\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
>
karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
>
myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
>
C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
>
pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
>
in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
>
EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
java.lang.NoClassDefFoundError:
org/apache/commons/beanutils/Converter.
atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:800)
atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3236)
atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3181) -
Class not found for class generated by autotype when deploy
I'm getting a ClassNotFoundException when I attempt to deploy a webservice that was originally generated from an XSD.
1) I create the stubs using "autotype" and the schemaFile attribute. Class files are generated and placed in the location specified by destDir.
2) I then run source2wsdd to generate the web-services.xml and WSDL files. source2wsdd specified the "javaSource" attribute and points to the java file the WebService is to call.
I also take all the generated JAVA classes and put it into a JAR file for step 3.
3) I run wspackage to create the EAR file. For "webAppClasses" I specify the class files that goes with the "javaSource" specified in step 2. I also take the JAR file created in step 2 (which contains all the code generated by step 1) and use "utilJars" to put in the the /lib directory of the war file.
4) When I deploy, I get a "class not found" for one of the classes that is in the utility jar file I created in step 2. I have verified that the jar file is in the "web-inf/lib" directory.
What am I not seeing that is causing WebLogic (WLS 8.0 SP2) to not find the class?
Thanks in advance...
WayneBruce: Got it working. (Bad news is I'm not sure what I did to fix it. :-( )
My service now deploys, but I'm having problems doing a "source2wsdd" from inside
Eclipse. Found another customer in this group with the same issue, and added my
info to his message.
For now I have to run the build outside Eclipse, but at least my service is deployable.
Thanks for taking the time to reply to my message!
Wayne
Bruce Stephens <[email protected]> wrote:
I think attachments are working again, so you might post a short example
and we can take a look...
Bruce Stephens wrote:
Hi Wayne,
Could it be something simple like not being capital "WEB-INF"
...probably not, but who knows. Also, in step 1, is your destDir going
to WEB-INF/classes ?? Might review the working example Manoj generated
[1].
HTH,
Bruce
[1]
http://www.manojc.com/?sample43
Wayne Holmes wrote:
I'm getting a ClassNotFoundException when I attempt to deploy a webservice
that was originally generated from an XSD.
1) I create the stubs using "autotype" and the schemaFile attribute.Class files are generated and placed in the location specified by destDir.
2) I then run source2wsdd to generate the web-services.xml and WSDLfiles. source2wsdd specified the "javaSource" attribute and points to
the java file the WebService is to call.
I also take all the generated JAVA classes and put it into a JARfile for step 3.
3) I run wspackage to create the EAR file. For "webAppClasses" Ispecify the class files that goes with the "javaSource" specified in
step 2. I also take the JAR file created in step 2 (which contains all
the code generated by step 1) and use "utilJars" to put in the the /lib
directory of the war file.
4) When I deploy, I get a "class not found" for one of the classesthat is in the utility jar file I created in step 2. I have verified
that the jar file is in the "web-inf/lib" directory.
What am I not seeing that is causing WebLogic (WLS 8.0 SP2) to notfind the class?
Thanks in advance...
Wayne -
Object.class not found for JDeveloper For 11.5.102CU (Patch 4573517)
Hi,
we've just upgraded to 11.5.10 CU2 and I have downloaded new jdeveloper (4573517). On tryinmg to rebuild Tutorial.jpr I get compilation error "Initialization error. File java\lang\Object.class not found on classpath". JDEV_USER_HOME is set correctly to C:\OAJDEV11510\jdevhome\jdev and appears to be picked up in classpath settings below.
Full compilation error below:
Error: initialization error: file java\lang\Object.class not found on classpath C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\rt.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\i18n.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\jsse.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\jce.jar;C:\OAJDEV11510\jdevhome\jdevbin\jdk\jre\lib\charsets.jar;C:\OAJDEV11510\jdevhome\jdev\myclasses;C:\OAJDEV11510\jdevhome\jdev\myhtml\WEB-INF\lib\datatags.jar;C:\OAJDEV11510\jdevbin\jdev\lib\jdev-rt.jar;C:\OAJDEV11510\jdevbin\jdbc\lib\classes12.jar;C:\OAJDEV11510\jdevbin\jdbc\lib\nls_charset12.jar;C:\OAJDEV11510\jdevbin\jlib\jdev-cm.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jmt.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\collections.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jct.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\xmlparserv2.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\jndi.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jctejb.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\ejb.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jhtml.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\datatags.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4juixtags.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4j_jclient_common.jar;C:\OAJDEV11510\jdevbin\BC4J\jlib\bc4jctvb.jar;C:\OAJDEV11510\jdevbin\vbroker4\lib\vbjorb.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\ojsp.jar;C:\OAJDEV11510\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\OAJDEV11510\jdevbin\j2ee\home\oc4j.jar;C:\OAJDEV11510\jdevbin\j2ee\home\lib\servlet.jar;C:\OAJDEV11510\jdevbin\jdev\lib\ojc.jar;C:\OAJDEV11510\jdevbin\jakarta-commons-el\jsp-el-api.jar;C:\OAJDEV11510\jdevbin\jakarta-commons-el\commons-el.jar;C:\OAJDEV11510\jdevbin\jakarta-commons-el\oracle-el.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\regexp.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\share.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\sax2.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\uix2.jar;C:\OAJDEV11510\jdevbin\mds\lib\mdsrt.jar;C:\OAJDEV11510\jdevbin\jdev\lib\mdsdt.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\oamdsdt.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\fwk.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\wf.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\ak.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\flex.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\aolj.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\collections.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\appsSSO.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\concurrent.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\wsp.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\diagnostics.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\biamlocal.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bipres.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bicmn.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bidatasvr.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bidataclt.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bidatacmn.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\biext.jar;C:\OAJDEV11510\jdevbin\bibeans\lib\bicmn-nls.zip;C:\OAJDEV11510\jdevbin\bibeans\lib\bipres-nls.zip;C:\OAJDEV11510\jdevbin\bibeans\lib\bidata-nls.zip;C:\OAJDEV11510\jdevbin\bibeans\lib\olap_api_92.jar;C:\OAJDEV11510\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\OAJDEV11510\jdevbin\BC4J\jlib\bc4jdatum.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\cacheFwk.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\jttComn.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\iasjoc.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\pat.zip;C:\OAJDEV11510\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\OAJDEV11510\jdevbin\jdev\appslibrt\svc.zip;C:\OAJDEV11510\jdevbin\BC4J\jlib\bc4jtester.jar;C:\OAJDEV11510\jdevbin\lib\xmlparserv2.jar;C:\OAJDEV11510\jdevbin\jlib\help4-nls.jar;C:\OAJDEV11510\jdevbin\jlib\help4.jar;C:\OAJDEV11510\jdevbin\jlib\share.jar;C:\OAJDEV11510\jdevbin\jlib\jewt4-nls.jar;C:\OAJDEV11510\jdevbin\jlib\jewt4.jar;C:\OAJDEV11510\jdevbin\jlib\oracle_ice5.jarRT.JAR Files as mentioned in the Error log is not in the Directory ( you can verify)
Usually rt.jar is in
jdevbin\jdk\jre\lib.. Check the JDEV_USER_HOME variable and also the Libraries under Project Setting of JDEV , when you click on any specific lib it show you a path in the class path section..verify the same.
Thanks,
Sunit -
OC4J: Class not found for class in jar file placed in \j2ee\home\applib\
I have an ADF application which uses external libraries (jars), which works fine when running the application from within JDeveloper (TP4).
However if I deploy the application to the embedded OC4J server it won't find any classes imported in those external libraries at runtime (deploy does work). E.g. one library class imports oracle.jbo.server.DBTransaction. If a method of this class is called I get the following exception:
Unexpected exception caught: java.lang.NoClassDefFoundError, msg=oracle/classloader/util/AnnotatedNoClassDefFoundError
oracle/classloader/util/AnnotatedNoClassDefFoundErrorThe same exception, when using a german locale, explicitely states that it cannot find oracle.jbo.server.DBTransaction.
The jar files are placed in the \j2ee\home\applib\ directory and a <library> element to this path is present in application.xml.
Any further hints what could be wrong?Hi Edwin,
tried your suggestions but without success.
when I add this library to server.xml then following error occures when starting OC4J
17.09.2008 17:10:33 oracle.oc4j.util.SystemLog log
SCHWERWIEGEND: Server start failed processing configuration
java.lang.InstantiationException: Illegal tag, 'library': The library tag has moved from config/server.xml to config/application.xml, please update your configuration manually or reinstall.
at com.evermind.server.XMLApplicationServerConfig.parseDeploymentMainNode(XMLApplicationServerConfig.java:1227)
at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:342)
at com.evermind.xml.XMLConfig.init(XMLConfig.java:222)
at com.evermind.xml.XMLConfig.init(XMLConfig.java:154)
at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:237)
at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:661)
at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:225)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:244)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:619)
17.09.2008 17:10:33 oracle.oc4j.util.SystemLog logNoStack
SCHWERWIEGEND: Server exiting: ApplicationServer entered state EXITING--> I added this to application.xml
Than I enabled more logging of classloader "-Duser.country=US -Dclass.load.log.level=finest"
Here a snippet of the output at starttime of OC4J:
================================
08/09/18 10:17:07 Initial class loaders created. Uptime: 3156ms.
08/09/18 10:17:07 Loading main class com.evermind.server.OC4JServer...
08/09/18 10:17:07 com.evermind.server.OC4JServerMain class loaded. Uptime: 3344ms.
08/09/18 10:17:07 Transferring to com.evermind.server.OC4JServer.main()...
08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
08/09/18 10:17:15 Ignoring <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml entry: code-source /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/lib/api-ext/adflogginghandler.jar (from system property api.ext.dirs) is already visible in the search path of adf.oracle.domain:11.1.4949.
08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
08/09/18 10:17:15 Import was not resolved for adf.oracle.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.
08/09/18 10:17:15 Import was not resolved for adf.generic.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.Seems that oracle.fabric.runtime couldn't be found but the jar's are located in D:\oracle\jdevstudio1111_preview4_standalone\lib\java\shared\oracle.fabric.runtime\11.1.1.0.0
It's the same as with my jdeveloper installation where I don't have this problems.
regards
Peter -
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 -
Modify service endpoint in webservices.xml throws class not found for link
Hello, we had a problem for serveral days and have not found any solutions googling. We read the documentation and seems ok, so we are a little desesperate.
We have a WebService project in Oracle Eclipse included in Weblogic 10.3.5 with the following classes:
- An EJB (org.test.TestWSImpl) with the @WebService annotation:
@WebService(serviceName = "TestService", portName = "testService", targetNamespace = "testNameSpace",
endpointInterface = "test.TestWS", wsdlLocation = "/wsdls/test.wsdl")
- When deploying the ear all runs ok. Now, for serveral business reasons, we need to change the defalut service URI so we added a webservices.xml and weblogic-webservices.xml.
The webservices.xml:
<?xml version='1.0' encoding='UTF-8'?>
<webservices xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2">
<webservice-description>
<webservice-description-name>TestService</webservice-description-name>
<port-component>
<port-component-name>testService</port-component-name>
<wsdl-port xmlns:tns="testNameSpace">tns:testDataService</wsdl-port>
<service-endpoint-interface>test.TestWS</service-endpoint-interface>
<service-impl-bean>
<ejb-link>TestWSImpl</ejb-link>
</service-impl-bean>
</port-component>
</webservice-description>
</webservices>
In the weblogic-webservices.xml we define the new endpoint:
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-webservices
xmlns="http://xmlns.oracle.com/weblogic/weblogic-webservices"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-webservices http://xmlns.oracle.com/weblogic/weblogic-webservices/1.1/weblogic-webservices.xsd">
<webservice-description>
<webservice-description-name>IE3SEnvironmentalMasterDataService</webservice-description-name>
<webservice-type>JAXWS</webservice-type>
<port-component>
<port-component-name>e3sEnvironmentalMasterDataService</port-component-name>
<service-endpoint-address>
<webservice-contextpath>/E3S</webservice-contextpath>
<webservice-serviceuri>/e3sEnvironmentalMasterDataService</webservice-serviceuri>
</service-endpoint-address>
</port-component>
</webservice-description>
We apreciate any help
Thanks in advance!
Edited by: 960518 on 21/09/2012 02:42
Sorry for the copy; a browser error. Please delete this threadWe have found a solution removing the eclipse webservice project and adding the EJB inside the EJB project module.
greetings. -
RE: (load : class not found) for IE.5 browser
Hi
I try appletviewer example1.html
can do this class.
But use IE.5 browser can't try this class
show load : class Cor1 not found when mouse over it
(my class include "import javax.swing.*;")
Please help me
thanks a lot
DavidHi
thanks for your help
But I want make a html file include class
for every body view by internet
So I want to know
How let they can see my html file by IE.5 or Netscap. if they no Html converter?
David -
Class not found for: double
Does anyone know how to get the class for a primitive double?
I am trying to invoke a method that has a double parameter and I need the primitive double class.
java.lang.ClassNotFoundException: doublehttp://java.sun.com/j2se/1.5.0/docs/api/java/lang/Doub
le.html#TYPEThanks for responding but,
I forgot to add that I am using j2se 1.4.2 so I dont have that class :-(
I am I am not trying to invoke a method I am actually trying to get a method
args = Class[]{Class.forName("double")};
obj.getClass().getMethod(methodName, args)Message was edited by:
jwstudent
Message was edited by:
jwstudent -
Class not found for web service
hi,
I'm tring to develop a simple web service using axis 1.3 and Tomcat 5.0 as container and server but I've got some problem catching some class. I've downloaded all the jar files (all the org.apache.axis.* and all in the WSDP2.0) but when I open jar files I get only the *.class and not the *.java.... I use the NetBeans IDE 5.0 to develop all the class but it say that it can find all these class.
(I've put all the needed jar file in the library of the package)
actually I need the AdminClient.java, Service.java all the jaxrpc.
I think it could be really a simple problem.... but I don't know how I can go on....
thanksI've just done the download of wsdp 2.0 or the previous version but in all jar file I can find only files with extension *.class. I need the *.java ?Isn't it?
It's possible that the problem is using netbeans 5.0?
I don't think so because also from the dos command line I can't found the property class....( java2wsdl.java ) -
Class not Found Execption for inner classes
Hi ,
When I am trying to deploy a custom component despite of putting the class path I am facing isses regarding class not found for classes that are present in an inner jar.Can someone please let me know what could nbe wrong.Please let me know the correct way of doing so.
I am adding a data type as well and adding the path thre also.
Regards,
LeenaThe most common problem is in the path part of the class-path. One thing to remember is not to bother with .. or / at the start of the path. For example my jar files are in a lib folder off the root of my application:
<class-path>lib\aglj40.jar lib\pdfcore.jar lib\pdfencryption.jar lib\pdfservices.jar lib\rideau.jar</class-path> -
Class not found exception for the startup class defined.
iam using weblogic server 10 and bea jrockit 1.5.0.12.
i have created a startup class in the admin console for a web project and i have deployed the war file using the console in a user defined domains, user project directory.
when i start the server, iam getting class not found exception for the startup class.
But, the startup class is available in the web archive (war). how should we add the classes and jars in the war to the classpath in setDomainEnv.sh or is there any other setting available in the console to enable this.Hello Julius,
yes sure, we can move this post to the NW admin forum. I have already posted similar thread on sun forums. I was hoping that someone from SAP SDN already tackled this problem and if not someone specialized in J2EE Engine could troubleshoot me from the class problem I'm getting. I don't know if it's specific from the agent or if this ClassNotFound is a general SAP J2EE Engine error relating to a library not correclty defined.
Kind regards,
Tanguy Mezzano -
Java.rmi.UnmarshalException: skeleton class not found but required for clie
Hello everyone,
I am new to RMI and getting a strange exception. I am using Java 1.5.0_07 both on client and server. They are running on the same machine, the rmi registry is started inside the server application.
I am wondering why java complains about skeletons, I thought they are automatically created when using java 5.0?
Please have a look at the stacktrace below.
Thank you for your help.
Best Regards
Patric
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling call header; nested exception is:
java.rmi.UnmarshalException: skeleton class not found but required for client version
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
sun.rmi.transport.Transport$1.run(Transport.java:153)
java.security.AccessController.doPrivileged(Native Method)
sun.rmi.transport.Transport.serviceCall(Transport.java:149)
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
java.rmi.Naming.lookup(Naming.java:84)
org.apache.jsp.index_jsp._jspService(index_jsp.java:58)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)The full class path information that I can gather is as follows (some of the library path locations could be suspect...):
Class path: /edge/node3/hotfix::/edge/node3/current/lib/JMdsApi.jar:/edge/node3/current/lib/MemoryProfilingAgent.jar:/edge/node3/current/lib/T2common-2.6.0-SNAPSHOT.3200.jar:/edge/node3/current/lib/T2scripting-jython.jar:/edge/node3/current/lib/activation.jar:/edge/node3/current/lib/alib.jar:/edge/node3/current/lib/alibom.jar:/edge/node3/current/lib/ant.jar:/edge/node3/current/lib/authapi.jar:/edge/node3/current/lib/bbdlapi.jar:/edge/node3/current/lib/bcpg-jdk15-136.jar:/edge/node3/current/lib/bcprov-jdk15-136.jar:/edge/node3/current/lib/c3p0-0.9.1.2.jar:/edge/node3/current/lib/castor-1.1-codegen-anttask.jar:/edge/node3/current/lib/castor-1.1-codegen.jar:/edge/node3/current/lib/castor-1.1-xml.jar:/edge/node3/current/lib/castor-1.1.jar:/edge/node3/current/lib/colt-1.2.0.jar:/edge/node3/current/lib/common-annotations.jar:/edge/node3/current/lib/commons-beanutils.jar:/edge/node3/current/lib/commons-codec-1.3.jar:/edge/node3/current/lib/commons-collections-3.2.1.jar:/edge/node3/current/lib/commons-jexl-1.1.jar:/edge/node3/current/lib/commons-lang-2.3.jar:/edge/node3/current/lib/commons-logging-1.1.1.jar:/edge/node3/current/lib/commons-net-1.4.1.jar:/edge/node3/current/lib/dsn.jar:/edge/node3/current/lib/eagleapi.jar:/edge/node3/current/lib/ezmorph-1.0.3.jar:/edge/node3/current/lib/f2-loader-1.8.jar:/edge/node3/current/lib/fasttrade-boviewer-1.0.1.jar:/edge/node3/current/lib/hsqldb.jar:/edge/node3/current/lib/icu4j-3.4.4.jar:/edge/node3/current/lib/ivy.jar:/edge/node3/current/lib/janino.jar:/edge/node3/current/lib/janus-sdk-1.7.0.0.jar:/edge/node3/current/lib/jasypt-1.4.1.jar:/edge/node3/current/lib/javolution.jar:/edge/node3/current/lib/jcalendar-1.3.2.jar:/edge/node3/current/lib/jcl-over-slf4j-1.5.6.jar:/edge/node3/current/lib/jcommon-1.0.9.jar:/edge/node3/current/lib/jconn2.jar:/edge/node3/current/lib/jconn3-6.05-b26214.jar:/edge/node3/current/lib/jdom.jar:/edge/node3/current/lib/jfreechart-1.0.5.jar:/edge/node3/current/lib/jgroups-all.jar:/edge/node3/current/lib/jline.jar:/edge/node3/current/lib/jmkv123p1.jar:/edge/node3/current/lib/jna.jar:/edge/node3/current/lib/joda-time-1.5.2.jar:/edge/node3/current/lib/jscience.jar:/edge/node3/current/lib/json-lib-2.2.1-jdk15.jar:/edge/node3/current/lib/jul-to-slf4j-1.5.6.jar:/edge/node3/current/lib/junit.jar:/edge/node3/current/lib/jython.jar:/edge/node3/current/lib/log4j-1.2.15.jar:/edge/node3/current/lib/log4j-over-slf4j-1.5.6.jar:/edge/node3/current/lib/loggablePreparedStatement-1.6.jar:/edge/node3/current/lib/looks-2.1.4.jar:/edge/node3/current/lib/mailapi.jar:/edge/node3/current/lib/model-12021.jar:/edge/node3/current/lib/mysql-connector-java-5.1.7-bin.jar:/edge/node3/current/lib/opencsv-1.8.jar:/edge/node3/current/lib/rfa.jar:/edge/node3/current/lib/rspcore.jar:/edge/node3/current/lib/slf4j-api-1.5.6.jar:/edge/node3/current/lib/slf4j-log4j12-1.5.6.jar:/edge/node3/current/lib/smtp.jar:/edge/node3/current/lib/smtphandler-0.6.jar:/edge/node3/current/lib/spring-2.5.2.jar:/edge/node3/current/lib/statsvn.jar:/edge/node3/current/lib/swingx-0.9.3.jar:/edge/node3/current/lib/t2-12021.jar:/edge/node3/current/lib/testng-5.9-jdk15.jar:/edge/node3/current/lib/tibmsg.jar:/edge/node3/current/lib/tibrvj.jar:/edge/node3/current/lib/trove.jar:/edge/node3/current/lib/velocity-tools.jar:/edge/node3/current/lib/velocity.jar:/edge/node3/current/lib/xalan.jar:/edge/node3/current/lib/xerces.jar:/edge/node3/current/lib/patng/activeio-core-3.0.0-incubator.jar:/edge/node3/current/lib/patng/activemq-core-4.1.1.jar:/edge/node3/current/lib/patng/avalon-framework-4.1.3.jar:/edge/node3/current/lib/patng/backport-util-concurrent-2.2.jar:/edge/node3/current/lib/patng/binding-1.4.0.jar:/edge/node3/current/lib/patng/cglib-nodep-2.1_3.jar:/edge/node3/current/lib/patng/common-1.30.jar:/edge/node3/current/lib/patng/commons-cli-1.0.jar:/edge/node3/current/lib/patng/commons-configuration-1.2.jar:/edge/node3/current/lib/patng/commons-discovery-0.2.jar:/edge/node3/current/lib/patng/commons-math-1.1.jar:/edge/node3/current/lib/patng/concurrent-1.3.4.jar:/edge/node3/current/lib/patng/geronimo-j2ee-management_1.0_spec-1.0.jar:/edge/node3/current/lib/patng/geronimo-jms_1.1_spec-1.0.jar:/edge/node3/current/lib/patng/logkit-1.0.1.jar:/edge/node3/current/lib/patng/mina-core-1.0.1.jar:/edge/node3/current/lib/patng/mina-filter-ssl-1.0.1.jar:/edge/node3/current/lib/patng/mina-java5-1.0.1.jar:/edge/node3/current/lib/patng/mx4j-remote-3.0.1.jar:/edge/node3/current/lib/patng/mx4j-tools-3.0.1.jar:/edge/node3/current/lib/patng/org.apache.felix.framework-1.0.0.jar:/edge/node3/current/lib/patng/org.osgi.core-1.0.0.jar:/edge/node3/current/lib/patng/pat-dt-common-1.18.jar:/edge/node3/current/lib/patng/pat-sdt-1.18.jar:/edge/node3/current/lib/patng/patNg-api-1.27.1.jar:/edge/node3/current/lib/patng/patNg-server-aoc-1.21.jar:/edge/node3/current/lib/patng/patNg-server-common-1.21.jar:/edge/node3/current/lib/patng/patNg-server-session-manager-1.21.jar:/edge/node3/current/lib/patng/patNg-utils-1.27.1.jar:/edge/node3/current/lib/patng/qpid-broker-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-client-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-common-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-mina-core-2.2.2.0.jar:/edge/node3/current/lib/patng/rsee-2.11.jar:/edge/node3/current/lib/patng/servlet-api-2.3.jar:/edge/node3/current/lib/patng/silk-1.3.jar:/edge/node3/current/lib/patng/slf4j-api-1.4.0.jar:/edge/node3/current/lib/patng/slf4j-log4j12-1.4.0.jar:/edge/node3/current/lib/patng/validation-1.2.0.jar
Boot class path: /apps/jdk/1.6.0_13/linux/jre/lib/resources.jar:/apps/jdk/1.6.0_13/linux/jre/lib/rt.jar:/apps/jdk/1.6.0_13/linux/jre/lib/sunrsasign.jar:/apps/jdk/1.6.0_13/linux/jre/lib/jsse.jar:/apps/jdk/1.6.0_13/linux/jre/lib/jce.jar:/apps/jdk/1.6.0_13/linux/jre/lib/charsets.jar:/apps/jdk/1.6.0_13/linux/jre/classes:/tmp/yjp200811122006.jar
Library path: /apps/jdk/1.6.0_13/linux/jre/lib/i386/server:/apps/jdk/1.6.0_13/linux/jre/lib/i386:/apps/jdk/1.6.0_13/linux/jre/../lib/i386::/edge/node3/current/lib:/home/eqdev/eqedgeuat/yourkit_7_5_11/yjp-7.5.11/bin/linux-x86-32:/edge/node3/current/lib:/home/eqdev/eqedgeuat/yourkit_7_5_11/yjp-7.5.11/bin/linux-x86-32:/usr/java/packages/lib/i386:/lib:/usr/lib -
Renderer not found for renderable class Exception
Hi,
I'm getting this exception on a handheld device with OS Windows Mobile 5 and browser PIE. I've also tried to change the protocol between the server and client by adding the ?sap-wd-client=HtmlClient parameter to the end of my URL, however, it doesn't render my pull down selections properly. any suggestions?
Error stacktrace:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Renderer not found for the renderable class com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.HorizontalGutterAdapter
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.sendHtml(PieClient.java:929)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.fillDynamicTemplateContext(PieClient.java:386)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.sendResponse(PieClient.java:1067)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.retrieveData(PieClient.java:224)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:752)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
Caused by: com.sap.tc.webdynpro.clientserver.renderer.RendererNotFoundException: Renderer not found for the renderable class com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.HorizontalGutterAdapter
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.RenderManager.getRendererClass(RenderManager.java:119)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.createRenderer(AbstractRenderManager.java:287)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.getRenderer(AbstractRenderManager.java:271)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.getRenderer(AbstractRenderManager.java:254)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:334)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:328)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:247)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:200)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.render(GridLayoutRenderer.java:71)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:339)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:104)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.ScrollContainerRenderer.render(ScrollContainerRenderer.java:51)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:339)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.UiWindowRenderer.render(UiWindowRenderer.java:26)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:339)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.sendHtml(PieClient.java:921)
... 31 moreI know of the protocols to set by the client for the server to render applications: WmlClient, PieClient, Pie03Client, Nokia08Client, XmlClient, HtmlClient. What would the parameter be for standard IE 6.0 or 7.0 browsers?
-
Servlet class not found error deploying a WAR on Web Logic Server 8.1
I'm re-deploying an updated web application to a web logic server, but when I navigate to the login page of the web application to test it, I get a class not found error for my login servlet. I have both the web.xml and the weblogic.xml descriptors in my WEB-INF directory, and all of my compiled classes are in the WEB-INF/classes directory, is there something else I'm missing? Any help would be much appreciated.
Thanks for the response. Here's the web.xml file:
<?xml version="1.0" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Web Forms</display-name>
<servlet>
<servlet-name>LoginServlet</servlet-name>
<display-name>LoginServlet</display-name>
<servlet-class>LoginServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ChangePasswordServlet</servlet-name>
<display-name>ChangePasswordServlet</display-name>
<servlet-class>ChangePasswordServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>LogoutServlet</servlet-name>
<display-name>LogoutServlet</display-name>
<servlet-class>LogoutServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>PageServlet</servlet-name>
<display-name>PageServlet</display-name>
<servlet-class>PageServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>UploadServlet</servlet-name>
<display-name>UploadServlet</display-name>
<servlet-class>UploadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/LoginServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ChangePasswordServlet</servlet-name>
<url-pattern>/ChangePasswordServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LogoutServlet</servlet-name>
<url-pattern>/LogoutServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>UploadServlet</servlet-name>
<url-pattern>/UploadServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PageServlet</servlet-name>
<url-pattern>/PageServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>Login.jsp</welcome-file>
</welcome-file-list>
</web-app>
None of the classes are in a package (I know it's not the best idea, but I didn't write these, I'm just doing some updates). So the file structure is pretty much just WEB-INF/classes/
At the moment I've got a fix by just putting the entire project (not in any sort of archive) on the server itself instead of deploying it as a WAR, any thoughts on why the WAR isn't working would be much appreciated though.
Maybe you are looking for
-
My macbook pro is extremely slow
My macbook pro has gotten extremely slow and every thing I try to do I get the spinning color wheel. After I close the lid and when I re open it it takes forever to load. The wheel just spins and spins. What do I need to do to correct this problem.
-
Can't load previously installed Acrobat 9 Pro after my CS6 trial expired.
Can't load previously installed Acrobat 9 Pro after my CS6 trial expired. Keeps asking to buy the trial version or license the software (in reference to the CS6 trial, even though I'm loading my own Acrobat 9 Pro from my CS4 Creative Suite I purchase
-
How do I straighten images using Photoshop CS2?
Can someone please tell me how I straighten images like horizons and buildings using Photoshop CS2? I run the software under Windows XP Thank you.
-
The Solution of An Example from A Labview 4.0 Book
I have a "LabVIEW for Everyone - Graphical Programming Made Even Easier" published in 1997 and am learning from it since I am a beginner. There is an activity (6.7, calculator) on P.177 without instruction, and I cannot figure it out. Does anyone k
-
I am using 2013 Version V14.0.9 R10 Quickbooks. Is it compatible with OS X Mavericks? If so, do I have to do anything after I upgrade? Thanks