A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Exception while Deploying struts application in Weblogic
yekkala krishna
Ranch Hand
Joined: Mar 04, 2007
Posts: 105
posted
Feb 06, 2011 00:41:36
0
Hi,
I am deploying struts2.0 example in apache tomcat.Its working fine.
when i deploy same application in weblogic its giving below exception:
Exception:weblogic.management.ApplicationException: prepare failed for struts2ex Module: struts2ex Error: Could not load struts2ex: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [Deployer:149033]preparing application struts2ex on myserver [Deployer:149033]failed application struts2ex on myserver [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application struts2ex on myserver.: Exception:weblogic.management.ApplicationException: prepare failed for struts2ex Module: struts2ex Error: Could not load struts2ex: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 .
i added weblogic.xml also :
you can see the xml as below:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd" > <weblogic-web-app> </weblogic-web-app>
could any body suggest what changes can i do to deploy struts2 application in weblogic server.
Thanks in advance.
Regards,
Rama
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8262
I like...
posted
Feb 07, 2011 09:05:37
0
Please don't post the
same question
more than once.
Now the relevant information for your problem is scattered across three posts.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[
How To Ask Questions On JavaRanch
]
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Exception while Deploying struts application in Weblogic
Similar Threads
problem deploying simple EJB in weblogic
Deployer:149033]preparing application SFSB on myserver
Deploying Entity Bean
Exception while Deploying Axis2 on weblogic 8.1 SP3
Weblogic 8.1: "java.lang. ClassNotFoundException: weblogic.servlet. WlwJSPServlet"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter