Sun-appserv-deploy task fails

Hi There,
I am trying to deploy an EJB module into the Sun Application Server 8 using ANT scripts.
The given below is the script, I use.
<taskdef name="sun-appserv-deploy"
classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask">
<classpath>
<pathelement location="${appSerLib}/sun-appserv-ant.jar"/>
</classpath>
</taskdef>
<target name="doDeploy">
<sun-appserv-deploy file="${destDir}/${ejbJarName}" name="SampleEjb"
force="true" type="ejb" verify="false" user="admin" password="#infy123"
host="localhost" port="4848" generatermistubs="true" asinstalldir="${appServer}"/>
</target>
The build fails throwing the below error
A Sun Java System Application Server 8 admin CLI class could not be found (com.sun.enterprise.cli.framework.InputsAndOutputs). Use the asinstalldir attribute, set the asinstall.dir property, or add the appropriate JARs to the classpath.
See the script I have mentioned the asinstalldir attribute in the sun-appserv-deploy.
Need help to resolve it.
..Thiruppathy.R

Use the 'asant' command to run your script rather than 'ant'. This will set up the required environment variables to allow the task to execute.
Cheers
Spencer

Similar Messages

  • Eclipse: Ant: sun-appserv-deploy, not working, help please.

    Hello,
    Trying to use Eclipse: Ant to deploy using the build.xml to localhost. I have the following target in my Ant build.xml file, but it's not picking up the <sun-appserv-deploy> tag.
    I have the following file is the Ant classpath:
    C:\Sun\studio5u1_se\appserver7\lib\ant\lib\jakarta-ant-1.4.1-optional.jar.
    I'm not asking for Eclipse configuration or Ant help, but what .jar file(s) do I need and where do they have to be for Ant to recognize the <sun-appserv-deploy> tag?

    The sun-appserv-deploy tasks are defined in the sun-appserv-ant.jar (which I think is in C:\Sun\studio5u1_se\appserver7\lib on your machine).
    Check the ant documentation for instructions on integrating tasks into your environment.
    vbk

  • Sun-appserv-deploy cutom Ant task

    Hi
    I wanted to use sun-appserv-deploy custom ant task in my build file to deploy an archive. But the file attribute requires EXISTING file which is constantly being deleted and recreated during development...
        <taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask">
            <classpath refid="j2ee.classpath"/>   
        </taskdef>
        <sun-appserv-deploy
          file="webapp1.war"
          contextroot="/webapp1"
          name="webapp1WAR
          force="true"
          precompilejsp="false"
          verify="false"
          upload="true"
          user="admin"
          passwordfile="${passwordfile}"
          host="localhost"
          port="4848"
          asinstalldir="${j2ee.home}"/>
    Unless the "webapp1.war" exists the enitre build.xml file invalidates (in eclipse)
    How do I use this custom task during my development time (obviously when I run clean the WAR file is removed which invalidates my build.xml)
    Is there a workaround for this?
    Thanks
    Z...

    You have to include an additional attribute in the task:
    <sun-appserv-deploy ... generatermistubs="true" />Edited by: sjfischli on May 15, 2008 8:54 AM

  • Using sun-appserv-deploy without asant

    Hello,
    I want to use the sun-appserv-deploy ant task without having to use asant.
    I've got the following taskdefs:
      <taskdef name="sun-appserv-deploy"
               classpathref="sunone.classpath"
               classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask"
      />
      <taskdef name="sun-appserv-undeploy"
               classpathref="sunone.classpath"
               classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.UndeployTask"
      />
      <taskdef name="sun-appserv-admin"
               classpathref="sunone.classpath"
               classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask"
      />Running the following target with these I get the following error:
    target:<target name="sunone-deploy">
        <sun-appserv-deploy
          precompilejsp="${sunone.precompilejsp}"
          verify="${sunone.verify}"
          upload="${sunone.upload}"
          force="${sunone.force}">
            <server
              host="${sunone.host}"
              port="${sunone.port}"
              user="${sunone.user}"
              password="${sunone.password}"
              instance="${sunone.instance}"
            />
          <component file="${component.file}"/>
        </sun-appserv-deploy>
      </target>error:build.xml:34: A Sun Java System Application Server 8 admin CLI class could not be found (com.s
    un.enterprise.cli.framework.InputsAndOutputs).  Use the asinstalldir attribute, set the asinstall.dir property, or add t
    he appropriate JARs to the classpath.So I've added the asinstalldir property to to the script as follows but I still get the error.
    <sun-appserv-deploy
          precompilejsp="${sunone.precompilejsp}"
          verify="${sunone.verify}"
          upload="${sunone.upload}"
          force="${sunone.force}"
          asinstalldir="${sunone.home}">

    Why don't you try out the other two suggestions in the error message? Setting the server classpath should work!

  • "ERROR_DESTINATION_INVALID: Web deployment task failed" when trying to deploy site

    I'm working on our CI process for auto-publishing WebJobs along with a host WebSite for said jobs. This isn't working, but that's not the point at the moment.
    The site in question is called devpandajobhost.azurewebsites.net and I have created (and deleted
    and recreated) and published to this site successfully many times, from both msbuild and VS.
    However, earlier today, my publish commands have started failing with 
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4253, 5): error ERROR_DESTINATION_INVALID: Web deployment task failed. ( Could not connect to the remote computer ("devpandajobhost.scm.azurewebsites.net"). Make sure that the remote computer name is correct and that you are able to connect to that computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_INVALID.) 
    or (from vs)
    Error 4
    Web deployment task failed. ( Could not connect to the remote computer ("devpandajobhost.scm.azurewebsites.net"). Make sure that the remote computer name is correct and that you are able to connect to that computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_INVALID.)
    0 0
    JobHost
    It looks like the scm site for my site doesn't exist. I have tried deleting and recreating my site several times, through various different mechanisms (VS new project, portal, powershell). The site can be created but when I publish to it I get the error
    above.
    What is going on?
    PS my theory is that I deleted and recreated it and the Azure internal DNS server has got in a pickle

    it is not only internal Azure DNS but your DNS provider as well. Since DNS records are propagated and cached (and negative cached as well) you need to wait for some time for negative cache to expire.
    I see no good reason to go through the cycle of creating new site every time unless this is your scenario. If so you can delete the old one and create always sites with new name.
    Galin Iliev [MCSD.NET, MCPD], http://www.galcho.com

  • Web deployment task fails

    For the last couple of days I cannot deploy web jobs from Visual Studio to azure.
    The site is running and I am able to access it and run existing jobs through the portal.
    I haven't changes any setting.
    I get this error:
    Error ERROR_DESTINATION_NOT_REACHABLE: Web deployment task failed. (Could not connect to the remote computer ("***.scm.azurewebsites.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web
    Management Service") is started
    Please assist,
    Ilona

    Hi David,
    ***.scm.azurewebsites.net does not contain any content, it is used only for webjobs, but I can access it from the browser.
    I cannot see the available sites from visual studio, and cannot connect to azure server from visual studio
    It seems this problem is a general problem of connection to azure via visual studio..

  • Deployment task failed when trying to import custome management pack into scom

    Hi Guys,
    I've been running through the MVA course on creating management packs (MPAuthor.Stores) and am at the point where I import it into SCOM.  I've managed to get all errors resolved but 1, which I can't work out.
    The error I receive is
    Date: 05/03/2015 16:36:59
    Severity: Error
    Message: Deployment task failed
    System.ArgumentException: The requested management pack is not valid. See inner exception for details.
    Parameter name: managementPack ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: Verification failed with 1 errors:
    Error 1:
    Found error in 1|MPAuthor.Stores/1331b9dac17fdd35|1.0.0.0|DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU|| with message:
    Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores.
     ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores.
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Configuration.Verification.VerificationUtils.ThrowErrors(IList`1 results)
       at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack, IDictionary`2 resources)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack, IDictionary`2 resources)
       at Microsoft.EnterpriseManagement.ManagementPackManagement.ImportManagementPack(ManagementPack managementPack)
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.Services.NativeImporter.ImportManagementPack(ManagementGroup mg, String fileName)
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.Services.NativeImporter.ImportManagementPack(String fileName)
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.Tasks.ImportTask.DoWork()
       at Microsoft.SystemCenter.Authoring.ProjectSystem.Deployment.DeploymentTaskBase.Run()
    : Verification failed with 1 errors:
    Error 1:
    Found error in 1|MPAuthor.Stores/1331b9dac17fdd35|1.0.0.0|DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU|| with message:
    Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores.
    : Element Info with Identity DisplayString,ElementReference=06e6447e-352b-4dc5-72ec-3535205bb1fe,LanguageID=ENU refers to an invalid element MPAuthors.Stores."
    I've looked all instances of "MPAuthors.Stores" in the different files, but I can't see the issue.  However, I think it must be somewhere in the below
    <
    LanguagePacks>
        <
    LanguagePackID="ENU"IsDefault="true">
          <
    DisplayStrings>
              <
    DisplayStringElementID="MPAuthor.Stores.Application">
              <
    Name>MPAuthor
    Stores Application</Name>
              <
    Description></Description>
            </
    DisplayString>
              <
    DisplayStringElementID="MPAuthor.Stores.Central">
              <
    Name>MPAuthor
    Stores Central</Name>
              <
    Description></Description>
            </
    DisplayString>
              <
    DisplayStringElementID="MPAuthor.Stores.Stores">
              <
    Name>MPAuthor
    Stores Stores</Name>
              <
    Description></Description>
            </
    DisplayString>
            <
    DisplayStringElementID="MPAuthor.Stores.Store">
              <
    Name>MPAuthor
    Stores Store</Name>
              <
    Description></Description>
            </
    DisplayString> 
              <
    DisplayStringElementID="MPAuthor.Stores.Store"SubElementID="StoreCode">
              <
    Name>Store
    Code</Name>
              <
    Description></Description>
            </
    DisplayString>       
          </
    DisplayStrings>
        </
    LanguagePack>
      </
    LanguagePacks>
    Chris Gibson

    Chris,
    It seems that you have display strings without a module. Do you find all the elements?
    You can compare with Brians MP here:
    https://gallery.technet.microsoft.com/MPAuthor-Stores-Sample-ef3752b2
    /patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • Web deployment task failed. (Unknown ProviderOption:DefiningProjectFullPath. Known ProviderOptions are:skipInvalid.)

    Hi to all,
    I'm failling to publish my website to azure due this error:
    Web deployment task failed. (Unknown ProviderOption:DefiningProjectFullPath. Known ProviderOptions are:skipInvalid.)
    Guys I really need your help

    Hi 
    how are you trying to publish to your site, using Visual Studio? msdeploy.exe? what is your command line? 
    could you turn on application logging on the server and try again?  Just go to your site settings under
    https://manage.windowsazure.com, and then go to the "configure" tab.  Under the configure tab, there will be a section called "application diagnostics".  Turn on application logging
    for File System, and change the logging level to "Error".  Make sure to save your changes.
    Reproduce the failure and then open the site log files under d:\home\logFiles\SiteExtensions\MSDeploy. you can use Kudu Console by browsing
    to “https://{sitename}.scm.azurewebsites.net/DebugConsole.  Then navigate to d:\home\logFiles\SiteExtensions\MSDeploy and open the latest text file under there and send the error back.
    Thanks, Hosam

  • The sun-appserv-admin task doesn't support

    Help! - this is driving me nuts! I am trying to build the bookstore example and get this error on asant steps that involve the admin-command-common target (such as "asant deploy-war").
    I am running Studio Creator with SunAppServer8 under it. The command looks right. If I remove the passwordfile line from the admin-command-common target, I get the same error on another attribute in the command.
    The password file exists where it should and contains valid information, including the correct password.
    I have run this same bookstore example build on another workstation and it worked, but on that box, there was an instance of SunAppserver 7 (not under Studio Creator). That build was successful so I assume this is a configuration issue, but I don't know what it is. I am attaching the error and the listprops. If anyone knows what is wrong I sure would appreciate your help
    Thanks!
    Robert Hill
    C:\j2eetutorial14\examples\web\bookstore1>asant deploy-war
    Buildfile: build.xml
    deploy-war:
    admin_command_common:
    [echo] Doing admin task deploy bookstore1.war
    BUILD FAILED
    file:C:/j2eetutorial14/examples/common/targets.xml:36: The <sun-appserv-admin> t
    ask doesn't support the "passwordfile" attribute.
    Total time: 1 second
    C:\j2eetutorial14\examples\web\bookstore1>
    C:\j2eetutorial14\examples\web\bookstore>asant listprops
    Buildfile: build.xml
    listprops:
    [echo] Path information
    [echo] j2ee.home = C:/Sun/Creator/SunAppServer8
    [echo] j2ee.tutorial.home = C:/j2eetutorial14
    [echo] j2ee.home = C:/Sun/Creator/SunAppServer8
    [echo] env.Path = .;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    ;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Fil
    es\Adaptec Shared\System;c:\Program Files\Microsoft SQL Server\90\Tools\Binn\;c:
    \j2sdk1.4.2_06\bin;C:\Sun\Creator\SunAppServer8\bin;C:\j2sdk1.4.2_06
    [echo] env.PATH = ${env.PATH}
    [echo] Classpath information
    [echo] classpath = C:\j2sdk1.4.2_06
    [echo] Admin information
    [echo] admin.password =
    [echo] admin.password.file = C:/j2eetutorial14/examples/common/admin-passwo
    rd.txt
    [echo] admin.host = localhost
    [echo] admin.user = admin
    [echo] admin.port = 14848
    [echo] https.port = 18181
    [echo] Domain information
    [echo] domain.resources = "domain.resources"
    [echo] domain.resources.port = 18080
    [echo] Database information
    [echo] db.root = C:/Sun/Creator/SunAppServer8/pointbase
    [echo] db.driver = com.pointbase.jdbc.jdbcUniversalDriver
    [echo] db.host = localhost
    [echo] db.port = 19092
    [echo] db.sid = sun-appserv-samples
    [echo] db.url = jdbc:pointbase:server://localhost:19092/sun-appserv-samples
    [echo] db.user = pbpublic
    [echo] db.pwd = pbpublic
    [echo] url.prop = DatabaseName
    [echo] ds.class = com.pointbase.jdbc.jdbcDataSource
    [echo] db.jvmargs = -ms16m -mx32m
    BUILD SUCCESSFUL
    Total time: 1 second
    C:\j2eetutorial14\examples\web\bookstore>
    clipped from targets.xml
    <target name="admin_command_common">
    <echo message="Doing admin task ${admin.command}"/>
    <sun-appserv-admin
    command="${admin.command}"
    user="${admin.user}"
    passwordfile="${admin.password.file}"
    host="${admin.host}"
    port="${admin.port}"
    asinstalldir="${j2ee.home}" />
    </target>

    Dude!
    Try this.
    change that target I was talkin about to
    <target name="admin_command_common">
         <property file="${j2ee.home}/j2eetutorial14/examples/common/admin-password.txt"/>
    <echo message="Doing admin task ${admin.command} with password"/>
    <sun-appserv-admin
    command="${admin.command}"
    user="${admin.user}"
    password="${AS_ADMIN_PASSWORD}"
    host="${admin.host}"
    port="${admin.port}"
    />
    </target>
    Reason?
    well, the blinkin 'asinstalldir' attrib is ... optional!
    The build succeeds and deploys the war.
    C:\java\Sun\Appserver\j2eetutorial14\examples\web\bookstore1>asant deploy-war
    Buildfile: build.xml
    deploy-war:
    admin_command_common:
    [echo] Doing admin task deploy bookstore1.war with password
    [sun-appserv-admin] Executing: deploy port 4848 host localhost --password ad
    min123 --user admin bookstore1.war
    [sun-appserv-admin] Command deploy executed successfully.
    BUILD SUCCESSFUL
    Total time: 7 seconds

  • Sun AppServer 8-Startup failed

    Hello All,
    Can anyone please, please help me out?!!!
    I cannot get appServer8 up and running without a "server startup failed" error. I am running WinDozeXP Pro.
    I tried re-installing, seperate bundle and full bundle downloads, checking system/global variables, path/classpath for spaces and quotes, followed all troubleshooting docs, checked the <http-listener> default ports in the domain1/config/domain1.xml
    Startup shows: Starting Domain domain1, please wait.
    Log redirected to C:\Sun\AppServer\domains\domain1\logs\server.log.
    Domain domain1 is ready to receive client requests. Additional services are being started in background.
    Press any key to continue . . .
    Shut down shows: The domain (domain1) isn't running.
    CLI157 Could not stop the domain domain1.
    Press any key to continue . . .
    Server log shows:
    [#|2005-06-05T13:28:06.062-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.tools.launcher|_ThreadID=10;|
    C:/jdk1.5.0_03\bin\java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
    -Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=C:/jdk1.5.0_03/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=domain1
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
    -Djava.library.path=C:\jdk1.5.0_03\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\jdk1.5.0_03\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\jdk1.5.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\jdk1.5.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\jdk1.5.0_03\bin;C:\WINDOWS\System32;C:\apache-ant-1.6.2\bin;C:\apache-ant-1.6.2\bin;C:\apache-ant-1.6.2\bin
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    C:/jdk1.5.0_03/lib/tools.jar;C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native|#]
    [#|2005-06-05T13:28:12.156-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\AppServer\imq\bin].|#]
    [#|2005-06-05T13:28:12.156-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
    [#|2005-06-05T13:28:12.984-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
    [#|2005-06-05T13:28:13.625-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
    [#|2005-06-05T13:28:14.234-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
    [#|2005-06-05T13:28:14.234-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
    [#|2005-06-05T13:28:15.015-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
    [#|2005-06-05T13:28:15.031-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
    [#|2005-06-05T13:28:15.031-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
    [#|2005-06-05T13:28:16.250-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
    [#|2005-06-05T13:28:19.937-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
    [#|2005-06-05T13:28:20.312-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\MEjbApp.ear for autodeployment.|#]
    [#|2005-06-05T13:28:22.187-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|DPL5109: EJBC - START of EJBC for [MEjbApp]|#]
    [#|2005-06-05T13:28:22.203-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|Processing beans ...|#]
    [#|2005-06-05T13:28:22.218-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|DPL5110: EJBC - END of EJBC for [MEjbApp]|#]
    [#|2005-06-05T13:28:22.781-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|Total Deployment Time: 1375 msec, Total EJB Compiler Module Time: 31 msec, Portion spent EJB Compiling: 2%
    Breakdown of EJBC Module Time: Total Time for EJBC: 31 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),
    |#]
    [#|2005-06-05T13:28:22.906-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|deployed with moduleid = MEjbApp|#]
    [#|2005-06-05T13:28:23.031-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added MEjbApp]|#]
    [#|2005-06-05T13:28:23.140-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2005-06-05T13:28:23.171-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- deploy MEjbApp]|#]
    [#|2005-06-05T13:28:23.328-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 73269464414158848|#]
    [#|2005-06-05T13:28:23.531-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
    [#|2005-06-05T13:28:23.531-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2005-06-05T13:28:23.531-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\MEjbApp.ear.|#]
    [#|2005-06-05T13:28:23.531-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear for autodeployment.|#]
    [#|2005-06-05T13:28:23.859-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|DPL5109: EJBC - START of EJBC for [__ejb_container_timer_app]|#]
    [#|2005-06-05T13:28:27.875-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|Processing beans ...|#]
    [#|2005-06-05T13:28:27.875-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|DPL5110: EJBC - END of EJBC for [__ejb_container_timer_app]|#]
    [#|2005-06-05T13:28:27.984-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|Total Deployment Time: 4438 msec, Total EJB Compiler Module Time: 4016 msec, Portion spent EJB Compiling: 90%
    Breakdown of EJBC Module Time: Total Time for EJBC: 4016 msec, CMP Generation: 641 msec (15%), Java Compilation: 3297 msec (82%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),
    |#]
    [#|2005-06-05T13:28:28.031-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|deployed with moduleid = __ejb_container_timer_app|#]
    [#|2005-06-05T13:28:28.093-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added __ejb_container_timer_app]|#]
    [#|2005-06-05T13:28:28.250-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2005-06-05T13:28:28.265-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- deploy __ejb_container_timer_app]|#]
    [#|2005-06-05T13:28:28.406-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 73269464784896000|#]
    [#|2005-06-05T13:28:29.093-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
    [#|2005-06-05T13:28:29.093-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
    [#|2005-06-05T13:28:29.093-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2005-06-05T13:28:29.093-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=10;|[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear.|#]
    [#|2005-06-05T13:28:29.109-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
    [#|2005-06-05T13:28:29.203-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []|#]
    [#|2005-06-05T13:28:29.281-0700|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2005-06-05T13:28:29.421-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]|#]
    [#|2005-06-05T13:28:29.453-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]|#]
    [#|2005-06-05T13:28:29.453-0700|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2005-06-05T13:28:29.484-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [com_sun_web_ui]|#]
    [#|2005-06-05T13:28:29.578-0700|INFO|sun-appserver-pe8.1_01|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]
    [#|2005-06-05T13:28:31.046-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
    [#|2005-06-05T13:28:31.062-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
    [#|2005-06-05T13:28:31.156-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
    [#|2005-06-05T13:28:31.156-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
    [#|2005-06-05T13:28:31.203-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
    [#|2005-06-05T13:28:31.203-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
    [#|2005-06-05T13:28:52.546-0700|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Service [email protected]4 cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://romeo:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: romeo; nested exception is:
         java.net.ConnectException: Connection timed out: no further information]|#]
    [#|2005-06-05T13:28:52.546-0700|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
    com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://romeo:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: romeo; nested exception is:
         java.net.ConnectException: Connection timed out: no further information]
         at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:101)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: java.io.IOException: Cannot bind to URL [rmi://romeo:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: romeo; nested exception is:
         java.net.ConnectException: Connection timed out: no further information]
         at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
         at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
         at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:173)
         at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:93)
         ... 3 more
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: romeo; nested exception is:
         java.net.ConnectException: Connection timed out: no further information]
         at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
         at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
         at javax.naming.InitialContext.bind(InitialContext.java:359)
         at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
         at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
         ... 5 more
    Caused by: java.rmi.ConnectException: Connection refused to host: romeo; nested exception is:
         java.net.ConnectException: Connection timed out: no further information
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
         at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)
         ... 9 more
    Caused by: java.net.ConnectException: Connection timed out: no further information
         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
         at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525)
         at com.sun.enterprise.server.ss.ASClientSocketImpl.connect(ASClientSocketImpl.java:175)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:178)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
         ... 14 more
    |#]
    [#|2005-06-05T13:28:52.546-0700|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]
    [#|2005-06-05T13:28:52.546-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]
    [#|2005-06-05T13:28:52.546-0700|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :
    com.sun.appserv.server.ServerLifecycleException
         at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:118)
         at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2005-06-05T13:28:52.546-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]
    [#|2005-06-05T13:28:52.546-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
    [#|2005-06-05T13:28:52.546-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
    [#|2005-06-05T13:28:52.562-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
    [#|2005-06-05T13:28:52.781-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE5051: Shutting down all J2EE applications ...|#]
    [#|2005-06-05T13:28:52.781-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5122:EJB Timer Service shutdown at [2005/06/05 13:28:52]|#]
    [#|2005-06-05T13:28:52.781-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE 5060 :  Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]
    [#|2005-06-05T13:28:52.796-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.resourceadapter|_ThreadID=10;|RAR7094: __xa shutdown successfully.|#]
    [#|2005-06-05T13:28:52.796-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE 5061 : Resource adapters Stop() Complete|#]
    [#|2005-06-05T13:28:52.796-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE5052: Application shutdown complete.|#]
    [#|2005-06-05T13:28:52.796-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5025: JMS service shutting down.|#]
    [#|2005-06-05T13:28:53.015-0700|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5026: JMS service shutdown complete.|#]
    [#|2005-06-05T13:28:53.015-0700|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Server stopped due to Server startup failure.|#]
    Thanks in Advance,
    ~Stacy

    [#|2005-06-05T13:28:52.546-0700|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Service [email protected]4 cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://romeo:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: romeo; nested exception is:
    java.net.ConnectException: Connection timed out: no further information]|#]
    is the start of your problem, but I expect you've guessed that.. Have you googled for the messages? is host romeo available on that port???

  • How do I get Ant task deploy to fail on error within an ojdeploy-build ?

    I am calling ojdeploy on an xml file with several <deploy> tasks within the <ojdeploy-build> task.
    FYI this dramatically increases performance when doing several deployments.
    I want to find a way to have the script stop with an error as soon as one of the <deploy> tasks fails with an error (such as a compile error). It does not currently do this.
    Is there a way to get the script to stop as soon as a <deploy> task fails within the outer <ojdeploy-build> task?
    (eg. could I somehow check the return code for each deploy explicitly and do an exit if the deploy fails)
    My Ant book claims that Ant tasks normally fail on error, and when one task fails the Ant script stops at that point. Some Ant tasks (such as exec) have an explicit failonerror attribute which can change this behavior to ignore a non-zero return code from the task and continue executing the Ant script.
    It seems to me that the <ojdeploy-build> task has a serious bug where it (probably using java try-catch) ignores the error from <deploy> and keeps going to the next <deploy>, violating a basic design principle of a proper Ant task.
    Where can I find the java code for <ojdeploy-build> to confirm my suspicion and then report the bug officially?
    Meanwhile, I am very interested in finding some workaround for this bug that preserves having several <deploy> in one script. If I put just one <deploy> in each <ojdeploy-build>, the huge performance improvement is lost.

    I played with it some more and it seems that failonerror and resultproperty actually work in JDev 11.1.1.4.0 They are inherited from the [url http://ant.apache.org/manual/Tasks/exec.html]Ant Exec task and work, you just have to set failonerror="true", e.g.
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                      executable="${oracle.jdeveloper.ojdeploy.executable}"
                      failonerror="true"
                      resultproperty="ojdeploy.exit.code"
                      ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
                      ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    ...Note that resultproperty is useful only if failonerror="false", use one or the other.

  • ClassCastException on Deploy to Sun Appserver 8.1 from Netbeans 4.1

    I am working with an academic group that has chosen to use the Netbeans 4.1/Sun Appserver 8.1 integrated combo. We are running a standard ejb app and a standard web app (java servlets, Struts flavor) that talks to the ejb app.
    But the Sun Appserver is incredibly unstable with regard to the web container. If the problem is really Sun's, I can't believe
    that they released something such as this. We get a ClassCastException related to jsp configuration everytime we
    'deploy' from Netbeans to the web container.
    And sometimes, the ejb container seems to just "disappear" from our runtime execution. In this situation, the web container gets no data from the ejb container, so that the form fields in the result html show up empty. Could the ClassCastException at deployment time be the problem? If not, what can we do to stabilize our deployment?
    I've posted the error with system info below. Any help or ideas would be much appreciated. Thank you in advance!
    [ o/s: Windows XP sp2 ]
    [ jdk: 1.4.02 ]
    [ Sun Appserver 8.1 ]
    [ Netbeans 4.1 with 'deploy' command running ]
    [ Netbeans deploying a standard ejb app and a standard web app, Struts
    1.2 flavor ]
    [ Error message: ]
    Redeploying
    C:\CMU\AdvancedProject\Develop�ment\se-2004-spring-pt-advance�d-team2\PETv3_Struts\dist\PETv�3_Struts.war
    java.lang.ClassCastException
    at
    org.netbeans.modules.j2ee.sun.�dd.impl.web.model_2_4_1.SunWeb�App.setJspConfig(SunWebApp.jav�a:850)
    at
    org.netbeans.modules.j2ee.sun.�dd.impl.web.SunWebAppProxy.set�JspConfig(SunWebAppProxy.java:�342)
    at
    org.netbeans.modules.j2ee.sun.�share.configBean.WebAppRoot$1.�getDDSnippet(WebAppRoot.java:3�01)
    at
    org.netbeans.modules.j2ee.sun.�share.configBean.Base.addToGra�phs(Base.java:625)
    at
    org.netbeans.modules.j2ee.sun.�share.configBean.SunONEDeploym�entConfiguration.saveDConfigBe�an(SunONEDeploymentConfigurati�on.java:349)
    at
    org.netbeans.modules.j2ee.sun.�share.configBean.SunONEDeploym�entConfiguration.save(SunONEDe�ploymentConfiguration.java:317�)
    at
    org.netbeans.modules.j2ee.depl�oyment.config.ConfigSupportImp�l.getDeploymentPlanFileForDist�ribution(ConfigSupportImpl.jav�a:248)
    at
    org.netbeans.modules.j2ee.depl�oyment.config.ConfigSupportImp�l.getConfigurationFile(ConfigS�upportImpl.java:224)
    at
    org.netbeans.modules.j2ee.depl�oyment.impl.projects.Deploymen�tTargetImpl.getConfigurationFi�le(DeploymentTargetImpl.java:1�80)
    at
    org.netbeans.modules.j2ee.depl�oyment.impl.TargetServer.deplo�y(TargetServer.java:615)
    at
    org.netbeans.modules.j2ee.depl�oyment.devmodules.api.Deployme�nt.deploy(Deployment.java:129)
    at org.netbeans.modules.j2ee.ant.�Deploy.execute(Deploy.java:62)
    at org.apache.tools.ant.UnknownEl�ement.execute(UnknownElement.j�ava:275)
    at org.apache.tools.ant.Task.perf�orm(Task.java:364)
    at org.apache.tools.ant.Target.ex�ecute(Target.java:341)
    at org.apache.tools.ant.Target.pe�rformTasks(Target.java:369)
    at org.apache.tools.ant.Project.e�xecuteTarget(Project.java:1214�)
    at org.apache.tools.ant.Project.e�xecuteTargets(Project.java:106�2)
    at
    org.apache.tools.ant.module.br�idge.impl.BridgeImpl.run(Bridg�eImpl.java:234)
    at
    org.apache.tools.ant.module.ru�n.TargetExecutor.run(TargetExe�cutor.java:242)
    at
    org.netbeans.core.execution.Ru�nClassThread.run(RunClassThrea�d.java:125)
    Start registering the project's server resources
    Finished registering server resources

    Thanks for your post!
    I have been meaning to reply to this for so long that I have forgotten the exact details of how we fixed this. However, the issue with the ejb container 'disappearing' at random times during application operation was resolved by doing something different in the ejb container. As I recall, the ejb code that we had when the problem existed should not have caused this kind of problem, but we found a work-around.
    The 'ClassCastException' on deploy was apparently due to a problem with the portability of Netbeans Java code. Space characters in file paths appear to have caused this problem.

  • Deploying to Sun AppServer PE 8.1 (build b41-fcs) with an Oracle database

    Hello,
    I'm trying to deploy an application to Sun AppServer PE 8.1(an external server, not the embedded one).
    I already know that the direct deployment preview feature doesn't work with 8.1:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50572
    So I tried the export war method, and correctly configured the resource ref with the deployment tool. The deployment itself worked fine, but I can't access the database.
    The oracle drivers, from their web site don't work, I get the following exception:
    [#|2005-01-25T20:33:48.642+0000|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=19;|WebModule[/smwebinterface]userView Initialization Failure
    javax.faces.FacesException: java.sql.SQLException: JDBC driver does not support PreparedStatement.getMetaData()
    (...)I also tried to use the JSC bundled drivers as explained in
    http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/appserver7.html
    and I got the following exception:
    [#|2005-01-25T19:44:56.236+0000|WARNING|sun-appserver-pe8.1|javax.enterprise.system.stream.err|_ThreadID=15;|JdbcRowSetXImpl (prepare): [sunm][Oracle JDBC Driver]This driver is locked for use with embedded applications.|#]
    [#|2005-01-25T19:44:56.252+0000|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=15;|WebModule[/smwebinterface]userView Initialization Failure
    javax.faces.FacesException: java.sql.SQLException: [sunm][Oracle JDBC Driver]This driver is locked for use with embedded applications.
         at com.sun.jsfcl.data.RowSetDataModel.synchronize(RowSetDataModel.java:1197)
         at com.sun.jsfcl.data.RowSetDataModel.connect(RowSetDataModel.java:962)
         at
    Caused by: java.sql.SQLException: [sunm][Oracle JDBC Driver]This driver is locked for use with embedded applications.
         at com.sun.sql.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.sun.sql.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.sun.sql.jdbc.base.BaseConnection.prepareStatement(Unknown Source)
         at com.sun.gjc.spi.ConnectionHolder.prepareStatement(ConnectionHolder.java:407)
         at com.sun.sql.rowset.JdbcRowSetXImpl.prepare(JdbcRowSetXImpl.java:560)
         at com.sun.sql.rowset.JdbcRowSetXImpl.getMetaData(JdbcRowSetXImpl.java:1005)
         at com.sun.jsfcl.data.RowSetDataModel.synchronize(RowSetDataModel.java:1172)
         ... 92 more
    |#]It appears that these drivers are somehow locked to JSC and cannot be used in production servers, despite what the tutorial says ....
    Has anybody dealt with this issue before? Can someone help me with this?
    Thanx,
    Pedro Pires

    Oracle drivers have that limitation - that's one reason why we ship with our own drivers for accessing oracle.
    For trying to use the JSC bundled drivers in 8.1 - there's license restrictions (read $$$) involved with using JSC bundled drivers and "other" app servers. It this case, 8.1 PE (emphasis on the PE) is classified as an "other".
    Buying 8.1 (i.e., non PE), or waiting for JSC to bundle 8.1, seem to be your options if 8.1 is required.

  • Deploy war file to Sun Appserver 8.2

    Hi,
    I am trying to deploy my application to a Sun Appserver 8.2 (appl. uses mysql) , when I use remote deployment from the IDE the application runs fine on this server however when I export it as a WAR file I get the error message stated below. I am using exactly the same datasources as when I use remote deployment and I am using the sun-web.xml and web.xml descriptor files from the remote deployment. Anybody got an idea what is wrong?
    [#|2006-06-07T02:52:29.237+0800|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=31;|StandardWrappe
    rValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.sql.SQLException
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:225)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Caused by: javax.faces.FacesException: org.apache.jasper.JasperException: java.sql.SQLException
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:331)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    ... 41 more
    Caused by: org.apache.jasper.JasperException: java.sql.SQLException
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor456.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
    at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
    at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
    ... 43 more

    Hi!
    First of all, you don't need to change something in web.xml. This file is exported into WAR file by Creator 2 IDE. So, don't replace web.xml after exporting of WAR.
    Also you can try to change version of DTD in sun-web.xml to one older (to sun-web-app_2_3-0.dtd, for example).
    Or could you post your sun-web.xml?
    Thanks,
    Roman.

  • ConfigurationException during deploy "CONFIGURATION FAILED! File not found"

    Hello All,
    The deployment of my adf app. is failing with the following error. Although till yesterday also, it was failing but atleast it was going much farther than this. What is causing this error? I did make changes to config.xml but then restored it. Any help is appreciated. This is critical.
    ####<Sep 14, 2011 1:23:36 PM CDT> <Info> <J2EE Deployment SPI> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024616200> <BEA-260121> <Initiating deploy operation for application, myProject [archive: F:\Oracle\Middleware\user_projects\domains\BPEL_DEV\servers\AdminServer\upload\myProject.ear], to AdminServer .>
    ####<Sep 14, 2011 1:23:47 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024627386> <BEA-149038> *<Initiating Task for myProject : [Deployer:149026]deploy application myProject on AdminServer.>*
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <J2EE> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630053> <BEA-160170> <Imported library Extension-Name: adf.oracle.domain, Specification-Version: 1, Implementation-Version: 11.1.1.2.0 for Application myProject>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <WorkManager> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630069> <BEA-002903> <Creating WorkManager from "wm/SOAWorkManager" WorkManagerMBean for application "myProject">
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630771> <BEA-101363> <Application: myProject, WebApp: mySubProj has context-root specified in application.xml: "mySubProj". The context-root specified in weblogic.xml: "mySubProj" will be ignored.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024693171> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:54 PM CDT> <Warning> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024694451> <BEA-101162> *<User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found.*
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.io.FileNotFoundException: File not found
    at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:117)
         at java.util.jar.JarFile.<init>(JarFile.java:135)
         at java.util.jar.JarFile.<init>(JarFile.java:72)
         at com.sun.faces.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:262)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:115)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:92)
         at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:159)     
    at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:107)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1096)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1064)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:642)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:309)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    I did some more research and found out that method loadURLs of class MetaInfFacesConfigResourceProvider.java is throwing IOException. Is this some kind of class path issue? Please help!
    private Collection<URL> loadURLs(ServletContext context) throws IOException {
    154
    155 Set<URL> urls = new HashSet<URL>();
    156 for (Enumeration<URL> e = Util.getCurrentLoader(this).getResources(META_INF_RESOURCES); e.hasMoreElements();) {
    157 urls.add(e.nextElement());
    158 }
    159 urls.addAll(Arrays.asList(Classpath.search("META-INF/", ".faces-config.xml")));
    160 // special case for finding taglib files in WEB-INF/classes/META-INF
    161 Set paths = context.getResourcePaths(WEB_INF_CLASSES);
    162 if (paths != null) {
    163 for (Object path : paths) {
    164 String p = path.toString();
    165 if (p.endsWith(".taglib.xml")) {
    166 urls.add(context.getResource(p));
    167 }
    168 }
    169 }
    170 return urls;
    171
    172 }
    173
    Edited by: user12054715 on Sep 14, 2011 2:13 PM

    I did a couple of things ( gathered from various posts on OTN). I am not sure which one did the trick but the error is gone now. I am mentioning the steps that I took. Later when I have more time, I will narrow down to exactly what worked.
    1. The following was missing from my web.xml (Thanks Rene!) Added it
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    2. Removed any mention of 'Anonymous-User' from Jazn-data.xml.
    Application tab -> Secure -> Configure ADF Security -> Jazn-data.xml (source tab and removed block of code referring to anonymous user)
    Hope this will help others.

Maybe you are looking for

  • Why am I receiving picture texts as text messages and not iMessages?

    Why I am receiving pictures sent to my messages as texts but not an imessage? I know the person who's sending it also has an iPhone 4s, but everytime she sends me a picture I need to wait till I enable 3g before i receive it.  I have wi-fi all day at

  • Computer idiot at the end of his rope

    Hi. I know that this question has probably been posted a million different ways already, but I'm desperate. I anticipate getting an ipod here soon and I cannot get itunes to work on my computer! I tried to upgrade my itunes b/c it said an update was

  • SQL Server 2005 Resource Governor ?

    Hello is there a way or method along the lines of Resource Governor within a SQL 2005 instance (am aware that that feature began starting with SQL 2008) ?  (One DB app is over-consuming resources slowing down other DBs residing on same SQL Server.) A

  • Splitting file contents ....Help!!

    I have a file that contain several records of the same pattern. For example: Name: John Mark Adress: 2380 Blue St LA Phone#: 8675 3099 SSN: 8999900000 Age: 2001 Name: Denis Mary Address 5050 Red st WA Phone# 1010 30303 SSN 000111222333 Age 8899 This

  • Open ports for Ichat

    Is there an app. or widget to see if the ports for Ichat are open. I am on the road and would like to Ichat with wife and it won't work, so I would like to see if the hotel servers and routers have the ports open or if they don't. Any help would be m