Deploying JWS with Eclipse Tools Bundle

Hi all,
I'm trying to write a document describing the steps to follow in order to make and build an Hello World application, launchable from a JNLP template provided by the server.
Here is a summary of the different steps I mentionned :
- Install Eclipse Tools Bundle
- Set up the server (mySQL connector, pools and resources)
- Here is a sample of server.log after a first start :
14 mai 2010 10:28:18 com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
C:\Program Files\Java\jdk1.6.0_16\bin\java.exe
-cp
D:/GTB1.2-1/glassfishv3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/logs/jvm.log
-Xmx512m
-client
-javaagent:D:/GTB1.2-1/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
-Dosgi.shell.telnet.maxconn=1
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=D:\GTB1.2-1\glassfishv3\glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/server.policy
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dosgi.shell.telnet.ip=127.0.0.1
-Djava.endorsed.dirs=D:\GTB1.2-1\glassfishv3\glassfish/modules/endorsed;D:\GTB1.2-1\glassfishv3\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=D:\GTB1.2-1\glassfishv3\glassfish
-Djava.ext.dirs=C:\Program Files\Java\jdk1.6.0_16/lib/ext;C:\Program Files\Java\jdk1.6.0_16/jre/lib/ext;D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/cacerts.jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/login.conf
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Dfelix.fileinstall.debug=1
-Dorg.glassfish.web.rfc2109_cookie_names_enforced=false
-Djava.library.path=D:/GTB1.2-1/glassfishv3/glassfish/lib;C:/Program Files/Java/jdk1.6.0_16/bin;D:/GTB1.2-1/glassfishv3/glassfish;C:/WINDOWS/Sun/Java/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/Program Files/Java/jdk1.6.0_16/jre/bin/client;C:/Program Files/Java/jdk1.6.0_16/jre/bin;C:/Program Files/JavaFX/javafx-sdk1.2/bin;C:/Program Files/JavaFX/javafx-sdk1.2/emulator/bin;C:/PHP;C:/pecl;C:/GTK/bin;C:/WINDOWS/system32/wbem;C:/Program Files/Fichiers communs/Roxio Shared/DLLShared;C:/Program Files/OpenOffice.org 2.3/program;C:/Program Files/MySQL/MySQL Server 5.1/bin
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-asadmin-args
start-domain,,,--domaindir,,,D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92,,,--debug=false,,,--verbose=false,,,domain1
-instancename
server
-verbose
false
-debug
false
-asadmin-classpath
D:/GTB1.2-1/glassfishv3/glassfish/modules/admin-cli.jar
-asadmin-classname
com.sun.enterprise.admin.cli.AsadminMain
-upgrade
false
-domaindir
D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1
-read-stdin
true
INFO: Grizzly Framework 1.9.18-k started in: 31ms listening on port 7676
INFO: Grizzly Framework 1.9.18-k started in: 156ms listening on port 8181
INFO: Grizzly Framework 1.9.18-k started in: 125ms listening on port 4860
INFO: Grizzly Framework 1.9.18-k started in: 219ms listening on port 8084
INFO: Grizzly Framework 1.9.18-k started in: 110ms listening on port 3700
...- Make New Project > enterprise application project : HelloWorld ; add modules HelloWorldClient and HelloWorldEJB ; Finish
- Right click on HelloWorldEJBlient > Properties > Project Facets > Add Persistence facet ; inactivate JPA Implementation (just use the server impl)
- set up persistence.xml
- Write entities and EJB
- Write the Main class and update MANIFEST.MF file
- Right click on HelloWorld > Run on Server
The deployment seems ok, I can run the app using appclient utility,
but http://localhost:8084/HelloWorld/HelloWorldClient produces the following :
Console :
Reading certificates from 1822 http://localhost:8084/___JWSappclient/___app/HelloWorld/HelloWorldClient/HelloWorldClientClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\8\7104bac8-3a74cbea.idx
Reading certificates from 1832 http://localhost:8084/___JWSappclient/___app/HelloWorld/HelloWorldClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\15\18233f4f-4833b7d4.idx
Reading certificates from 2540 http://localhost:8084/___JWSappclient/___app/HelloWorld/glassfish/modules/gf-client.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\1\24f041c1-7777ff5e.idx
Reading certificates from 18850 http://localhost:8084/___JWSappclient/___app/HelloWorld/glassfish/modules/gf-client-module.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\47\299b3b6f-39bc7e5c.idx
Reading certificates from 1832 http://localhost:8084/___JWSappclient/___app/HelloWorld/HelloWorldClient/HelloWorldClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\57\47a196f9-2caeaba5.idx
Reading certificates from 11 file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/generated/xml/HelloWorld/HelloWorldClient_jar/HelloWorldClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\21\2d2f7c15-218cd2d1.idx
#### Java Web Start Error:
#### Détection d'une entrée non signée dans la ressource : file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/generated/xml/HelloWorld/HelloWorldClient_jar/HelloWorldClient.jarServer.log (condensed) :
GRAVE: Adapter[/___JWSappclient/___system] javadb/lib/derby.jar (14 more)
java.io.IOException: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte
     at sun.nio.ch.SocketDispatcher.write0(Native Method)
     at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
     at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
     at sun.nio.ch.IOUtil.write(IOUtil.java:75)
     at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
     at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:106)
     at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:74)
     at com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.jav
