jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Error while configuring weblogic8.1 with struts1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error while configuring weblogic8.1 with struts1.1" Watch "Error while configuring weblogic8.1 with struts1.1" New topic

Error while configuring weblogic8.1 with struts1.1

Ranjith Koppu

Joined: Dec 04, 2006
Posts: 7
I am trying my first struts application using weblogic8.1 server.I used Weblogic workshop and the application worked fine.But now I tried to use Eclipse3.2 as the IDE and weblogic8.1 as the server.
First it threw warnings regarding the struts*.tld files displaying
"java.sun.com"is not reachable .The same was the case with "www.bea.com".
I resolved these warning s but getting the tld files and placed it in the WEB-INF directory of my application.I added all the required jars struts.jar,commons-beanutils.jar...as external jars to the application.But when I start the server I get an exception
<Servlet: "action" failed to preload on startup in Web application: "StrutsProject".
javax.servlet.ServletException: org/apache/commons/logging/LogFactory
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:990)...
and after that when I access the page using the url
http://localhost:7001/StrutsProject/login.do (I mapped "/login" in struts-config.xml) then I get an exception
<Error while using app descriptor files
java.io.FileNotFoundException: C:\bea\weblogic81\samples\domains\workshop\cgServer\stage\_appsdir_StrutsProject_war missing application.xml and/or weblogic-application.xml descriptors and

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27

on the webpage itself..
Can you please help me in resolving the problem
I agree. Here's the link: http://aspose.com/file-tools
subject: Error while configuring weblogic8.1 with struts1.1
It's not a secret anymore!