Win a copy of Terraform in Action this week in the Cloud forum!

Sachin Kumar R Gundi

Greenhorn
+ Follow
since Sep 20, 2011
Sachin Kumar likes ...
Eclipse IDE Oracle Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sachin Kumar R Gundi

Eclipse forgets to copy the default apps (ROOT, examples, etc.) when it creates a Tomcat folder inside the Eclipse workspace.This can be fixed in eclipse by following the below steps.
1. Go to Java perspective
2. Select Window->Show View->Server
3. Double click the added tomcat server and Overview Screen is displayed.
4. Under Server Locations select 2nd radio button (Use Tomcat installation) and save it and restart the server.

Happy coding!!!
8 years ago
Eclipse forgets to copy the default apps (ROOT, examples, etc.) when it creates a Tomcat folder inside the Eclipse workspace.This can be fixed in eclipse by following the below steps.
1. Go to Java perspective
2. Select Window->Show View->Server
3. Double click the added tomcat server and Overview Screen is displayed.
4. Under Server Locations select 2nd radio button (Use Tomcat installation) and save it and restart the server.

Happy coding!!!
8 years ago
Hi Claudiu ,
thanks for the reply.
yes the cactus.jar file is available in the classpath.
I tried placing the old web.xml (before running the DDConvertor) used in weblogic 9.2, which consists the same entry as the new one including the defination for org.apache.cactus.server.ServletTestRedirector.And it works fine....
I wonder what would be the difference.Is it the xsd's refered in the xml file?
10 years ago
Hi,
We have a migration program of our application from weblogic 9.2 to 10.3.3 application server.Accordingly we had to run the weblogic DD convertor to generate the deployment descriptor to be compatible with the latest server which generated in the xml files refering to latest xsd references for 10.3.3 server.
But unfortunately during the deployment of ear file we faced with ClassNotFoundException for ServletTestRedirector.
PFB the complete error log generated during the server startup.
Could anyone please help me on this issue.


Nov 17, 2011 9:51:00 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Nov 17, 2011 9:51:09 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
<Nov 17, 2011 9:51:10 AM EST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application /webmasters/app/10.3.3_64/domains/PWB/servers/PWB_Managed001/tmp/_WL_user/pwb/12hkzy/pwbapp.war. Please make sure that the annotations are valid. The error is org.apache.cactus.server.ServletTestRedirector>
<Nov 17, 2011 9:51:10 AM EST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'pwb' due to error weblogic.application.ModuleException: Failed to load webapp: 'PartsWB'.
weblogic.application.ModuleException: Failed to load webapp: 'PartsWB'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: org.apache.cactus.server.ServletTestRedirector
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Truncated. see log file for complete stacktrace
>
<Nov 17, 2011 9:51:10 AM EST> <Emergency> <Deployer> <BEA-149259> <Server 'PWB_Managed001' in cluster 'PWB_Cluster' is being brought up in administration state due to failed deployments.>
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
10 years ago