Deploying Pet Store

It's kind of confusing reading the installation guideline.I can't find - estore.ear (its petstore.ear)- estoreEjb.jar (only petstoreEjb.jar)And when compiling the petStoreEjb.jar (ejbc), I got these errors :ERROR: Error from ejbc: Bean "TheInventory" specified in weblogic-ejb-jar.xml was not found in ejb-jar.xmlERROR: Error from ejbc: Bean "TheCatalog" specified in weblogic-ejb-jar.xml wasnot found in ejb-jar.xmlERROR: Error from ejbc: Bean "TheCart" specified in weblogic-ejb-jar.xml was notfound in ejb-jar.xmlERROR: Error from ejbc: Bean "TheMailer" specified in weblogic-ejb-jar.xml was not found in ejb-jar.xmlERROR: Error from ejbc: Bean "TheAccount" specified in weblogic-ejb-jar.xml wasnot found in ejb-jar.xmlERROR: Error from ejbc: EJB Reference "ejb/order" specified in ejb-reference-description for bean"TheShoppingClientController" was not found in ejb-jar.xmlERROR: Error from ejbc: EJB Reference "ejb/account" specified in ejb-reference-description for bean"TheShoppingClientController" was not found in ejb-jar.xmlERROR: Error from ejbc: Bean "TheOrder" specified in weblogic-ejb-jar.xml was not found in ejb-jar.xmlERROR: ejbc found errorscan somebody help me on this ?Thanks in advance,Ricky

Hey Ricky,
All ejb-jar.xml and weblogic-ejb-jar.xml are messed up.
Try to find an a pair which are good and try to change all
ejb-jar.xml and weblogic-ejb-jar.xml to match them. Especially
all ejb-ref and jndi are messed up.
Best of luck
jag
Ricky Hutanoto <[email protected]> wrote:
It's kind of confusing reading the installation guideline.I can't find -
estore.ear (its petstore.ear)- estoreEjb.jar (only petstoreEjb.jar)And
when compiling the petStoreEjb.jar (ejbc), I got these errors :ERROR: Error
from ejbc: Bean "TheInventory" specified in weblogic-ejb-jar.xml was not
found in ejb-jar.xmlERROR: Error from ejbc: Bean "TheCatalog" specified
in weblogic-ejb-jar.xml wasnot found in ejb-jar.xmlERROR: Error from ejbc:
Bean "TheCart" specified in weblogic-ejb-jar.xml was notfound
in ejb-jar.xmlERROR: Error from ejbc: Bean "TheMailer" specified in weblogic-ejb-jar.xml
was not found in ejb-jar.xmlERROR: Error from ejbc: Bean "TheAccount" specified
in weblogic-ejb-jar.xml wasnot found in ejb-jar.xmlERROR: Error from ejbc:
EJB Reference "ejb/order" specified in ejb-reference-description for bean"TheShoppingClientController"
was not found in ejb-jar.xmlERROR: Error from ejbc: EJB Reference "ejb/account"
specified in ejb-reference-description for bean"TheShoppingClientController"
was not found in ejb-jar.xmlERROR: Error from ejbc: Bean "TheOrder" specified
in weblogic-ejb-jar.xml was not found in ejb-jar.xmlERROR: ejbc found errorscan
somebody help me on this ?Thanks in advance,Ricky