...Can anybody tell me what is the problem ? I'm using GF v3 final.
I'm tried to find a step-by-step tutorial on deploying a minimal Java Web Start application on the Internet, but could not find anyone. That's why I trying to, but I'm blocked...
Thanks a lot for your help !
Edited by: LapS on May 17, 2010 2:36 AM

[oracle:deploy] Caused by: oracle.oc4j.rmi.OracleRemoteException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:The default user for administrator, whose password you entered when the server started up the first time, is "oc4jadmin". Please make sure you use that username. "admin" as the default user is deprecated for some security reasons, which is why, I guess, you see
   <user username="admin" password="" deactivated="true"> Please tell me this works for you or not.

Similar Messages

  • Windows Azure deployment with Eclipse plugin

    Hi everybody!
    I want to deploy a windows azure deployment project.
    Here is my problem:
    When i create the project there is no samples folder, so i can't edit my startup.cmd to make it run. I don't know how to edit the startup.cmd by my own. I am using tomcat 7.0.34. I would need a sample how to write the startup.cmd to make my project run.
    It would be great if you could show me an example of a startup.cmd for tomcat and explain what's going on there.
    Another thing i want to ask is if i have to join the zipped jdk folder to the approot folder or the jre folder. I have seen both ways in different tutorials and this confuses me.
    I hope you can help me!

    Hi,
    Seems you have some issue in deploy windows azure project to Windows Azure, I didn't very familiar with java, hope the following links give some help.
    #http://msdn.microsoft.com/en-us/windowsazure/ee941631.aspx
    #http://java.interoperabilitybridges.com/articles/deploying-a-java-application-to-windows-azure-with-command-line-ant
    #http://java.interopbridges.com/articles/deploying-a-java-application-to-windows-azure-with-eclipse
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cannot make .war file using tomcat with eclipse and ant

    i have made all necesary configuration for deploying application using eclipse and ant for the tomcat server.
    when i start the server by clicking the tomcat icon on eclipse toolbar, the message is prompted that "missing application web.xml and using defaults". i have placed the web.xml file in the web/WEB-INF directory of the source project directory.
    also when i use ant by right-clicking on the build.xml file and choose Run as ant.. the process creates a desired .war file in webapps folder of the tomcat server but that war file does not works.
    where is the error i cannot figure out.
    am attaching the code of build.xml for reference.
    please help.
    build.xml:-
    <project name="BecilCTI" default="compile" basedir=".">
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>
    <property name="app.name" value="BecilCTI"/>
    <property name="app.path" value="/${app.name}"/>
    <property name="app.version" value="0.1-dev"/>
    <property name="build.home" value="${basedir}/build"/>
    <property name="catalina.home" value="c:/Tomcat_5.5"/> <!-- UPDATE THIS! -->
    <property name="dist.home" value="${basedir}/dist"/>
    <property name="docs.home" value="${basedir}/docs"/>
    <property name="manager.url" value="http://localhost:8080/manager"/>
    <property name="src.home" value="${basedir}/src"/>
    <property name="web.home" value="${basedir}/web"/>
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>
    <!--<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>-->
    <path id="compile.classpath">
    <!-- Include all elements that Tomcat exposes to applications -->
    <pathelement location="${catalina.home}/common/classes"/>
    <fileset dir="${catalina.home}/common/endorsed">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${catalina.home}/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="${catalina.home}/shared/classes"/>
    <fileset dir="${catalina.home}/shared/lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <target name="all" depends="clean,compile"
    description="Clean build and dist directories, then compile"/>
    <target name="clean"
    description="Delete old build and dist directories">
         <echo message="Cleaning all dirs."/>
    <delete dir="${build.home}"/>
    <delete dir="${dist.home}"/>
    </target>
    <target name="compile" depends="prepare"
    description="Compile Java sources">
    <!-- Compile Java classes as necessary -->
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <javac srcdir="${src.home}"
    destdir="${build.home}/WEB-INF/classes"
    debug="${compile.debug}"
    deprecation="${compile.deprecation}"
    optimize="${compile.optimize}">
    <classpath refid="compile.classpath"/>
    </javac>
    <!-- Copy application resources -->
    <copy todir="${build.home}/WEB-INF/classes">
    <fileset dir="${src.home}" excludes="**/*.java"/>
    </copy>
    </target>
    <target name="dist" depends="compile"
    description="Create binary distribution">
    <!-- Copy documentation subdirectories
    <mkdir dir="${dist.home}/docs"/>
    <copy todir="${dist.home}/docs">
    <fileset dir="${docs.home}"/>
    </copy> -->
    <!-- Create application JAR file -->
    <jar jarfile="${catalina.home}/webapps/${app.name}.war"
    basedir="${build.home}"/>
    <!-- Copy additional files to ${dist.home} as necessary -->
    </target>
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    <target name="list"
    description="List installed applications on servlet container">
    <list url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"/>
    </target>
    <target name="prepare">
    <!-- Create build directories as needed -->
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/WEB-INF"/>
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <!-- Copy static content of this web application -->
    <copy todir="${build.home}">
    <fileset dir="${web.home}"/>
    </copy>
    <mkdir dir="${build.home}/WEB-INF/lib"/>
    </target>
    <target name="reload" depends="compile"
    description="Reload application on servlet container">
    <reload url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    <target name="remove"
    description="Remove application on servlet container">
    <undeploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    </project>

    So is context.xml actually overwriting the settings found in server.xml?I think so. The way I understand it is the the context.xml file saves you from having to edit server.xml. It is preferred for each web app to do its own config, rather than lumping them all together in server.xml.
    And what would be the best way to create the war file? IAt its heart, a WAR is just a zip file with its contents laid out in according to the specification of a web application directory structure.
    So the simplest way to make a war file is to zip up your directory structure with a tool like winzip, and rename it to be myApp.war.
    Regarding ant, I would recommend you take a look through [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
    ]this tutorial. It explains the basics of website layout, configuration and deployment.
    On [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html] this page  in particular, it includes a link to a basic ant file that you can use as a starting point.
    Cheers,
    evnafets

  • Verify user pin on a smart card & load a cap file on a card (with eclipse)

    I have been able install JCWDE (Java card development Kit) successfully on eclipse.Basically all I need to do is verify user pin on a smart card.As in first set a pin and then verify it.
    To begin with I have referred many tutorials (here: http://www.javaworld.com/jw-07-1999/jw-07-javacard.html?page=1) and implemented the wallet code in eclipse.I have the cap file generated and the scripts generated.I am not sure how to load it on the smart card with eclipse.
    I tried to deploy the cap file but it keeps saying connected.Also when we initiate the applet I get the same result.
    output:
    Java Card 2.2.2 APDU Tool, Version 1.3
    Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    Opening connection to localhost on port 9032.
    Connected.
    I have also tried : http://www.cs.ru.nl/E.Poll/hw/practical.html ........ but no luck.
    I have the wallet.cap ,wallet.exp ,wallet.jca ,wallet.opt create.script, select,cap-download.scripts files already generated in eclipse.
    How does a successfully implemented applet code on a smart card work?How does this wallet code work if it is successfully implemented ? Does it have like some GUI which prompts the user to enter the pin?
    Wallet code for reference :
    package com.sun.javacard.samples.wallet;
    import javacard.framework.*;
    public class Wallet extends Applet {
    /* constants declaration */
    // code of CLA byte in the command APDU header
    final static byte Wallet_CLA =(byte)0x80;
    // codes of INS byte in the command APDU header
    final static byte VERIFY = (byte) 0x20;
    final static byte CREDIT = (byte) 0x30;
    final static byte DEBIT = (byte) 0x40;
    final static byte GET_BALANCE = (byte) 0x50;
    // maximum balance
    final static short MAX_BALANCE = 0x7FFF;
    // maximum transaction amount
    final static byte MAX_TRANSACTION_AMOUNT = 127;
    // maximum number of incorrect tries before the
    // PIN is blockedd
    final static byte PIN_TRY_LIMIT =(byte)0x03;
    // maximum size PIN
    final static byte MAX_PIN_SIZE =(byte)0x08;
    // signal that the PIN verification failed
    final static short SW_VERIFICATION_FAILED =
    0x6300;
    // signal the the PIN validation is required
    // for a credit or a debit transaction
    final static short SW_PIN_VERIFICATION_REQUIRED =
    0x6301;
    // signal invalid transaction amount
    // amount > MAX_TRANSACTION_AMOUNT or amount < 0
    final static short SW_INVALID_TRANSACTION_AMOUNT = 0x6A83;
    // signal that the balance exceed the maximum
    final static short SW_EXCEED_MAXIMUM_BALANCE = 0x6A84;
    // signal the the balance becomes negative
    final static short SW_NEGATIVE_BALANCE = 0x6A85;
    /* instance variables declaration */
    OwnerPIN pin;
    short balance;
    private Wallet (byte[] bArray,short bOffset,byte bLength) {
    // It is good programming practice to allocate
    // all the memory that an applet needs during
    // its lifetime inside the constructor
    pin = new OwnerPIN(PIN_TRY_LIMIT, MAX_PIN_SIZE);
    byte iLen = bArray[bOffset]; // aid length
    bOffset = (short) (bOffset+iLen+1);
    byte cLen = bArray[bOffset]; // info length
    bOffset = (short) (bOffset+cLen+1);
    byte aLen = bArray[bOffset]; // applet data length
    // The installation parameters contain the PIN
    // initialization value
    pin.update(bArray, (short)(bOffset+1), aLen);
    register();
    } // end of the constructor
    public static void install(byte[] bArray, short bOffset, byte bLength) {
    // create a Wallet applet instance
    new Wallet(bArray, bOffset, bLength);
    } // end of install method
    public boolean select() {
    // The applet declines to be selected
    // if the pin is blocked.
    if ( pin.getTriesRemaining() == 0 )
    return false;
    return true;
    }// end of select method
    public void deselect() {
    // reset the pin value
    pin.reset();
    public void process(APDU apdu) {
    // APDU object carries a byte array (buffer) to
    // transfer incoming and outgoing APDU header
    // and data bytes between card and CAD
    // At this point, only the first header bytes
    // [CLA, INS, P1, P2, P3] are available in
    // the APDU buffer.
    // The interface javacard.framework.ISO7816
    // declares constants to denote the offset of
    // these bytes in the APDU buffer
    byte[] buffer = apdu.getBuffer();
    // check SELECT APDU command
    if (apdu.isISOInterindustryCLA()) {
    if (buffer[ISO7816.OFFSET_INS] == (byte)(0xA4)) {
    return;
    } else {
    ISOException.throwIt (ISO7816.SW_CLA_NOT_SUPPORTED);
    // verify the reset of commands have the
    // correct CLA byte, which specifies the
    // command structure
    if (buffer[ISO7816.OFFSET_CLA] != Wallet_CLA)
    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    switch (buffer[ISO7816.OFFSET_INS]) {
    case GET_BALANCE:
    getBalance(apdu);
    return;
    case DEBIT:
    debit(apdu);
    return;
    case CREDIT:
    credit(apdu);
    return;
    case VERIFY:
    verify(apdu);
    return;
    default:
    ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
    } // end of process method
    private void credit(APDU apdu) {
    // access authentication
    if ( ! pin.isValidated() )
    ISOException.throwIt(SW_PIN_VERIFICATION_REQUIRED);
    byte[] buffer = apdu.getBuffer();
    // Lc byte denotes the number of bytes in the
    // data field of the command APDU
    byte numBytes = buffer[ISO7816.OFFSET_LC];
    // indicate that this APDU has incoming data
    // and receive data starting from the offset
    // ISO7816.OFFSET_CDATA following the 5 header
    // bytes.
    byte byteRead =
    (byte)(apdu.setIncomingAndReceive());
    // it is an error if the number of data bytes
    // read does not match the number in Lc byte
    if ( ( numBytes != 1 ) || (byteRead != 1) )
    ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
    // get the credit amount
    byte creditAmount = buffer[ISO7816.OFFSET_CDATA];
    // check the credit amount
    if ( ( creditAmount > MAX_TRANSACTION_AMOUNT)
    || ( creditAmount < 0 ) )
    ISOException.throwIt(SW_INVALID_TRANSACTION_AMOUNT);
    // check the new balance
    if ( (short)( balance + creditAmount) > MAX_BALANCE )
    ISOException.throwIt(SW_EXCEED_MAXIMUM_BALANCE);
    // credit the amount
    balance = (short)(balance + creditAmount);
    } // end of deposit method
    private void debit(APDU apdu) {
    // access authentication
    if ( ! pin.isValidated() )
    ISOException.throwIt(SW_PIN_VERIFICATION_REQUIRED);
    byte[] buffer = apdu.getBuffer();
    byte numBytes =
    (byte)(buffer[ISO7816.OFFSET_LC]);
    byte byteRead =
    (byte)(apdu.setIncomingAndReceive());
    if ( ( numBytes != 1 ) || (byteRead != 1) )
    ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
    // get debit amount
    byte debitAmount = buffer[ISO7816.OFFSET_CDATA];
    // check debit amount
    if ( ( debitAmount > MAX_TRANSACTION_AMOUNT)
    || ( debitAmount < 0 ) )
    ISOException.throwIt(SW_INVALID_TRANSACTION_AMOUNT);
    // check the new balance
    if ( (short)( balance - debitAmount ) < (short)0 )
    ISOException.throwIt(SW_NEGATIVE_BALANCE);
    balance = (short) (balance - debitAmount);
    } // end of debit method
    private void getBalance(APDU apdu) {
    byte[] buffer = apdu.getBuffer();
    // inform system that the applet has finished
    // processing the command and the system should
    // now prepare to construct a response APDU
    // which contains data field
    short le = apdu.setOutgoing();
    if ( le < 2 )
    ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
    //informs the CAD the actual number of bytes
    //returned
    apdu.setOutgoingLength((byte)2);
    // move the balance data into the APDU buffer
    // starting at the offset 0
    buffer[0] = (byte)(balance >> 8);
    buffer[1] = (byte)(balance & 0xFF);
    // send the 2-byte balance at the offset
    // 0 in the apdu buffer
    apdu.sendBytes((short)0, (short)2);
    } // end of getBalance method
    private void verify(APDU apdu) {
    byte[] buffer = apdu.getBuffer();
    // retrieve the PIN data for validation.
    byte byteRead = (byte)(apdu.setIncomingAndReceive());
    // check pin
    // the PIN data is read into the APDU buffer
    // at the offset ISO7816.OFFSET_CDATA
    // the PIN data length = byteRead
    if ( pin.check(buffer, ISO7816.OFFSET_CDATA,
    byteRead) == false )
    ISOException.throwIt(SW_VERIFICATION_FAILED);
    } // end of validate method
    } // end of class Wallet
    Any help on this would highly appreciated !! :)

    Hi,
    Thanks a lot for reply.But I am not sure as to how can I delete the simulator.
    All I want to do is write a pin on the smart card and verify it.But I am not being able to deploy the cap file or initiate the applet.
    Also for passing the pin correct me if I am wrong........ according to what you said and what I have understood
    If the code is like this :
    public static void install(byte[] bArray, short bOffset, byte bLength) {
    // create a Wallet applet instance
    new Wallet(bArray, bOffset, bLength);
    } // end of install method
    byte aLen = bArray[bOffset]; // applet data length
    // The installation parameters contain the PIN
    // initialization value
    pin.update(bArray, (short)(bOffset+1), aLen);
    Lets say my pin is : 1234
    then I would pass it here.....
    new Wallet(bArray, 1234, bLength);

  • OEPE 12.1.2.1 with Eclipse (Kepler) M2E and M2E-WTP and Seam 2 problem

    I've a JEE project with Maven 3.0.5  and JBoss Seam 2.3. I've some problems in Weblogic 12.1.2 application deployments with Eclipse.
    If I deploy the application as virtual application (split_src and .beabuild.txt), the .beabuild.txt includes the directories:
    C\:/FundeWeb/2.0/workspace/fundeweb2/web/target/m2e-wtp/web-resources = web_fundeweb2  (m2e-wtp project generated resources)
    C\:/FundeWeb/2.0/workspace/fundeweb2/web/src/main/webapp = web_fundeweb2 (project web resources)
    That's produces the next error (Multiple WEB-INF/ejb-jar.xml found):
    <01-ago-2013 14H07' CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1375358874432" for task "1". Error is: "weblogic.application.ModuleException: Multiple WEB-INF/ejb-jar.xml found. [weblogic.servlet.internal.WarSource@19d4f67, weblogic.servlet.internal.WarSource@c7fd40]"
    weblogic.application.ModuleException: Multiple WEB-INF/ejb-jar.xml found. [weblogic.servlet.internal.WarSource@19d4f67, weblogic.servlet.internal.WarSource@c7fd40]
      at weblogic.ejb.container.deployer.EjbModuleExtensionFactory.create(EjbModuleExtensionFactory.java:26)
      at weblogic.application.internal.ExtensibleModuleWrapper.createModuleExtensions(ExtensibleModuleWrapper.java:264)
      at weblogic.application.internal.ExtensibleModuleWrapper.initDrivenObjectArray(ExtensibleModuleWrapper.java:232)
      at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:107)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      Truncated. see log file for complete stacktrace
    If I deploy the aplication in Weblogic Console with the split_src, with only the web/target/m2e-wtp/web-resources, the applications deploy succesfully.
    If I deploy de application as exploded archive, the jboss-seam.jar file isn't included in the WEB-INF/lib folder. The others jboss-seam-xxxx.jar files are included.
    In the virtual application deployments, I think that the OEPE integration with M2E and M2E-WTP, there are include only the m2e-wtp folders.

    Hi Subash,
    I tried the same installer on a 32bit machine and was able to run without any issues.
    I did however come across a few users jdeveloper users who had similar issues with the jdev installer and the following workaround seems to have solved the issue for them. coudl you try the same and let us know if that helped ?
    1. Extract "oepe-12.1.2.1-kepler-installer-win32.exe" file into C:\oepe-12.1.2.1-kepler-installer-win32
    2. In cmd go to C:\oepe-12.1.2.1-kepler-installer-win32
    3. Execute follow command:
       C:\PROGRA~1\Java\jdk1.6.0_31\bin\java.exe ( path to your JDK)  -jar install/modules/ora-launcher.jar DISKCNT=1 JRE_COMPONENT=oracle.jdk,oracle.jre
    thanks
    Raj

  • SAP Strategy Management 7.0 SSM Component Deployment failed with JSPM

    Dear experts,
    i have installed a SAP Netweaver CE 7.1 on Windows Server 2003 Enterprise x64 with MS SQL and i wish to install now SAP Strategy Management 7.0 with JSPM Tool.
    I have copied the CPMSTRMGMAPC00_0.SCA file on the usr\sap\trans\EPS\in\ directory and the deployment precessus failed with error before the AS JAVA has been restarted.
    How can i manage this problem? Any suggestion is welcomed.
    Thank you very much.
    Best regards,
    Pascal.

    Any ideas?
    Here is the F:\usr\sap\PI7\J71\j2ee\JSPM\log\log_2009_06_15_12_51_48\deploy_2009-06-15_14-56-58.log
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.7.1006]/>
    <!NAME[F:\usr\sap\PI7\J71\j2ee\JSPM\log\log_2009_06_15_12_51_48\deploy_2009-06-15_13-07-03.log]/>
    <!PATTERN[deploy_2009-06-15_13-07-03.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%25d[%6s]:%m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Jun 15, 2009 1:07:03 PM  [Info  ]:DC API is trying to connect to 'sap-pi7:57104'
    Jun 15, 2009 1:07:03 PM  [Info  ]:DC API has Connected to 'sap-pi7:57104'
    Jun 15, 2009 1:07:03 PM  [Path  ]:+++++ Starting  V A L I D A T E action +++++[ deployerId=2 ]. timerId=7
    Jun 15, 2009 1:07:03 PM  [Path  ]:Selected archives for validation. [ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca
    Jun 15, 2009 1:07:03 PM  [Debug ]:Got full sdu path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
    Jun 15, 2009 1:07:03 PM  [Path  ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:deployment workflow strategy is safety deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Path  ]:Error strategies[ deployerId=2 ]:
    Jun 15, 2009 1:07:03 PM  [Path  ]:error action 'DeploymentAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:03 PM  [Path  ]:error action 'PrerequisitesCheckAction' is 'OnErrorSkipDepending'
    Jun 15, 2009 1:07:03 PM  [Debug ]:deployer initialized successfully:[id:#8, elapsed: 0 ms.].[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Debug ]:Total time:[#8: 0.0 sec].[ deployerId=2 ]
    Jun 15, 2009 1:07:03 PM  [Info  ]:Start validating.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Validating completed. Preparing the validation result.
    Jun 15, 2009 1:07:06 PM  [Path  ]:
    Sorted Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca --> xappscpmsm~strategymanagement.sda'
         Sdu info :name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Admitted'
         2. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Admitted'
    Deployment Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Admitted'
              Time statistics:
              Contained DCs:
              1.1:name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Admitted'
              1.2:name 'xappscpmsm~strategymanagementactions', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465041', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465041'.
              1.3:name 'xappscpmsm~strategymanagementdoc', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465046', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465046'.
              1.4:name 'xappscpmsm~strategymanagementdic', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465042', software type ('JDDSCHEMA', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465042'.
    Jun 15, 2009 1:07:06 PM  [Info  ]:+++ Validation finished with status 'Success' +++[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:+++++ End  V A L I D A T E action +++++[ deployerId=2 ]. Total time:[#7: 3.016 sec]
    Jun 15, 2009 1:07:06 PM  [Path  ]:+++++ Starting  D E P L O Y action +++++ [ deployerId=2 ] [ timerId=9]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Selected archives for deployment. [ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca
    Jun 15, 2009 1:07:06 PM  [Debug ]:Got full sdu path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
    Jun 15, 2009 1:07:06 PM  [Path  ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:deployment workflow strategy is safety deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Error strategies[ deployerId=2 ]:
    Jun 15, 2009 1:07:06 PM  [Path  ]:error action 'DeploymentAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:06 PM  [Path  ]:error action 'PrerequisitesCheckAction' is 'OnErrorStop'
    Jun 15, 2009 1:07:06 PM  [Debug ]:deployer initialized successfully:[id:#11, elapsed: 15 ms.].[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Debug ]:Total time:[#11: 0.015 sec].[ deployerId=2 ]
    Jun 15, 2009 1:07:06 PM  [Path  ]:Starting deployment.[ deployerId=2 ]
    Jun 15, 2009 1:07:17 PM  [Debug ]:clusterRestartTriggered for transactionId:223, clusterEventAction:cluster restart triggered
    Jun 15, 2009 1:07:17 PM  [Debug ]:Mark transaction '223' as offline phase.
    Jun 15, 2009 1:07:17 PM  [Info  ]:+++ Performing offline deployment. Server is being restarted +++.The timeout for the operation is:  86400 sec.
    Jun 15, 2009 1:07:17 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 0 ms.
    Jun 15, 2009 1:07:47 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 484 ms.
    Jun 15, 2009 1:08:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 30484 ms.
    Jun 15, 2009 1:08:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 62140 ms.
    Jun 15, 2009 1:09:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 92156 ms.
    Jun 15, 2009 1:09:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 122171 ms.
    Jun 15, 2009 1:10:19 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 152171 ms.
    Jun 15, 2009 1:10:49 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 182296 ms.
    Jun 15, 2009 1:11:20 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 212905 ms.
    Jun 15, 2009 1:12:22 PM  [Info  ]:Engine is up and running. Wait for engine deployment result.
    Jun 15, 2009 1:12:22 PM  [Debug ]:DC API will create new CM
    Jun 15, 2009 1:12:52 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 305686 ms.
    Jun 15, 2009 1:13:22 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 335685 ms.
    Jun 15, 2009 1:13:53 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 365701 ms.
    Jun 15, 2009 1:14:23 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 395701 ms.
    Jun 15, 2009 1:14:53 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 425763 ms.
    Jun 15, 2009 1:15:24 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 456856 ms.
    Jun 15, 2009 1:15:54 PM  [Path  ]:+++ Wait for server response +++. Elapsed: 487012 ms.
    Jun 15, 2009 1:15:57 PM  [Info  ]:Engine is up and running. Wait for engine deployment result.
    Jun 15, 2009 1:15:57 PM  [Info  ]:server is online, time:[id:#10, elapsed: 520059 ms.]
    Jun 15, 2009 1:15:57 PM  [Path  ]:Deployment completed. Preparing the deployment result.[ deployerId=2 ]
    Jun 15, 2009 1:15:57 PM  [Path  ]:
    Sorted Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca --> xappscpmsm~strategymanagement.sda'
         Sdu info :name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]
              Deploy status is 'Aborted'
              Description:'1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
         2. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Aborted'
              Description:'1. Contains Aborted deployment component:
    sdu id: sap.com_xappscpmsm~strategymanagement
    sdu file path: F:\usr\sap\PI7\J71\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\223\CPMSTRMGMAPC00_0_sca1245064026979\DEPLOYARCHIVES\xappscpmsm~strategymanagement.sda
    version status: NEW
    deployment status: Aborted
    description: 1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
    Deployment Items -
         1. Client path '
    sap-pi7\sapmnt\trans\EPS\in\CPMSTRMGMAPC00_0.sca'
         Sdu info :name 'CPM_STR_MGM_APC', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '1000.700.0.1.0.20080221071842'
              Deploy status is 'Aborted'
              Description:'1. Contains Aborted deployment component:
    sdu id: sap.com_xappscpmsm~strategymanagement
    sdu file path: F:\usr\sap\PI7\J71\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\223\CPMSTRMGMAPC00_0_sca1245064026979\DEPLOYARCHIVES\xappscpmsm~strategymanagement.sda
    version status: NEW
    deployment status: Aborted
    description: 1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
              Time statistics:
              Contained DCs:
              1.1:name 'xappscpmsm~strategymanagementdic', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465042'.
              1.2:name 'xappscpmsm~strategymanagementdoc', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465046'.
              1.3:name 'xappscpmsm~strategymanagement', vendor 'sap.com', location 'MAIN_CPMSM70V_D', version '2465295', software type ('J2EE', sub type ''), dependencies :[none]          
                        Deploy status is 'Aborted'
              Time statistics( ms ):
                   1.deployment : 34906
                        1.1.Notify:Event triggered : 157
                        1.2.Disable LCM deployment : 34656
                             1.2.1.Perform delivery : 34656
                                  1.2.1.1.Application Deployer : 34656
                        1.3.Notify Observers : 15
                             1.3.1.Persist in storage : 15
                        1.4.Notify:Event performed : 78
                   2.Persist in storage : 16
                        Description:'1. class com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException
               -> class java.lang.NullPointerException'.
              1.4:name 'xappscpmsm~strategymanagementactions', vendor 'sap.com', location 'n/a', version '1', software type ('n/a', sub type ''), dependencies :[none]          
                        Deploy status is 'AlreadyDeployed'
                        Description:'1. Already deployed component has version:2465041'.
    Jun 15, 2009 1:15:57 PM  [Info  ]:
    Deploy Result Description: Deployment exception occurred during deploy online data. Reason :An error occurred while deploying the deployment item 'sap.com_xappscpmsm~strategymanagement'.; nested exception is:
         com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of sap.com_xappscpmsm~strategymanagement. Cannot deploy it.
    [ deployerId=2 ]
    Jun 15, 2009 1:15:57 PM  [Info  ]:+++ Deployment finished with status 'Error' +++.[ deployerId=2 ][#10: 530.465 sec]
    Jun 15, 2009 1:15:57 PM  [Path  ]:+++++ End  D E P L O Y action +++++[ deployerId=2 ]. Total time:[#9: 530.465 sec]
    Jun 15, 2009 1:15:57 PM  [Debug ]:Incorrect client ID. The stub is not connected yet.
    Jun 15, 2009 1:15:57 PM  [Debug ]:Incorrect client ID. The stub is not connected yet.

  • Java EE 5 Tools Bundle Beta

    Does anyone know if the Java EE 5 Tools Bundle Beta will be updated with NetBeans 5.5 Beta 2 (release just today).

    Yes, we will be updating the tools bundle sometime in the middle of next month (August).

  • Error with eclipse

    hi,
    i know this is not a web app forum,but as my question is with eclipse i am posting my question here
    i am trying to debug my application through eclipse. i have added source and jars to eclipse debug environment. when i dubug i am getting follwoing error,where its working with tomcat deployment . any suggestion?
    SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.log4j.Logger
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.log4j.Logger

    Crosspost: http://forum.java.sun.com/thread.jspa?threadID=5228948&tstart=0
    You've been told before also. Is it difficult to comprehend?

  • Flex SDK with Eclipse

    Hello,
    I am quite new in Flex and Eclipse, but I would like to start my journey. So at the beginning I have to have a software to create my projects. I decided to make it in Eclipse SDK with Flex SDK. But I have no idea how can I install Flex SDK in Eclipse. I mean I would like to be able pree new and then Flex application. Something like this in this movie: http://www.adobe.com/products/flex/media/flexapp/
    So can someone help me??

    The Flex 2 plugin for Eclipse does not work with Eclipse
    3.3.x - you need 3.2.x. Download the Flex 3 Beta from Adobe labs
    and that will work with Eclipse 3.3.x
    You can use a Flex 2 SDK with the Flex Builder 3 plugin -
    each Flex 3 project can select its own Flex SDK. Plus you can help
    us test Flex 3, including the Profiler tool.

  • Web Service with Eclipse

    Has anyone tried accessing a web service with eclipse? We'd like to start using them with our forms for database lookups and the web services are already written. We just haven't had much success calling them with our servlets.
    Thanks,
    Chad

    We also wrote web services with eclipse and deployed them in our jboss app.serv. We can call them in our pdf forms as data connection, or inside some events with java script code.
    What is your problem about ? Did you manage to deploy the web services ? Can you create data connections inside forms ?
    We have faced some difficulties to success writing and caling web services. I may help if you have similar problems.

  • Configuring Oracle EAServer 10g 10.1.2.0.2 with Eclipse

    Hi ,
    Am working on a JAVA/J2EE/Struts application using Eclipse 3.1 and am using
    Oracle Enterprise Manager 10g Application Server 10.1.2.0.2 for deploying the application. Currently am building my application to an ear file and then deploying it manually on the Application Server control to run it every time. Becouse of this am not able to debug the application through eclipse. I need to know whether we can configure Oracle Enterprise Manager 10g 10.1.2.0.2 Enterprise Application Server with Eclipse 3.1 just as we are doing with eclipse tomcat or eclipseweblogic so that i can directly run or debug the application from Eclipse instead of creating a an ear and deploying it to the server to run it. Am using Oracle application server for the first time.
    I tried searching but couldnt find any relevant document /info on this. I got some info on configuring Oracle 10g Application Server 10.1.3 with eclipse,but none about 10.1.2.0.2.
    Any help regarding this is appreciated
    Thanks in advance
    grate

    Hi Steve,
    Thanks for your reply. Am new to Oracle application server. The version that i mentioned ie. 10.1.2 was already installed in my laptop when i got it for working. Am configuring the deployment and JNDI services after i start the sever and bring up the server control through IE after entering the username and password. So i couldnt understand the relevance of a standalone server at this point, and i am new to the name OC4J , why is it called so?(am sorry if am asking any stupid question, but to be frank i dont know any thing about oracle application server untill i came across it recently ) . The document that you followed is the same one that me too found while searching in net. But i couldnt follow the steps becouse in eclispe when i tried to configure the server runtime its throwed error saying it couldnt find any folder in the 10.1.2 installion directory named "...../home/j2ee" . But there was a folder called J2ee in my oracle installion folder so i just tried to map it, but it again throwed error saying "couldnt find asm.jar in j2ee/lib " . So am stuck up at this point.Should i go for oracle 10.1.3 or OC4J as you mentioned? Please give me some insights regarding this.
    Regards
    Grate

  • Deployment Diagram with JDeveloper

    Hi,
    is it possible to draw deployment diagrams with JDeveloper's UML tool?
    Regards,
    Ridvan

    'will it be easy to migrate 10.1.3.3 bpel processes using stored procedures, human tasks, decision rules to 11g?' I think a better place to ask this question would be on the SOA Suite forums:
    SOA Suite and OC4J 11g Technology Preview
    SOA Suite

  • Debugging JSP with Eclipse

    Hi, how to connect to Oracle Database 9i R2 with Eclipse?

    Hi, I didn't get an email notifying me of a response to this. Just happened to check myself.
              But basically you want to point the weblogic server directly to your workspace (src code) so it can detect a change. THis is from our doc below. You may also write an ant script specific to weblogic that redeploys the app and reloads the xml and prop files without restarting the server.
              1.     Start up your Weblogic domain server (i.e., C:\Domains\devDomain\startWebLogic.cmd).
              2.     Go to url, http://localhost:7001/console and log in (weblogic, weblogic).
              3.     On the left menu, click Deployments, then Lock & Edit button above it, and then the Install button in the main panel.
              4.     Change the location to the web folder in your project workspace (C:\Eclipse\workspace\<projectname>\web) Click Next.
              5.     Leave checked the Install this deployment as an application and click Next.
              6.     Put name for Name of deployment. . From here you can click Finish.
              7.     Click Activate Changes. Then check the deployment box and click Start button and Servicing all requests (in Deployments panel). Then click Yes to start it on the next page
              8.     Enter the URL of the application. This example is
              http://localhost:7001/web/index.htm
              The ?web? was the name of the web folder we deployed from. In the future you could name this something different if deploying from this console so the url?s do not conflict.
              Edited by mwooten77 at 01/18/2007 9:34 AM
              Edited by mwooten77 at 01/18/2007 9:35 AM

  • Integration of TFS with Eclipse to run the Selenium scripts

    Dear All,
    We came across with a difficult situation to build an automation framework for our customer. The objective is to find out a common
    scripting language/tools which can integrate and run automated scripts from both HP ALM and MS TFS test management tools. Below are the two solutions we are trying to explore more. Any information regarding the same will be really appreciated. 
    1. Integration of Microsoft TFS with eclipse and running of automated test cases ( Selenium scripts)
    2. Integration of HP ALM to Visual studio - Here we are checking feasibility of integration and running test cases from HP ALM(.Net
    scripts)
    Please let me know your inputs .Thanks a lot
    Shyam
    [email protected]

    Hello Guys- Pls help me to find a solution on this. 
     To find out a common scripting language/tool which can integrate and run automated scripts from both HP ALM and MS TFS
    test management tools. Below are the two solutions we are trying to explore more. Any information regarding the same will be really appreciated. 
    1. Integration of Microsoft TFS with eclipse and running of automated test cases ( Selenium scripts)
    2. Integration of HP ALM to Visual studio - Here we are checking feasibility of integration and running test cases from HP ALM(.Net
    scripts)
    Please let me know your inputs .Thanks a lot
    Shyam
    [email protected]

  • New bie: install java EE 5 tools bundle on windows server 2008 enterprise

    I installed jdk 1.6u7 in windows server 2008 enterprise with path set to c:\jdk\bin forder and JAVA_HOME=c\jdk
    I downloaded java ee 5 tools bundle (with netbeans and without JDK) and execute it but after extracting file, it warned:
    Java SE development kit was not found on this computer, Netbeans can not run without SDK blah blah...
    It's strange. In other my computer (winxp SP2) I installed it in same way without problem.
    Any hint please?
    Thanks in advanced.

    Your other PC had the JDK (JSE) already installed.
    You definitely need it. Yes, in my above thread I already said that I installed JDK 1.6u7 with path and JAVA_HOME variable configured properly.
    What I'm missing here?
    Please have me. I need your help
    Thanks in advanced

Maybe you are looking for