wood burning stoves 2.0*
The moose likes Struts and the fly likes Error while starting the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error while starting the server" Watch "Error while starting the server" New topic
Author

Error while starting the server

vicky malhotra
Greenhorn

Joined: Feb 05, 2005
Posts: 16
Hi!

I am getting this error while starting the weblogic server on which my struts application is deployed:

[ChangeAwareClassLoader] : Name is : META-INF/services/org.apache.commons.logging.LogFactory
[INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
[ERROR] ActionServlet - -null <java.net.UnknownHostException: java.sun.com>java.net.UnknownHostException: java.sun.com
at java.net.InetAddress.getAllByName0(InetAddress.java:566)
at java.net.InetAddress.getAllByName0(InetAddress.java:535)
at java.net.InetAddress.getAllByName(InetAddress.java:528)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:198)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:263)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:121)
at weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:123)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:315)
at java.net.URL.openStream(URL.java:793)
at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:777)
at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:574)
at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1154)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2230)
at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2185)
at weblogic.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:916)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:975)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:713)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:656)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:601)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2272)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2216)
at weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:495)
at weblogic.servlet.internal.WebService.preloadServlets(WebService.java:450)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49)
at java.lang.Thread.run(Thread.java:479)

javax.servlet.ServletException: java.sun.com
at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1437)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:713)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:656)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:601)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2272)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2216)
at weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:495)
at weblogic.servlet.internal.WebService.preloadServlets(WebService.java:450)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49)
at java.lang.Thread.run(Thread.java:479)
[ChangeAwareClassLoader] : Name is : META-INF/services/org.apache.commons.logging.LogFactory
[INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
[INFO] PropertyMessageResources - -Initializing, config='ApplicationResources', returnNull=true

I have checked the strutd-config and web.xml. They are all right.

Please if any one knows the problem, do reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while starting the server
 
Similar Threads
error about "preload failure"
question about jndi for datasource
error from log4j, anyone help me out?
Weblogic 6.1 SP3 on Struts beta 2: NoClassDefFoundError
Some problems with Log4J