Similar Messages

  • Error Deploying Pet Store in Hewlett Packard's Application Server

    I tried deploying the Pet Store (the first version) in HPAS, but I got these deployment Error which I do not understand
    Note: "Jeffi Atmadja" is the name of the computer that I used.
    after the messange "Making Server JARS.."
    java.rmi.RemoteException:Error while loading JAR C:\j2sdkee1.2.1\repository\Jeffi Atmadja\applications\estore1030094962470Server.jar; nested exception is
    java.lang.ClassCastException
    I am using win98, I followed the UNIX steps in installing and have checked every .bat file for 96 *
    Can someone please help
    Thx
    Dewi

    hi J2ee application only support on win2000professional or winNt4

  • Remote start pet store

    Hi,
    I am using weblogic 6.1 and remotely deployed pet store application on a different
    machine using NodeManager. When I try to start the petStoreServer from local admin
    console, I got following error:
    Could not create pool connection. The DBMS driver exception was:
    SQL Exception: Database 'petStore' not found.
         at c8e.k.j.l_(Unknown Source)
         at c8e.k.j.l_(Unknown Source)
         at c8e.k.j.n(Unknown Source)
         at c8e.k.q.<init>(Unknown Source)
         at c8e._b.e.<init>(Unknown Source)
         at c8e._b.c.getNewLocalConnection(Unknown Source)
         at c8e.k.v.connect(Unknown Source)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
         at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
         at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
         at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
         at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy0.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
         at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
         at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy47.start(Unknown Source)
         at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
         at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
         at weblogic.management.Admin.finish(Admin.java:590)
         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    Any hint?
    Thanks,
    Cathy
    Covasoft, Inc.
    1250 S. Capital of Texas Hwy.
    Bldg. 1, Suite 240
    Austin, Texas 78746
    Office: 512.732.7860
    Fax: 512.732.7832

    The exception tells me that the connection pool was not configured properly and
    thus was not created; which as you know, the datasources are dependent on.
    "Anjali" <[email protected]> wrote:
    >
    Created connection pool & data sources in the administartion console
    for Pet Store
    .When I start the example server after this , it gives the following
    error on
    the server console:
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    <Nov 1, 2001 10:24:21 AM IST> <Notice> <Management> <Loading configuration
    file
    .\config\examples\config.xml ...>
    <Nov 1, 2001 10:24:24 AM IST> <Info> <Logging> <Only log messages of
    severity
    "E
    rror" or worse will be displayed in this window. This can be changed
    at Admin
    Co
    nsole> examples> Servers> examplesServer> Logging> General> Stdout severity
    thre
    shold>
    <Nov 1, 2001 10:25:04 AM IST> <Error> <JDBC> <Error during TXDataSource
    creation
    : weblogic.common.ResourceException: DataSource(jdbc.InventoryDB) can't
    be creat
    ed with non-existent Connection Pool (petstorePool)>
    <Nov 1, 2001 10:25:04 AM IST> <Error> <JDBC> <Error during TXDataSource
    creation
    : weblogic.common.ResourceException: DataSource(jdbc.SignOnDB) can't
    be created
    with non-existent Connection Pool (petstorePool)>
    <Nov 1, 2001 10:25:04 AM IST> <Error> <JDBC> <Error during TXDataSource
    creation
    : weblogic.common.ResourceException: DataSource(jdbc.EstoreDB) can't
    be created
    with non-existent Connection Pool (petstorePool)>
    <Nov 1, 2001 10:25:20 AM IST> <Notice> <WebLogicServer> <WebLogic Server
    started
    >
    <Nov 1, 2001 10:25:21 AM IST> <Notice> <WebLogicServer> <SSLListenThread
    listeni
    ng on port 7002>
    <Nov 1, 2001 10:25:21 AM IST> <Notice> <WebLogicServer> <ListenThread
    listening
    on port 7001>
    what could be the problem. please if u can help out.
    ----anjali

  • Failed restarts of Java Pet Store 2.0

    Hi,
    I am having a recurring problem with the Java Pet Store 2.0 that I hope someone can help shed light on.
    I am trying to use the Pet Store as a reference for a project. I have performed the following sequence on a Dell latitude laptop running Windows XP Pro SP2:
    Download and install JDK 1.5.0_11
    Download and install Java EE 5 w/ tools
    Launch NetBeans
    Open the Java Pet Store project that comes embedded in the EE
    Start DB server (if not already started)
    Start Java System Application Server 9
    Check build.properties
    Run Target setup.xml
    Open pet store project
    This works on the initial launch. The problem comes when I shut everything down and turn off the laptop, then try to run the project in NetBeans again the next time I start up. Every time I try, after I start the DB server and App server and even re-target setup.xml, when I try to run the project, I get the same exception (see below). Even my newbie brain realizes that the issue involves the FileArchive class. What it can't figure out is what I should do about it in order to be able to run the darn project more than one time. Can anybody guide me? Thanks in advance for any help.
    Here is the log of the failed petstore run (this same exception has occurred on attempted restarts after multiple installs):
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    Copying 1 file to C:\Sun\SDK\blueprints\petstore\build\web\WEB-INF\classes
    Duplicated project name in import. Project petstore-impl defined first in C:\Sun\SDK\blueprints\petstore\nbproject\ant-deploy.xml and again in C:\Sun\SDK\blueprints\petstore\nbproject\build-impl.xml
    insert-proxy-settings:
    Duplicated project name in import. Project petstore-impl defined first in C:\Sun\SDK\blueprints\petstore\nbproject\ant-deploy.xml and again in C:\Sun\SDK\blueprints\petstore\nbproject\build-impl.xml
    dojo:
    compile:
    compile-jsps:
    Building jar: C:\Sun\SDK\blueprints\petstore\dist\petstore.war
    do-dist:
    dist:
    Incrementally deploying petstore_localhost:4848_server
    Completed incremental distribution of petstore
    Incrementally redeploying petstore_localhost:4848_server
    Start registering the project's server resources
    Finished registering server resources
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.getFileArchive(DirectoryDeploymentFacility.java:186)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.incrementalDeploy(DirectoryDeploymentFacility.java:77)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.incrementalDeploy(DirectoryDeployment.java:154)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.incrementalDeploy(DirectoryDeploymentFacade.java:123)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:502)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:106)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:82)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
    Caused by: java.io.FileNotFoundException: C:\Program Files\netbeans-5.5\bin\${com.sun.aas.installRoot}\blueprints\petstore\build\web
    at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:66)
    ... 22 more
    java.lang.IllegalStateException: cannot find FileArchive class...
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.incrementalDeploy(DirectoryDeploymentFacility.java:79)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.incrementalDeploy(DirectoryDeployment.java:154)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.incrementalDeploy(DirectoryDeploymentFacade.java:123)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:502)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:106)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:82)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
    C:\Sun\SDK\blueprints\petstore\nbproject\build-impl.xml:468: Deployment error:
    cannot find FileArchive class...
    See the server log for details.
    BUILD FAILED (total time: 2 seconds)

    C:\Sun\SDK\blueprints\petstore\nbproject\build-impl.xml:468: Deployment error: cannot find FileArchive class...
    See the server log for details.
    BUILD FAILED (total time: 2 seconds)I had the same problem but not with blueprints and I managed to start manually the sun server, clean and build the project and copy the *.war file from the project_folder/dist/ to C:\Sun\SDK\domains\domain1\autodeploy.
    If this doesn't work you could try to reinstall netbeans and java .

  • J2EESDK-1_4_03 compatability with Java Pet Store

    I am trying to install Java Pet Store (WIndows XP Prof) and have j2se 1.4.11 and J2EESDK-1_4_03 also but from following the install instructions on Java Pet Store, I've to run cloudscape.bat and j2ee.bat from the %J2EE_HOME%\bin folder and they are not contained in there. In fact, they are not anywhere in the entire folder.
    Any suggestions. I could download J2EE-1.3 but I dont think its compatible with Windows XP Prof as when I go to run the file it keeps crashing on me!
    Please any suggestions. Thanks

    in case that you are new , i should suggest you the follwoing steps
    1- you should get J2EE tutorial from sun site
    http://java.sun.com/j2ee/1.4/download.html
    2-get Netbeans IDE 5 from the following link
    http://www.netbeans.info/downloads/download.php?type=5.0
    and now goto the Document home of Netbeans 5 , look under Tutorials for j2ee , I think it is right place for you to start.
    http://www.netbeans.org/kb/50/quickstart-j2ee.html
    Dealing with application servers and trying to deploy an application using deploy tools maybe kinda hard.
    Masoud Kalali
    http://weblogs.java.net/blog/kalali/

  • Java Pet Store deployathlon...

    Hello all,
    I've installed WebLogic 6.1 (on win2k) for the first time today. No problems
    here.
    Then I downloaded the Java Pet Store (JPS) and followed the instructions on <a
    href="http://e-docs.bea.com/wls/docs61/petstore/bea_deployathon.html#petstore">BEAs
    deployathlon page</a>. I followed succesfully the instructions 1-11, but step
    13 (run the petstore) results in an error 500 (internal server error). The server
    console doesn't output any exceptions.
    What could be the problem?
    I would really appreciate your help, since I'm on a very tight schedule for my
    thesis...
    Final note:
    During the installation, I noted the following warning:
    [jar] Building jar: C:\Documents and Settings\Administrator\Mijn documenten\uia\thesis\binaries\java
    pet store\jps1.1.2\src\petstore\build\std_petstoreEjb.jar
    [jar] Warning: selected jar files include a META-INF/MANIFEST.MF which will
    be ignored (please use manifest attribute to jar task)

    "Pieter Van Gorp" <[email protected]> wrote:
    >
    Hello all,
    I've installed WebLogic 6.1 (on win2k) for the first time today. No
    problems
    here.
    Then I downloaded the Java Pet Store (JPS) and followed the instructions
    on <a
    href="http://e-docs.bea.com/wls/docs61/petstore/bea_deployathon.html#petstore">BEAs
    deployathlon page</a>. I followed succesfully the instructions 1-11,
    but step
    13 (run the petstore) results in an error 500 (internal server error).
    The server
    console doesn't output any exceptions.
    What could be the problem?
    I would really appreciate your help, since I'm on a very tight schedule
    for my
    thesis...
    Final note:
    During the installation, I noted the following warning:
    [jar] Building jar: C:\Documents and Settings\Administrator\Mijn
    documenten\uia\thesis\binaries\java
    pet store\jps1.1.2\src\petstore\build\std_petstoreEjb.jar
    [jar] Warning: selected jar files include a META-INF/MANIFEST.MF
    which will
    be ignored (please use manifest attribute to jar task)------------
    Ouch... I seem to have overlooked some errormessages...
    Here they are:
    [delete] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstoreE
    jb.jar to delete.
    [delete] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\std_petst
    oreEjb.jar to delete.
    [jar] Building jar: C:\Documents and Settings\Administrator\Mijn documente
    n\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\std_petstoreEjb
    .jar
    [jar] Warning: selected jar files include a META-INF/MANIFEST.MF which wil
    l be ignored (please use manifest attribute to jar task)
    [java] <10-okt-01 17:58:11 CEST> <Warning> <EJB> <EJB Deployment: TheShoppi
    ngClientController has a class com.sun.j2ee.blueprints.petstore.control.ejb.Shop
    pingClientControllerEJB which is in the classpath. This class should only be loc
    ated in the ejb-jar file.>
    [java] <10-okt-01 17:58:11 CEST> <Warning> <EJB> <EJB Deployment: TheShoppi
    ngClientController has a class com.sun.j2ee.blueprints.petstore.control.ejb.Shop
    pingClientControllerHome which is in the classpath. This class should only be
    lo
    cated in the ejb-jar file.>
    [java] <10-okt-01 17:58:11 CEST> <Warning> <EJB> <EJB Deployment: TheShoppi
    ngClientController has a class com.sun.j2ee.blueprints.petstore.control.ejb.Shop
    pingClientController which is in the classpath. This class should only be locate
    d in the ejb-jar file.>
    [java] error: cannot read: C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\src\ejbcgen\com
    \sun\j2ee\blueprints\petstore\control\ejb\*.java
    [java] 1 error
    [java] Exec failed .. exiting
    [java] Java Result: 1
    [delete] Deleting directory C:\Documents and Settings\Administrator\Mijn docu
    menten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\ejbjar
    ear:
    [delete] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore.
    ear to delete.
    [mkdir] Created dir: C:\Documents and Settings\Administrator\Mijn documenten
    \uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tmp
    [copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
    enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
    p
    [copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
    enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
    p
    [copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
    enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
    p
    [copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
    enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
    p
    [copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
    enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
    p
    [copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstoreE
    jb.jar to copy.
    [copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\mail\build\ma
    ilerEjb.jar to copy.
    [copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\inventory\bui
    ld\inventoryEjb.jar to copy.
    [copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\customer\buil
    d\customerEjb.jar to copy.
    [copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\personalizati
    on\build\personalizationEjb.jar to copy.
    [copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\shoppingcart\
    build\shoppingcartEjb.jar to copy.
    [copy] Could not find file C:\Documents and Settings\Administrator\Mijn doc
    umenten\uia\thesis\binaries\java pet store\jps1.1.2\src\components\signon\build\
    signonEjb.jar to copy.
    [copy] Copying 1 file to C:\Documents and Settings\Administrator\Mijn docum
    enten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_tm
    p\META-INF
    [jar] Building jar: C:\Documents and Settings\Administrator\Mijn documente
    n\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore.ear
    [delete] Deleting directory C:\Documents and Settings\Administrator\Mijn docu
    menten\uia\thesis\binaries\java pet store\jps1.1.2\src\petstore\build\petstore_t
    mp
    core:
    BUILD SUCCESSFUL
    Total time: 3 minutes 12 seconds

  • Sample application Pet Store

    Best Regards
    I would like to know which site I can download the sample application called Pet Store, I searched the web and all links lead me to the java.net site, but can not find where to download the. jar.
    I appreciate the attention.

    Thank you very much for responding. However, explore the site, and the links redirect me to the java.net site showing the error "NOT FOUND" The Page You Were looking for does not exist. You May Have mistype the address or the page May Have moved.

  • Error in Pet Store Execution

    Hi, my pet store has set up fine .
    when go to pet store add something to the cart, verify the shipping address and
    at time of clicking on continue to ship, it gives me huge error saying ,"insert
    no successful".
    If I continue working in the same session with the same very instance of browser
    it gives me the foll error:
    Server Error
    Bean has been deleted.
    Oops! Your request cannot be completed. The server got the following error.
    com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException:
    Bean has been deleted.
         at com.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl.handleEvent(ShoppingClientControllerWebImpl.java:142)
         at com.sun.j2ee.blueprints.petstore.control.web.RequestProcessor.processRequest(RequestProcessor.java:84)
         at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doProcess(MainServlet.java:111)
         at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    If anybody can help me out with this...
    ---------anjali

    "Anjali" <[email protected]> wrote in message
    news:3be1269e$[email protected]..
    >
    Hi, my pet store has set up fine .
    when go to pet store add something to the cart, verify the shippingaddress and
    at time of clicking on continue to ship, it gives me huge error saying,"insert
    no successful".
    If I continue working in the same session with the same very instance ofbrowser
    it gives me the foll error:
    Server Error
    Bean has been deleted.
    Oops! Your request cannot be completed. The server got the followingerror.
    >
    >
    >
    com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException:
    Bean has been deleted.
    atcom.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl
    .handleEvent(ShoppingClientControllerWebImpl.java:142)
    atcom.sun.j2ee.blueprints.petstore.control.web.RequestProcessor.processRequest
    (RequestProcessor.java:84)
    atcom.sun.j2ee.blueprints.petstore.control.web.MainServlet.doProcess(MainServl
    et.java:111)
    atcom.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.j
    ava:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    If anybody can help me out with this...
    ---------anjaliafter editing the customer_ejb.xml file as detailed here:
    http://e-docs.bea.com/wls/docs61/petstore/bea_deployathon.html#oracle you
    need to rebuild the Petstore (step 6 of the same doc) and redeploy it.
    HTH
    Bill

  • Where to find the OC4J-ready Pet Store Demo file jps112.zip

    where to find the OC4J-ready Pet Store Demo file jps112.zip in OTN
    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg

    You have to execute the installer jar file.
    This will create a folder with all the source codes inside.
    I wasn't aware of any need for cvs.

  • Question on threading in Java Pet Store

    In the Java Pet Store, the MainServlet pulls the RequestProcessor and ScreenFlowManager objects from the ServletContext object. Once returned, the request is processed by methods in these objects. Since the ServletContext object and the objects that it contains are considered not to be thread-safe, how does the utilization of these shared objects not cause thread issues? Thanks for your help.

    These objects are used in a read-only fashion, hence there should be no problems related to thread-safety.

  • How to create search index files for Java Pet Store

    Hi All,
    As you may know, the java pet store application uses for the search function a search index object, which itself uses the following files '_36.cfs', 'deletable', 'segments'.
    Now as I want to change the data of the database (delete some pets, and names, etc.), it does not have an effect on the search results. This is because the application uses the search index files and does not use the database for the search query.
    So can anybody help me and tell me how I can create this three files from my *.sql file, so I can search in my own data?
    Thank you very much for your help.
    Regards,
    Wolfgang

    gonso777 wrote:
    Solved:
    I had the same problem. It seems that the installer does not unzip three files where it should.
    With NetBeans (Using File Perspective) or just editing build.xml
    Netbeans: select build.xml/Run Target/Other Targets/unzipindexes: Tough it should work it fails in resolving $javaee.domaindir$ at least in my system, but it does suscessfully create a new directory named ${jee.domaindir} that includes lib/petstore/searchindex and three files: _36.cfs , deletable, segments.
    Copy those three files to your_glasshfish_path/domains/domain1/petstore/searchindex.
    Now you are done. I hope that you had a nice time while waiting two years for it to be answered. How is it that it is not answered anywhere else?
    Regards,
    Ramon Talavera
    www.sciencetechworks.comThanks. I didn't wait 2 years for this, but I just replied on a 2 year old post. I only recently tried the petstore app. I thought I needed to study lucene first to figure things out, it turns out there was an 'internal target' on the build file for this. Thanks a bunch!

  • 0x800705AA error code while deploying win store application. Insufficient resources.

    Hi,
    I'm getting the error while deploying win store application in debug mode. I checked the space - it is not the issue. Is is possible to check/clean the disk space associated with the user account? Is this a problem? If yes, how to clean it?
    Thanks
    Vlad

    Did you ever get an answer on this?  I have the same problem, and have had 3 different level 1 and level 2 Microsoft Techs work on this, with no fix.  Always the same answer - refresh Windows.  It's amazing how these techs can't zero in
    on a root cause for anything.

  • Getting Java Pet Store to run in JBuilder (or any IDE)

    I'm getting a dozen or so errors like:
    "XMLDocumentUtils.java": method getPublicId() not found in interface org.w3c.dom.DocumentType
    when I try to import & build Java Pet Store in JBuilder Enterprise. I've told JBuilder to include j2ee.jar, and I can run the precompiled JPS just fine, with J2EE_HOME pointing at that jar. The getPublicId method is listed for DocumentType in http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html.
    What gives? Anybody had success rolling their own Pet Store?
    Is there any common utility for inspecting class files?

    The problem evidently was that JBuilder was picking up an obsolete version of the class somewhere along the line- problem solved by moving j2ee.jar to the top of the list of Required Libraries.

  • Is it possible to obtain the src of pet store 2.0 without CVS?

    Is there any way I could obtain the petstore 2,0 as a zip file like it used to be in pet store 1.3.2?
    Please, let me know where I can get it?
    It is amazing, all the download button in Sun link to yet another place of blueprints.
    previous sites with download link says with source code but blueprint download only as *.class
    file inside of installer file.
    Also, http://blog.naver.com/bluejames77/80049199960 says No. 2
    2. &#45908;&#48660;&#53364;&#47533;&#54644;&#49436; &#50517;&#52629;&#51012; &#54396;&#45796;&#51020; index.html&#51012; &#48372;&#47732;
    Java EE 5 Application Server&#51012; &#49444;&#52824;&#54616;&#44144;&#45208; &#54841;&#51008; GlassFish Project&#47484; &#49444;&#52824;&#54616;&#46972;&#44256; &#45208;&#50728;&#45796;.
    Translate ----
    after unzip, there is index.html file which specifies to install Java EE 5 application server or glass fish project.
    But, no index.html when I download the same date installer. In fact, any one can go to the CVS site and see
    under www/ there is no *.java file???? only html file???
    Is there anyway somebody in blueprint who just create source zip file like it used to be in 1.3.2?
    with setup.xml and build.xml and link up there? It will say one day work for somebody.
    Also ERROR -
    http://webdev2.sun.com/petstore/faces/catalog.jsp?catid=Cats
    Also, shows error! at chrome I don't know at iexplorer.
    please try -

    You have to execute the installer jar file.
    This will create a folder with all the source codes inside.
    I wasn't aware of any need for cvs.

  • Java Pet Store and connection pooling

    Hi. Does the Java Petstore version 1.2 use connection pooling? I know in the database.properties file it has the following variables:
    Pool.MaximumActiveConnections=10
    Pool.MaximumIdleConnections=5
    Pool.MaximumCheckoutTime=120000
    Pool.TimeToWait=10000
    Pool.PingEnabled=false
    Pool.PingQuery=select * from dual
    Pool.PingConnectionsOlderThan=0
    Pool.PingConnectionsNotUsedFor=0
    Pool.QuietMode=true
    To me this seems like it is using connection pooling. However, on our server, we are continually running out of connections and I KNOW that our other apps ARE using connection pooling. So I'm just wondering if someone can confirm with me that the Java Pet Store is in fact using connection pooling.
    Thanks in advance,
    Dylan

    I forgot to mention that I'm using the Ibatis version of the JPetstore.

Maybe you are looking for

  • ITunes 11.0.2.26 Hangs On Startup

    Ok, don't know when this started happening, but it's really frustrating.  Now before you ask me, if my computer meets the minimum requirements; trust me when i say it's MORE than enough Now i have itunes installed on my SSD as well as my music being

  • "Itunes has detected an iPod that appears to be corrupted" - Ipod Classic

    I recently noticed little tiny jumps or skips appearing in songs on my 80GB ipod classic, so decided to restore it. Having done this I got the following message: "Itunes has detected an iPod that appears to be corrupted. You may need to restore this

  • How to disable view as icon

    Every time I create a new controller/indicator from the block diagram windows, it keeps placing the newly created controller/indicator from block diagram windows as "view as icon".  How do I disable this view so that it always default to false?  I do

  • Difference in ABST2 in non leading ledger for 2nd LC AA and 2nd LC GL

    Hi, While executing ABST2 there is difference in our non leading ledger ,we have recently created new dep. area 33 which updates the values in 2nd LC AA for non leading ledger but value in  2nd LC GL is different from what we have in Asset for non le

  • Quality of "Reflection effect" Seriously Degrades in PDF Format

    Hey guys, Very simple question: Is it possible to adjust the quality of the reflection effect when exporting or saving as a PDF file?  The reflection effect looks great when you view it in the Pages app, but I want it to look just as good in PDF form