facebook

[Closed] Can not locate app.properties file using weblogic

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #238706 Reply

    gibs
    Member

    When I tried to start weblogic 6.1 in MyEclipse 4.0 using Eclipse 3.0, I got the following error messages. Somehow it tried to look for this app.properties file in the following directory

    C:\WebSphere\AppServer\installedApps\examples.ear\examples.war\properties\app.properties

    I don’t even have the WebSphere directory on my pc. When I started weblogic via the comand line, it works fine.

    Do you have any ideas? Thanks

    Starting WebLogic Server ….
    <Oct 4, 2005 1:39:24 PM PDT> <Notice> <Management> <Loading configuration file C:\bea\wlserver6.1\config\gibs\config.xml …>
    <Oct 4, 2005 1:39:25 PM PDT> <Notice> <WebLogicServer> <Starting WebLogic Admin Server “wlserver” for domain “gibs”>
    <Oct 4, 2005 1:39:26 PM PDT> <Notice> <Management> <Applications will only be copied to managed servers when needed. To force applications to be copied to managed servers when they are started, specify system property -Dweblogic.management.forceApplicationCopy=true on your startup command.>
    <Oct 4, 2005 1:39:35 PM PDT> <Warning> <HTTP> <Public ID references the old version of Servlet DTD. Please, change the public ID in web.xml file to “-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN”.>
    <Oct 4, 2005 1:39:35 PM PDT> <Warning> <HTTP> <Deployment descriptor is malformed, check against the DTD: org.xml.sax.SAXParseException: The content of element type “web-app” must match “(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*)”..>
    <Oct 4, 2005 1:39:39 PM PDT> <Notice> <Management> <Application Poller started for development server.>
    Properties file for Servlet context is – null
    Application Properties File – C:\WebSphere\AppServer\installedApps\examples.ear\examples.war\properties\app.properties
    Error – java.io.FileNotFoundException: C:\WebSphere\AppServer\installedApps\examples.ear\examples.war\properties\app.properties (The system cannot find the path specified)
    Error – java.io.FileNotFoundException: C:\WebSphere\AppServer\installedApps\examples.ear\examples.war\properties\app.properties (The system cannot find the path specified)
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    Error – java.lang.NullPointerException
    <Oct 4, 2005 1:39:40 PM PDT> <Notice> <WebLogicServer> <ListenThread listening on port 7001>
    <Oct 4, 2005 1:39:41 PM PDT> <Notice> <WebLogicServer> <Started WebLogic Admin Server “wlserver” for domain “gibs” running in Development Mode>

    #238713 Reply

    gibs
    Member

    I fixed it already. It’s one of the parameters for the VM. Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] Can not locate app.properties file using weblogic

You must be logged in to post in the forum log in