Error when running "J2ee SDK" -  j2ee server

Hi,
When running: C:\j2sdkee1.3.1\bin>j2eeadmin I get the follwoing error:
Binding: < JMS Cnx Factory : TopicConnectionFactory ,
Binding: < JMS Cnx Factory : QueueConnectionFactory ,
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
LifecycleException: null.open: java.net.BindExcepti
JVM_Bind
at org.apache.catalina.connector.http.HttpCon
ctor.java:1116)
at org.apache.catalina.startup.Embedded.start
at com.sun.web.server.WebService.start(WebSer
at com.sun.web.server.WebServer.start(WebServ
at com.sun.enterprise.server.J2EEServer.start
796)
at com.sun.enterprise.server.J2EEServer.run(J
at com.sun.enterprise.server.J2EEServer.main(
java.lang.RuntimeException: null.open
at com.sun.enterprise.server.J2EEServer.run(J
at com.sun.enterprise.server.J2EEServer.main(
J2EE server reported the following error: null.open
Error executing J2EE server ...
Please advise.
Thanks,
Gabi

405 errors in the HTTP cycle
Any client goes through the following cycle:
* Obtain an IP address from the IP name of your site (your site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
* Open an IP socket connection to that IP address.
* Write an HTTP data stream through that socket.
* Receive an HTTP data stream back from your Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.
This error occurs in the final step above when the client receives an HTTP status code that it recognises as '405'.
Resolving 405 errors - general
405 errors often arise with the POST method. You may be trying to introduce some kind of input form on your Web site, but not all ISPs allow the POST method necessary to process the form.
All 405 errors can be traced to configuration of the Web server and security governing access to the content of the Web site.

Similar Messages

  • Error when starting J2EE server

    I can't start my J2EE server, when I type "j2ee verbose" on windows console, it showed an error like this :
    J2EE server listen port: 1050
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable
         at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
         at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
         at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
         at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(TransientNameService.java:117)
         at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(TransientNameService.java:70)
         at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:103)
         at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
         at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    I used J2EE 1.3.1 and JDK 1.5.0. I also have set an environment variable like shown below :
    JAVA_HOME=C:\jdk1.5.0
    J2EE_HOME=C:\j2sdkee1.3.1
    PATH=%JAVA_HOME%\bin;%J2EE_HOME%\bin
    CLASSPATH=%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale
    all that env. variable have been set in System Properties through control panel in my windows. Plz help me if there anything wrong with my setting or there are another problems that I didn't noticed before. Thank you.
    Irfan R.

    Modify your JAVA_HOME to C:\Program%20%Files\j2sdk1.4.2_08
    as spaces are not allowed. Most probably it will work.
    I have installed J2EE SDK 1.3 on my machine. I have
    set
    J2EE_HOME=C:\j2sdkee1.3.1
    JAVA_HOME=C:\Program Files\j2sdk1.4.2_08
    and
    PATH=C:\j2sdkee1.3.1\bin
    CLASSPATH
    =%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale
    environmental variables. All the four path seem to
    OK. But when I'm trying to start application server
    using j2ee -verbose command on my dos prompt I'm
    getting following error
    'C:\Program' is not recognized as an internal or
    external command, operable program or batch file.
    I tried j2ee -verbose command from C: prompt as well
    as from C:\j2sdkee1.3.1\bin prompt in which j2ee
    batch file is present.
    Please help/guide on above issue

  • Error when starting j2ee server, please help

    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system. When I started JMS provider by "j2ee -verbose", I got an exception saying "TCP/IP ports(1050) in use by another process". Then I tried other port numbers like 1051 and 1061, the same error kept coming. What is the best port number I should use or whatelse I should do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee -verbose
    J2EE server listen port: 1081
    org.omg.CORBA.INTERNAL: minor code: 1398079697 completed: No
    at com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:256)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:205)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(GIOPImpl.java:140)
    at com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(POAORB.java:488)
    at com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(POAImpl.java:154)
    at com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.java:112)
    at com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB.java:110)
    at com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.java:128)
    at com.sun.corba.ee.internal.core.Future.evaluate(Future.java:21)
    at com.sun.corba.ee.internal.corba.ORB.resolveInitialReference(ORB.java:2421)
    at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:2356)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:193)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:203)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:350)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    J2EE server reported the following error: Unable to create ORB. Possible causes include TCP/IP ports in use by another process
    Error executing J2EE server ...
    ****************************************************************

    Hello.,
    Did you get a resolution to this error ? I get the same error, odd thing is that i had it working for several days and now it won;t start ?
    JMS expert,
    I am using j2sdkee1.3 with jdk1.3.1_01 over NT system.
    When I started JMS provider by "j2ee -verbose", I got
    an exception saying "TCP/IP ports(1050) in use by
    another process". Then I tried other port numbers like
    1051 and 1061, the same error kept coming. What is
    the best port number I should use or whatelse I should
    do to solve this problem? Thanks.
    C:\j2sdkee1.3\jms_execise>c:\j2sdkee1.3\bin\j2ee
    -verbose
    J2EE server listen port: 1081
    org.omg.CORBA.INTERNAL: minor code: 1398079697
    completed: No
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(
    IOPImpl.java:256)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIO
    Impl.java:205)
    at
    at
    at
    t
    com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(G
    OPImpl.java:140)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(
    OAORB.java:488)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(PO
    Impl.java:154)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.ja
    a:112)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB
    java:110)
    at
    at
    at
    t
    com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.
    ava:128)
    at
    at
    at
    t
    com.sun.corba.ee.internal.core.Future.evaluate(Future.j
    va:21)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolveInitialRefer
    nce(ORB.java:2421)
    at
    at
    at
    t
    com.sun.corba.ee.internal.corba.ORB.resolve_initial_ref
    rences(ORB.java:2356)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :193)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :203)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    java.lang.RuntimeException: Unable to create ORB.
    Possible causes include TCP/IP ports in use by another
    process
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.run(J2EEServer.jav
    :350)
    at
    at
    at
    t
    com.sun.enterprise.server.J2EEServer.main(J2EEServer.ja
    a:913)
    J2EE server reported the following error: Unable to
    create ORB. Possible causes include TCP/IP ports in
    use by another process
    Error executing J2EE server ...

  • Java.exe error while running j2ee server in jre1.4.0 env

    Hi,
    i have been running j2ee 1.3.1 server in jdk1.4.0 enviromrnt. When i try to process large data (like retrieving around 100 records from the database, each having 150 attributes) in the form of XML , I get a runtime error generated by the jvm , whiich says "java.exe has generated the error and is closed by WIndows". I increased the heap size to -Xmx256m. Stil i am getting this error. I am not getting the error if i run with jdk1.3.1 version. Is there any instability with jdk1.4.0 env? any help will be highly appreciated

    If you have found a solution to this problem, can you please share it with me.
    Thanks a lot.
    -- Manohar

  • SSDT package errors when running from non SSIS server

    I am trying to run a 2012 SSIS package on a server that doesn't have Integration services installed and I keep getting the following error:
    "To run a SSIS package outside of SQL Server Data Tools you must install SharePoint List Source 1 of Integration Services or higher."
    It is on a cluster and I was under the understanding that I could run a package without having SSIS engine installed?
    Thanks!

    This is not true. Executing SSIS packages requires the SSIS installation. It is possible though to have a package executed on a remote host, and it will run within that machine memory space, again the target has to have the SSIS installed.
    Besides, SSIS is not a clustered resource.
    Arthur My Blog

  • Getting following error when starting J2EE server

    Hi ,
    The sap server fails to start with following error:
    My DBSID  is J2E
    ctsaix02:j2eadm 17> vi /local/home/j2eadm/startj2eedb.log
    "/local/home/j2eadm/startj2eedb.log" 37 lines, 1073 characters
    Thu Dec 28 22:53:03 PAKST 2006
    LOGFILE FOR STARTING DATABASE
    Trying to start database ...
    Thu Dec 28 22:53:03 PAKST 2006
    Checking required environment variables
    SAPSYSTEMNAME is >J2E<
    Start database with xuserkey >c_J2EE<
    Thu Dec 28 22:53:03 PAKST 2006
    Connect to the database to check the database state
    dbmcli: connect check finished with return code: 0
    Database not available
    Thu Dec 28 22:53:03 PAKST 2006
    Starting XServer
        12916  XSERVER  Found other running x_server with version 'X64/AIX   7.5.0    Build 032-123-111-699'
        12902  XSERVER  started, 'already...'
    Thu Dec 28 22:53:05 PAKST 2006
    Starting database
    Starting Database Instance...
    Error! XUser not found!
    Opening Database...
    Error! XUser not found!
    Thu Dec 28 22:53:05 PAKST 2006
    Connect to the database to verify the database is now open
    dbmcli check finished with return code: 0
    Database start failed
    ~
    What can be the problem

    Manoj,
    it looks like the USER data needed to connect to the instance hasn't been saved correctly. Please look at SAP note 39439 and save this data.
    If you continue to have problems, you will need to open a CSS message.
    Regards,
    Ashwath

  • ORA-01005 error when running app on standalone server

    Hello All:
    When I run an application on stand alone weblogic 10.3 server, I am getting error:
    ORA-01005: null password given; logon denied.
    In IDE it is running well and password field is filled checkboxes Save Password, Deploy Password checked in Database Connection.
    Thanks,
    SNikiforov

    Try searching the forum for ORA-01005...

  • Error 500--Internal Server Error when running Facelet in Local Server

    Hi Experts,
    I have installed M2E plugin for eclipse and working on a Maven project in OEPE 12c.
    Running the facelet on the remote server , the results are returned, wheras running the facelet in the local server , the below error occurs
    Error 500--Internal Server Error
    com.sun.faces.context.FacesFileNotFoundException: /showModule.xhtml Not Found in ExternalContext as a Resource
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.getMetadataFacelet(DefaultFaceletFactory.java:209)
    at com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:114)
    at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:233)
    Could anybody share some pointers?
    Thanks,
    Vijaya

    I created the showModule.xhtml in the web.view.module\src\main\resources folder and test the application and Now I'm getting the error in both deployment ways.
    a) Local deployment: Same result
    Error 500--Internal Server Error
    com.sun.faces.context.FacesFileNotFoundException: /showModule.xhtml Not Found in ExternalContext as a Resource
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
    b) Remote server:
    Error 500--Internal Server Error
    com.sun.faces.context.FacesFileNotFoundException: /showModule.xhtml Not Found in ExternalContext as a Resource
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
    Please check the below screenshots for the mappings captured in the properties window.
    http://imageshack.us/photo/my-images/5/srwebviewmodule.png/
    http://imageshack.us/photo/my-images/811/eclipseexplorer.png/
    http://imageshack.us/photo/my-images/521/cdiandrichfacesear.png/
    http://imageshack.us/photo/my-images/90/cdiandrichfaces.png/
    Thanks,
    Vijaya

  • Getting an Error When Running Server 2012 R2 adprep /forest prep on a 2012 DC

    I am getting an error when running adprep /forest prep on a Server 2012 domain controller. The main parts of my domain are as follows:
    2 - Domain Controllers running Server 2012
    1 - Exchange Server 2013 running on Server 2012
    I am trying to either do an in-place upgrade to my domain controllers to Server 2012 R2 or even introduce a Server 2012 R2 domain controller into the domain. The error I am getting is as follows:
    [Status/Consequence]
    The operation GUID already exists so Adprep did not attempt to rerun this operation but is continuing.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_search_s() finished, return code is 0x20
    [2014/04/05:09:12:38.873]
    Adprep verified the state of operation cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [Status/Consequence]
    The operation has not run or is not currently running. It will be run next.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_modify_s(). The entry to modify is CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_modify_s() finished, return code is 0x13
    [2014/04/05:09:12:38.905]
    Adprep was unable to modify some attributes on object CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [User Action]
    Check the log file ADPrep.log in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    [2014/04/05:09:12:38.936]
    Adprep encountered an LDAP error.
    Error code: 0x13. Server extended error code: 0x20b1, Server error message: 000020B1: AtrErr: DSID-030F112A, #1:
     0: 000020B1: DSID-030F112A, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9086f (msDS-ClaimIsValueSpaceRestricted)
    DSID Info:
    DSID: 0x181112dd
    ldap error = 0x13
    NT BUILD: 9600
    NT BUILD: 16384
    [2014/04/05:09:12:38.967]
    Adprep was unable to update forest information.
    [Status/Consequence]
    Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
    [User Action]
    Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    Any Help would be appreciated. Thanks!

    Hi,
    did you check which servers has FSMO roles?
    You can do that via command prompt: netdom query fsmo
    For forestprep you must do that on DC which have Schema Operations marter role.
    Command
    Domain controller
    Number of times to run the command
    adprep /forestprep
    Must be run on the schema operations master for the forest.
    Once for the entire forest
    adprep /domainprep
    Must be run on the infrastructure operations master for the domain.
    Once in each domain where you plan to install an additional domain controller that runs a later version of Windows Server than the latest version that is running in the domain.
    Note
    Domains where you will not add a new domain controller will be affected by adprep /forestprep, but they do not require you to run adprep /domainprep.
    http://technet.microsoft.com/en-us/library/dd464018(v=ws.10).aspx

  • When starting J2EE server PE8 on Linux

    When starting J2EE server PE8 on Linux Fedora Core 1, the following message is displayed:-
    "Unable to read system environment. No system environment will be used."
    1. Is there any side effect to the J2EE server PE8 performance or functionalities about this warning message?
    2. Is there any way to avoid this issuea in case it does have side effect?
    Regards,
    William

    I find libcliutil.so in $J2EE_HOME/lib and did the followings and got:-
    #> ldd libcliutil.so
    ldd: warning: you do not have execution permission for `./libcliutil.so'
    libpthread.so.0 => /lib/tls/libpthread.so.0 (0x008ad000)
    libdl.so.2 => /lib/libdl.so.2 (0x00782000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00433000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x00913000)
    libstdc++-libc6.2-2.so.3 => not found
    libm.so.6 => /lib/tls/libm.so.6 (0x0075e000)
    libc.so.6 => /lib/tls/libc.so.6 (0x00623000)
    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0060b000)
    Can we infer that the warning message is displayed due to "libstdc++-libc6.2-2.so.3 => not found"?
    Regards,
    William

  • Jsp Error when running graph reports on 9ias server

    i getting the following message error when running a graph jsp report on my company unix 9ias server:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at afpdrep.crystal._flip._flip1._jspService(_flip1.java:687)
         [SRC:/afpdrep/crystal/flip/flip1.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Thanks for any help in advance.

    Hi Simon,
    Looking at the exception, it seems the machine is so slow that it could not give enough time for the report engines to start up can also result in this exception.
    Please try the following :
    Increase the callbacktimeout parameter for the report server. In server conf file that increase the callbacktimeout parameter for the report server from 1 minute (60000 milliseconds) to 3 minutes(180000 milliseconds)
    Thanks,
    Vinod.

  • Undefined weblogic.home error when running APPC

    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy it on a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jar on
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module 'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstation so that
    everything is
    setup correctly?
    thanks in advance
    Pierre

    Pierre MONGENIE wrote:
    Finally it worked out for me with the system classpath set to:
    D:\J2EE\bea\weblogic81\server\lib\weblogic.jar
    and the ANT task wlappc.
    I was unable to have it work with the ANT task described below in this thread.
    tha ant task is
    <wlappc source="${application.dist.ear}"
         verbose="true"
         verboseJavac="true"
         debug="true"
         classpath="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}
         ${j2ee.weblogic.lib.dir}/ojdbc14.jar
         ${j2ee.weblogic.lib.dir}/webservices.jar
         ${jsdk1.4-dir}/lib/tools.jar"This is the issue. The classpath parameter to wlappc is the classpath
    it will use when it compiles your application classes. It's not the
    classpath which will load the wlappc ant task. (I'll admit this has
    always been confusing.)
    -- Rob
    runtimeflags="mx256m"
    output="${application.weblogic.deploy.ear}"
         />
    So now I have another problem but let me open another thread
    thanks
    Rob Woollen <[email protected]> wrote:
    That code checks if the system property weblogic.home is set. If not,
    it looks for the class weblogic.Home is in the classpath. Make sure
    one
    of those 2 conditions is true.
    -- Rob
    Pierre MONGENIE wrote:
    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy iton a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jaron
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstationso that
    everything is
    setup correctly?
    thanks in advance
    Pierre

  • Webcenter error when running application

    hi am having below error when running my application am in jdeveloper 11.1.1.6.0
    <10 Nov 2012 8:51:37 AM> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1352530297019' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    <10 Nov 2012 8:51:37 AM> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UAMApplication'.>
    <10 Nov 2012 8:51:37 AM> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.framework, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    [08:51:37 AM] #### Deployment incomplete. ####
    [08:51:37 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application UAMApplication due to error deploying to IntegratedWebLogicServer.
    [Application UAMApplication stopped and undeployed from Server Instance IntegratedWebLogicServer]

    Hi,
    you've posted this in the WebCenter Content forum. You may want to repost your question in the WebCenter Portal forum, as the stacktrace tells me you are dealing with the WebCenter Portal Framework. Some more information would be helpful too. What kind of are you deploying?

  • Error when running  the ant task

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

  • ADT packaging with native extensions : permission denied error when running remote build.

    Hi Team,
    We are facing the following error when running the nightly ant build script on Mac machine for our air mobile application. We are using iOS native extensions and package with ADT. This works fine when we run the build as local user in the Mac machine. Earlier we faced some issues due to headless build and we have added the <headless-server>true</headless-server> in corresponding config files (flex-config.xml, airmobile-config.xml). After that we are facing the following error, even when we run the ant build in headless mode using the following command.
    ant -Djava.awt.headless=true -f build.xml buildPackage
    When running this build as local user in the Mac build machine, we see a window opening with com.adobe.air.ADT while packaging. This is the issue when running nightly build as there is no graphics window.
    Can anybody please help how to get rid of this issue for nightly build using adt,jar?
    Here is the error from build log:
    buildiOSPackageWithNativeExtensionMac:
         [echo] Export the iOS package with Native extension for ApprovalsMobile in Mac
         [java] Exception in thread "main" java.lang.InternalError: Can't connect to window server - not enough permissions.
         [java]  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         [java]  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
         [java]  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
         [java]  at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         [java]  at java.lang.System.loadLibrary(System.java:1045)
         [java]  at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
         [java]  at java.security.AccessController.doPrivileged(Native Method)
         [java]  at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
         [java]  at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
         [java]  at java.awt.Dimension.<clinit>(Dimension.java:70)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator.validateImageUri(ApplicationDescri ptorValidator.java:183)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator20.validateElement(ApplicationDescr iptorValidator20.java:121)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator25.validateElement(ApplicationDescr iptorValidator25.java:65)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator26.validateElement(ApplicationDescr iptorValidator26.java:62)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator30.validateElement(ApplicationDescr iptorValidator30.java:52)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator31.validateElement(ApplicationDescr iptorValidator31.java:46)
         [java]  at com.adobe.air.validator.DescriptorValidator.endElement(DescriptorValidator.java:239)
         [java]  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser .java:601)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XML DocumentFragmentScannerImpl.java:1782)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri ver.next(XMLDocumentFragmentScannerImpl.java:2939)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImp l.java:648)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScanne rImpl.java:140)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:511)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:808)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:737)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
         [java]  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1205)
         [java]  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.j ava:522)
         [java]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         [java]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
         [java]  at com.adobe.air.Descriptor.validateXML(Descriptor.java:182)
         [java]  at com.adobe.air.Descriptor.<init>(Descriptor.java:56)
         [java]  at com.adobe.air.ApplicationDescriptor.<init>(ApplicationDescriptor.java:84)
         [java]  at com.adobe.air.ApplicationPackager.validateApplicationDescriptor(ApplicationPackager.java: 101)
         [java]  at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:64)
         [java]  at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:217)
         [java]  at com.adobe.air.ADT.parseArgsAndGo(ADT.java:557)
         [java]  at com.adobe.air.ADT.run(ADT.java:414)
         [java]  at com.adobe.air.ADT.main(ADT.java:464)
    Thanks,
    Swathi.

    Note: Before the above error that were two other errors .
    1) The build complained that the adt-bundle-linux toolchain could not be found and required that it be added to .mozconfig. This was done.
    2) The build complained that dx could not be found.
    The configure file was edited and the values $DX, $AAPT and $AIDL were all set to the adt-bundle-linux/sdk/build-tools/android-4.4 path.
    The instructions given on the Mozilla Wiki did not work right for Android and several modifications were made to move it along. But this permission error is tough to figure out.

Maybe you are looking for

  • VGA to S-video or composite video adapter

    I need some way to get the video output of my computer to my T.V. The computer has no S-video or anything other outputs for video besides the VGA one. And I don't have a T.V. with VGA input. Has anyone ever seen an adapter for something like this? I

  • 2nd Gen itouch syncing

    2nd Gen itouch: I am using Outlook Express on my PC & wish to continue doing so. Succesfully synced music, photos & bookmarks but will not sync address book. I have tried using Outlook, this does not work and have followed all insructions in manual.

  • I'm having trouble connecting my PS3 on my Wi-Fi.  It can not read my IP Adress?

    I can not get my PS3 to connect with my Wi-Fi.  The PS3 can not read my IP adress on my Airport express.  Please help Thank you

  • Query regarding settings for NOKIA OVI suite

    Hi everybody. Well I downloaded the latest version of NOKIA OVI suite for my 5800 XM from NOKIA website and then used it to upload music vids from PC to fone. During this procedure, it asked for something about ffd codes??? which I allowed. Now my de

  • BI Publisher as a Service

    Hello, Can anyone help? How do I run BI publisher as a Windows Service? We are running BI publisher as an application on Windows Server 2000 but as an application and therefore it is unsuitable for a live system. It is looking at SQL Server 2000 data