Do I have to use deployment tool to build my ear/jar/war ?

Hi !
I have a ear application, which is developed in JBOSS+Tomcat.
I want to port this into iPlanet sp3 test drive. Do I have to use the
deployment tool to generate the uid and isa xml files ?
Can I edit it manually ? cause I have problem to resolve my almost 100
jsp/html/img files. And even if I do, it always tells me "missing xml
files".
Thanks,
H.H.

Hi,
If you are good at XML then please go ahead and build the required XML
files. If not, it's always better to use the deployment tool bundled with
iAS or use Forte For Java 3 Enterprise Edition to deploy the application.
Please do not use JDK other than the one provided with iAS as it may not
produce the correct results. However you can use JDK 1.3 to build your
application but your app server doesn't run on JDK 1.3. Again, some of the
functions may run and there is no guarantee to work, the tech support may
refuse to support on your application if you use JDK 1.3. Hope this helps.
Regards
Raj
I will try again, and do you have any suggestions for the "missing xml
files" ?
Also I rememeber seeing one of your post somewhere metioned that ias
doesn't
work with jdk1.3 ?
do you have any suggestions if we are using some 1.3 functions such as
TimerTask ?
Thanks
Brandon wrote:
Hi !
I have a ear application, which is developed in JBOSS+Tomcat.
I want to port this into iPlanet sp3 test drive. Do I have to use the
deployment tool to generate the uid and isa xml files ?
Can I edit it manually ? cause I have problem to resolve my almost 100
jsp/html/img files. And even if I do, it always tells me "missing xml
files".
Thanks,
H.H.

