War File Madness and possible hints.

From: James Cicenia (jame..imijon.com)
Date: Tue Mar 08 2005 - 17:18:27 EST

  • Next message: Timo Hoepfner: "Refreshing workspace"

    Hello -

    When I run my build I get this typical error:

    :41,084 INFO [ConnectionFactoryBindingService] Bound connection
    factory for resource adapter for ConnectionManager
    'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name
    'java:JmsXA'
    15:50:49,838 INFO [TomcatDeployer] deploy, ctxPath=/TOSWar,
    warUrl=file:/usr/local/jboss-4.0.1sp1/server/default/tmp/deploy/
    tmp48395TOSWar.war/
    15:50:56,099 INFO [STDOUT] Classes and frameworks will be loaded out
    of the WEB-INF/lib and WEB-INF/classes directories.
    15:50:56,135 INFO [STDOUT] MainBundle will be set to TOSDevelopment
    15:50:59,532 INFO [STDOUT] java.lang.reflect.InvocationTargetException
    15:50:59,536 INFO [STDOUT] at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    15:50:59,537 INFO [STDOUT] at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
    a:39)
    15:50:59,538 INFO [STDOUT] at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
    Impl.java:25)
    15:50:59,539 INFO [STDOUT] at
    java.lang.reflect.Method.invoke(Method.java:324)
    15:50:59,540 INFO [STDOUT] at
    com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAda
    ptor.java:415)
    15:50:59,541 INF

    HOWEVER
    When I just copy over the .jar files from an Xcode build of a simple
    project I get this type of error which is a lot closer:

    6:12:37,657 INFO [STDOUT] Classes and frameworks will be loaded out of
    the WEB-INF/lib and WEB-INF/classes directories.
    16:12:37,697 INFO [STDOUT] MainBundle will be set to TOSDevelopment
    16:12:41,542 ERROR [TOSDevelopment] <WOApplication>.primeApplication:
    Application class is not in a package. This could cause problems with
    some appservers.
    16:12:41,544 INFO [TOSDevelopment] <WOApplication>.primeApplication:
    The Application name is JavaWebObjects
    16:12:41,674 ERROR [TOSDevelopment] ** DirectToWeb could not find
    user.d2wmodel file. One will be created if you try to save changes.
    16:12:42,096 ERROR [TOSDevelopment] ** DirectToWeb could not find
    user.d2wmodel file. One will be created if you try to save changes.
    16:12:42,108 ERROR [TOSDevelopment] DirectToWeb using default
    user.d2wmodel file.
    16:12:42,149 ERROR [TOSDevelopment] The URL for webserver connect
    through Servlet Container is:
    http://jimijon.local/TOSDevelopment/WebObjects/JavaWebObjects.woa
    16:12:42,151 INFO [TOSDevelopment] Waiting for requests...
    16:12:42,291 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console,
    warUrl=file:/usr/local/jboss-4.0.1sp1/server/default/deploy/jmx-
    console.war/
    16:12:42,593 INFO [TomcatDeployer] deploy, ctxPath=/web-console,
    warUrl=file:/usr/local/jboss-4.0.1sp1/server/default/deploy/management/
    web-console.war/
    16:12:44,150 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
    http-0.0.0.0-8080
    16:12:44,457 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
    16:1

    This is my simple project, however, the jars I copied over to the lib
    directory where (Which are different in that the original jars from the
    build
    are all lower case!!):

    JavaDirectToWeb.jar
    JavaDTWGeneration.jar
    JavaEOAccess.jar
    JavaEOControl.jar
    JavaEOProject.jar
    JavaFoundation.jar
    JavaJDBCAdaptar.jar
    JavaWebObjects.jar
    JavaWOExtensions.jar.

    Any thoughts that might help me in this battle?

    James Cicenia



    This archive was generated by hypermail 2.0.0 : Tue Mar 08 2005 - 17:18:38 EST