Similar Messages

  • Error / fails to connect Oracle data source using deploy tool

    Hi,
    I want to deploy SAP AS on my company's J2EE application. I deployed the application using Deploy Tool successfully. The application is started without error.
    When I tried connecting the log on page.  I got error in LogViewer:
    Error while accessing porting layer for ORACLE database via getDatabaseHost().
    Relatives : com.sap.sql.jdbc.direct.DirectConnectionFactory
    Resource Bundlename : com.sap.sql.log.OpenSQLResourceBundle
    Source : /System/Database/sql/jdbc/direct
    Argument Objs : ORACLE,getDatabaseHost(),
    Where to look for debugging errors?
    -- Joe

    Hi Markus,
    I changed to Vendor SQL and set Initial Connection to 1.
    On Monitor tab, I see a green line running across the screen. 
    I believe this proves that the connection has been established.
    Thanks a lot!
    -- Joe

  • How to use deploy tool in AIA

    Hi ,
    I am using Tokenizer tool. I have followed the following link
    http://blogs.oracle.com/learnwithpavan/2009/09/deploy_using_the_deploy_tool_u.html.
    I am using ANT 1.7.0 comes with AIA installation.
    export AIA_HOME=/opt/webapps/oracle/product/AIA
    export ORACLE_HOME=/opt/webapps/oracle/product/SOAAS_10.1.3
    export PATH=/opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin
    export JAVA_HOME=/opt/webapps/JDK/jdk1.5.0_20/jre
    ant runesb -DTokenizerPropsFilePath=/opt/webapps/oracle/product/AIA/util/DeployTool/Tokenizer.properties
    following error i am getting
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: uname: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: basename: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: dirname: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    /opt/webapps/oracle/product/AIA/apache-ant-1.7.0/bin/ant: false: not found
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
    Please update if anyone has faced same issue

    Please check the ant home properly.
    do echo on ant_home. If this is not helping you.
    Please follow the steps below.
    Steps to deploy AIA Components:
    1. Navigate to the following location in the server.
         D:\product\10.1.3.1\AIA\util\DeployTool>
    2. Set env variable to AIA_HOME, ORACLE_HOME and ANT_HOME folder
         set AIA_HOME=D:\product\10.1.3.1\AIA\
         set ORACLE_HOME=D:\product\10.1.3.1\OracleAS_1\
    3. Make sure your process folder and it's artifacts are NOT read-only
    4. Copy the bpel projects and Esb project to the following locations.
         D:\product\10.1.3.1\AIA\util\DeployTool\BpelCopy
         D:\product\10.1.3.1\AIA\util\DeployTool\EsbCopy
    5. open and edit \Tokenizer\build.properties in a text editor and populate the below values
    aia.home= Path of the folder which contains BPEL and ESB processes that has to be tokenized.
    Make sure that above Path contains Forward slash.(/)
    If you are planning to deploy only one of the BPEL or ESB processes then leave the other path as blank.     
    DONT NOT MODIFY ANY OTHER PARAMETERS IN THIS FILE.
    aia.home=D:/product/10.1.3.1/AIA/util/DeployTool/BpelCopy/
    6. Go to command prompt and change the current directory to \Tokenizer
    7. For BPEL processes execute the command ">ant runbpel" and for ESB processes execute the command ">ant runesb"
         $ ant runesb -DTokenizerPropsFilePath=D:/product/AIA_HOME/util/DeployTool/Tokenizer.properties
         $ ant runbpel -DTokenizerPropsFilePath=D:/product/AIA_HOME/util/DeployTool/Tokenizer.properties
         Note: you can run with the AIA_HOME in the command doesn't matter.
    8. Goto $AIA_HOME/bin and source the AIA environment file - aiaenv.sh.
         This will source all the environment variables.
    9. Then run "ant" to deploy the process from the bpel project folder as below.
         D:\product\10.1.3.1\AIA\bin>aiaenv.bat
    10. D:\product\10.1.3.1\AIA\util\DeployTool\BpelCopy\XXX_CustomerSyncUEKProvAdapterServiceBPEL_V1>ant     
         Note: If you want to deploy to the different domain. Please change the domain name in the build.properties for the bpel process.
    Thanks,
    Vijay.B

  • How to specify JDBC Oracle url using deployment tool - Entity Bean

    Hello I'am new to EJB.
    When creating a entity bean-managed persistence and you need to specify the jdbc url with user name
    and password to establish a connection object, how does one specify that in the deployment
    tool?
    Heres an example of what has in the J2EE tutorial has in AccountEJB to get an connection object
    private String dbName = "java:comp/env/jdbc/AccountDB";
    private void makeConnection() throws NamingException, SQLException {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup(dbName);
    con = ds.getConnection();
    Now if my oracle jdbc url is to be jdbc:oracle:thin:@Abe:1521:dev
    ie My host is Abe, port number 1521 and database name of dev and username/password will be system/manager.
    what would my dbName be at the top?
    Would my JNDI lookup of a DataSource resource "java:comp/env/jdbc/AccountDB" become "java:comp/env/jdbc/dev" for starters?
    In the Resource Factories Reference Code I've add a reference of
    Coded Name: jdbc/dev
    Type: javax.sql.DataSource
    Authentication: Container
    and down the bottom of the I've put JNDI Name: MyAccount
    according to the AccountClient code of:
    Context initial = new InitialContext();
    Object objref = initial.lookup("MyAccount");
    and put User Name of "system" and Password of "manager"
    I'am sure in the source code I have to put
    Class.forName("oracle.jdbc.driver.OracleDriver")
    else you would get that no sutitable driver error, maybe you don't have to if ejb server is smart enough?
    What I'am confuse about is where to specify the jdbc url of "jdbc:oracle:thin:@Abe:1521:dev" ??
    Know it won't work because of this vital part. Do you have to put that somewhere else in the deployment tool or properties file, or some other tool??
    Please help
    Thanks
    Abraham Khalil

    When running the client after successful deployment with jdbc, I'am getting
    javax.naming.CommunicationException: java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : minor code: 1398079699 completed: Maybe
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : minor code: 1398079699 completed: Maybe
    at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:923)
    at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:281)
    at com.sun.corba.ee.internal.corba.TCUtility.unmarshalIn(TCUtility.java:274)
    at com.sun.corba.ee.internal.corba.AnyImpl.read_value(AnyImpl.java:554)
    at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:605)
    at com.sun.corba.ee.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:252)
    at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.readAny(Util.java:203)
    at javax.rmi.CORBA.Util.readAny(Unknown Source)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.lookup(Unknown Source)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:133)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at AccountClient.main(AccountClient.java:21)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:151)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at AccountClient.main(AccountClient.java:21)
    One thing I don't like about EJB is that everything is transparent which is good! But its much
    harder to debug! :( Tried to see if I can figure it out. Hope someone has seen this problem before?

  • Deploy ejbs without using deployment tool in J2EE server

    Hi,
    IS there any way to deploy ejbs in J2EE without using the deployment tool? I am using the j2ee 1.2.1.
    Thanks,
    Nipa

    When I was in my companies Java Boot Camp (6 week fulltime training in Java technologies) the class was split about 75/25 with 75% of the class using a deployment tool (I think it was WebGain). The other 25% did not use a deployment tool. I was one of the 25%.
    What we did was write a Perl script that took care of all the necessary deployment steps. It has been awhile, and I no longer work for that company, but I'll try and dig up some of those scripts. (Can't promise I'll find them!)
    BTW, the 25% group deployed more EJBs with less problems than those using the deployment tool...

  • Publish a web deploy package using Deploy tool (msdeploy.exe) and *.PublishSetting file

    Hi,
    I have created a web deploy package (*.zip) file using Visual studio. Also I have created a website in Azure and got the publish settings file.
    Now say, I have only web deploy package and publish settings file. How can I publish this package to Azure website using the command prompt with msdeploy.exe command?
    Im trying something like the below:
    msdeploy.exe -source:package='D:\WebDeploy\WebProfile.zip' -dest:auto,computerName="http://webdeploytestsite.azurewebsites.net:443/msdeploy.axd?site=WebDeployTestSite",userName="$WebDeployTestSite",password="***********",authtype="Basic",includeAcls="False"
    -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:"D:\WebDeploy\WebProfile.SetParameters.xml"
    I'm getting the below error!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Error: Could not complete the request to remote agent URL 'http://webdeploytests
    ite.azurewebsites.net:443/msdeploy.axd?site=WebDeployTestSite'.
    Error: The underlying connection was closed: An unexpected error occurred on a r
    eceive.
    Error: Unable to read data from the transport connection: An existing connection
     was forcibly closed by the remote host.
    Error: An existing connection was forcibly closed by the remote host
    Error count: 1.

    Hi,
    As you are using http:// connection instead of https:// in your connection, check the below provide solutions:
    1. In the publish profile window, You need to check the "Allow untrusted certificate" checkbox and the publish should succceed
    You may refer following link for more information:
    http://msdn.microsoft.com/en-us/library/ff683672.aspx
    2. Alternatively, add the –allowUntrusted flag on the command.
    And, we always recommend you to use 'PowerShell' to run the commands instead of normal 'CommandPrompt'. Also, you may temporarily disable the Antirvius in your computer for testing purpose and check if it might be blocking the connection.
    Regards,
    Manu Rekhar

  • Deploying MBean with ear/jar/war files

    Hi!
    I'm working on a project where we plan to use jmx to manage our web(servlet) application.
    I have created a simple test MBean, and try to create the MBean with MBeanServer.
    When i try this, i got a ReflectionException(ClassNotFoundException).
    I have try to deploy the MBean together with the war file(inside ear), create
    a jar file and put it into myserver classpath(web console)...
    Nothing works...
    Audun

    On 30 Aug 2001 05:17:27 -0800, Audun <[email protected]> wrote:
    >
    I'm working on a project where we plan to use jmx to manage our web(servlet) application.
    I have created a simple test MBean, and try to create the MBean with MBeanServer.
    When i try this, i got a ReflectionException(ClassNotFoundException).
    I have try to deploy the MBean together with the war file(inside ear), create
    a jar file and put it into myserver classpath(web console)...It seems like if you want the MBeanServer to instantiate the MBean,
    then you have to put the MBean classes in the server classpath. This
    is probably the best approach, if you want a centralized admin MBean
    to do management from the WLS admin server across a domain.
    If you want an MBean instance per managed server, then you can have
    your application (during initialization) instantiate the MBean and
    register it with the MBeanServer. This approach lets you package your
    MBean classes with your application ear/war/jar.
    You might want a combination of both approaches. An admin MBean
    manages across the domain, and an MBean on each managed server listens
    for attribute change notifications from the admin MBean to deal with
    propagating configuration changes to the application running across
    the cluster. Unfortunately, I have not found any examples or
    documentation on how to get MBean invocations and notifications to
    work remotely. (You know it's possible because the WLS MBeans do it!)
    <hack> <hack> <hack>
    Ben

  • Trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool

    I am having trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool.
    I successfully create the WAR/EAR files, I then select deploy and the deploy process gets to 100% before displaying an error message.
    Can anybody help?
    Please see Deploy Tool log entry:
    01:39 -  **********************************************************
    05/01/17 10:19:16 -  Applying user role management mappings.
    05/01/17 10:19:16 -  Start updating EAR-file...D:\SAP_J2EEngine6.20_Cluster\deploying\carmodeller\carmodeller.ear
    05/01/17 10:19:27 -  Temp files deleted...
    05/01/17 10:19:27 -  Ear-file updated successfully for 11375ms.
    05/01/17 10:19:27 -  Start deploying ...
    05/01/17 10:20:15 -  Ear-file uploaded to server for 47297ms.
    05/01/17 10:21:47 -  ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
                         com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
                              at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(ServletsAndJspImpl.java:482)
                              at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(WebContainer.java:256)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServiceImpl.java:2848)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeployServiceImpl.java:512)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:140)
                              at com.inqmy.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:184)
                              at com.inqmy.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:157)
                              at com.inqmy.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:108)
                              at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
                              at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
                              at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:153)
    05/01/17 10:21:47 -  **********************************************************

    Hi, it looks like the app has trouble starting up:
    05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
    com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
    Did you have any errors on the compile of the code?
    You also want to check if the app is deployed (if so you may want to remove it before re-deploying it)

  • ClassCastException by using deployed resource adapter

    Dear community team,
    I try to create an connection for my web application (war file) running on SAP Web Application Server to access an enterprise information system (Apache JackRabbit) by using JCA and deployed resource adapter. The resource adapter "jackrabbit-jca-1.3.3.rar " is provided Apache Jackrabbit.
    http://jackrabbit.apache.org/downloads.cgi
    I changed some deployment descriptor configuration and deployed it successfully by using Deployment Tools. With the Visual Administrator I also could check the JNDI object and finded an entry in connector container.
    The JNDI lookup worked fine and it returned a object type "JCARepositoryHandle" (I could analyse its type and attributes in debugging modus).If I tried to cast the object "JCARepositoryHandle", I got an ClassCastException.
    Do you have any adoption why I only saw the returned object "JCARepositoryHandle" in debugging modus but it wasnt possible cast and to use it.
    If you need any more information, please let me know.
    Thanks for your support.
    PS: Please have also a look in the attached source an configuration files:
    Java servlet class
    ===================================================================
    Connection connection = null;
          Context initctx = null;
             try {
              //get the initial JNDI context
              Hashtable env = null;
              initctx = new InitialContext();
             // perform JNDI lookup to get the connection factory
             JCARepositoryHandle rep = (JCARepositoryHandle)initctx.lookup("deployedAdapters/jcr/Repository/shareable/jcr/Repository");
    connector-j2ee-engine.xml
    ===================================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE connector-j2ee-engine SYSTEM 'connector-j2ee-engine.dtd'>
    <connector-j2ee-engine>
         <jndi-name>jcr/Repository</jndi-name>
         <pool-params>
              <max-connections-number>10</max-connections-number>
              <max-time-to-wait-connection>120</max-time-to-wait-connection>
              <expiration-control>
                   <connection-lifetime>900</connection-lifetime>
                   <run-cleanup-thread>300</run-cleanup-thread>
              </expiration-control>
         </pool-params>
    </connector-j2ee-engine>
    ra.xml
    ===================================================================
    <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE connector PUBLIC
            '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN'
            'http://java.sun.com/dtd/connector_1_0.dtd'>
        <connector>
          <display-name>Jackrabbit JCR Adapter</display-name>
          <vendor-name>Apache.org</vendor-name>
          <spec-version>1.0</spec-version>
          <eis-type>JCR Adapter</eis-type>
          <version>1.6</version>
          <license>
            <description>Not required</description>
            <license-required>false</license-required>
          </license>
          <resourceadapter>
            <managedconnectionfactory-class>org.apache.jackrabbit.jca.JCAManagedConnectionFactory</managedconnectionfactory-class>
            <connectionfactory-interface>javax.jcr.Repository</connectionfactory-interface>
            <connectionfactory-impl-class>org.apache.jackrabbit.jca.JCARepositoryHandle</connectionfactory-impl-class>
            <connection-interface>javax.jcr.Session</connection-interface>
            <connection-impl-class>org.apache.jackrabbit.jca.JCASessionHandle</connection-impl-class>
            <transaction-support>XATransaction</transaction-support>
            <config-property>
              <config-property-name>HomeDir</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
              <config-property-value>C:/temp/repository</config-property-value>
            </config-property>
            <config-property>
              <config-property-name>ConfigFile</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
              <config-property-value>C:/temp/repository/repository.xml</config-property-value>
            </config-property>
            <reauthentication-support>false</reauthentication-support>     
          </resourceadapter>
        </connector>

    The reason for the ClassCastException was the class loader issue.

  • Problem connecting from Deploy tool to WAS

    Hi,
    We are trying to deploy an .ear file using deploy tool <j2ee Engine/deploying/deploytoll.bat>. But unable to connect to WAS though we gave the user, password and the port that J2EE engine is running (50100). Here is the error message we got: 
    RROR: Cannot connect to Host: [localhost] with user name: [Administrator]
                        Check your login info.
                        Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
    localhost:50100 Reason: Cannot open connection on host: 10.100.232.55 and port: 50100]
    And we are able to connect and login to the J2EE server/Portals. So please help us in deploying the .ear file and let us know whether we can do the same without the help of deploy tool.
    thanks,
    Priya.

    Have you tried using the SDM (Software depolyment manager)?
    \usr\sap\<SID>\DVEBMGS00\SDM\program

  • Deployment tool download switch failing

    I have downloaded the deployment tool and set up a download configuration file.  When I run the  setup with the "/download" switch it runns for a while them fails.  The log file tells me that upong downloading the "stream.x86.x-none.dat"
    file it fails wthi and error that tates "08/15/2014 13:19:43.144 SETUP (0x17b4) 0x173c Click-To-Run aoh8t Unexpected DownloadOffice::HandleStateAction: Failed to download office bits.".
    I thenk get a bogus message stating that I need to check my Internet connection or clear space on my hard drive.  There is pleanty of space on th elocal drive though the download should be going to either a network drive (with pleant of space) or I
    tried an external hard drive with 1.8 TB of free space.  It still fails with the same message(s).
    I've found only one other post similar and there was no resolution listed there.
    Could someone point me in the right direction, or better yet, have a solution?

    Has it ever worked for you?
    The most common reason for troubles like this, is due to an incorrect configuration.xml
    Often, this can be due to smart-quotes (angled) instead of plain-quotes (straight) - this happens if you copy/paste from a webpage.
    Here's a guide:
    http://blogs.technet.com/b/odsupport/archive/2013/06/19/using-the-office-deployment-tool.aspx
    For the "download" phase, the configuration.xml doesn't need very much in it at all..
    e.g.:
    <Configuration>
       <Add OfficeClientEdition="32" >
        <Product ID="O365ProPlusRetail">
         <Language ID="en-us" />
        </Product>
       </Add>
    </Configuration>
    I'm using this configuration.xml, right now, and it's downloading fine.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Deploy tool does not work

    I've created an Entity Bean (an example read from Oracle documentation). The next step is to deploy that.
    I've tried to use deploy-tool (deployejb) shipped with Oracle 8i but there's an exception after called:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/visigenic/vbroker
    /util/be/java/JavaBaseTraverser
    My command line is:
    deployejb -user scott -password tiger -service sess_iiop://myhost.com:1521:dbl -descriptor ejb-jar.xml -oracledescriptor oracle-ejb-jar.xml -temp tmp -verbose -version -generated customerEJB.jar jar\customer.jar
    I've noted that class com/visigenic/vbroker
    /util/be/java/JavaBaseTraverser isn't present in jar file included (C:\Oracle\Ora81\Lib\aurora_client.jar) but class present in this file is:
    com.visigenic.vbroker.util.be.java.EjbJavaBaseTraverser
    Help me please...

    Check your LISTENER.ORA.
    It should have the entry:
    ==========================================
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mypc)(PORT = 2481))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ==========================================
    Besides, in your sess_iiop... URL I see the port number 1521 which is a default for TTC type of cennection.
    Default port for IIOP connections is 2481 or 2481 (SSL connections).
    There are several threads here with such problems discussions.

  • Deployment Tool Error - unknown document type - Add to Application EJB jar

    I am creating a new application in the J2EE deployment tool and adding an EJB JAR to it. The jar contains the ejb-jar.xml file. This file has the standard doctype:
    <!DOCTYPE ejb-jar PUBLIC
    '-//Sun Microsystems, INC.//DTD Enterprise JavaBeans 1.1//EN'
    'file:/C:/j2sdkee1.3/lib/dtds/ejb-jar_2_0.dtd'>
    I get the Unknown Document Type error when I try to add this jar to the application:
    Error: Adding EJB JAR - java.lang.RuntimeException: Invalid XML : Unknown document type : org.apache.crimson.tree.Doctype@e8647
    The xml file validates fine in NetBeans 3.4. I use NetBeans to generate the jar file.
    Any ideas as to what is happening would be appreciated.

    Try replacing the DTD definition as specified below.
    http://java.sun.com/dtd/ejb-jar_2_0.dtd
    regards,
    Siddique

  • Incorrect EAR - Deploy Tool

    Hi,
    I tried deploying an ear file using Deploy Tool. But i faced a problem while loading EAR file.
    Error Message: Error occured while trying to laod ear file - incorrect EAR
    But the same ear is deployable in SDM and Visual Administrator.
    Help me on this.
    Thanks & Regards,
    Krish

    Thanks Rishi,
    EAR is file is generated from an application developed using NWDS.
    Which id are you using to deploy the EAR file.
    I could't get which ID you trying to specify
    Krish
    Edited by: Krish Krish on May 27, 2009 9:57 AM

  • XJC Tool - For building Java classes from Schema

    Hi all,
    I am using XJC tool for Building java classes from Schema.
    Can we have any other tool for generating java classes from Schema?
    Thanks in advance,
    typurohit

    Solved my own problem and forgot to post the answer: the "xsd:import" is also considered as a targetNamespace, so each xsd:import needs a package specified as well when using oracg. It would be helpful if the Oracle documentation had stated that, but it does not point this out.

Maybe you are looking for