Petstore deployment
Hi everybody !
I'm trying to deploy petstore on my PC with OC4J and i get this error:
Auto-deploying petstoreEjb.jar (No previous deployment found)... java.lang.NoCla
ssDefFoundError: com/sun/j2ee/blueprints/customer/customer/ejb/Customer
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at com.evermind.server.ejb.compilation.ClassCompilation.compileMethods(C
lassCompilation.java:68)
at com.evermind.server.ejb.compilation.StatefulSessionBeanCompilation.co
mpile(StatefulSessionBeanCompilation.java:36)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.j
ava:230)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:526)
at com.evermind.server.Application.postInit(Application.java:215)
at com.evermind.server.Application.setConfig(Application.java:104)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1248)
at com.evermind.server.ApplicationServer.initializeApplications(Applicat
ionServer.java:1205)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:943)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:65)
at java.lang.Thread.run(Unknown Source)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:47)
I don't understand everything is in the jar file (petstoreejb.jar)
Do i have a problem with my XML files ?
Thanks for any help ...
Vinod,
Try posting this question on the J2EE/OC4J forum.
Thanks,
Ashesh Parekh
Oracle9iAS Product Manager
Similar Messages
-
Help - Problems with Petstore deployment
I have a back-end App server sitting on an Oracle OPS cluster being
accessed by 2 front-end Web connectors.
A couple of questions
1. How do find the CLASSPATH translation from the error code ?
This is what I did, please tell me if I am on the right track.
in kjs.log
BINDER-007: GxBindWorker: error resolving library
{519C79E8-340E-18AB-DFE4-080020877B69} path
I used kregedit and found the {519C....B69} references the
ShoppingClientController when navigating down the +ClassDef path.
It also gives reference to the path
com.sun.j2ee.blueprints.petstore.control.ejb.ShoppingClientControllerEJB
and ShoppingClientControllerHome
Found this under my APPS directory structure to be in petstore/petstoreEjb
Then added this to my CLASSPATH in kjs and kas startup scripts.
Restart app server.
This seems to resolve the path issue (I think - no longer getting BINDER-007
error) but now I get a blank screen on my browser.
Any hints where to look next - my gut feelings is that something when
wrong in the iasdeploy of the J2EE app, but the log looked fine.
2. When using iasdeploy to deploy the petstoreadmin.ear app, I get the
following errors
CreateSubKey
GDS-037: ldap_add failed with error: Insufficient access
java.lang.NullPointerException
Same results when looking at the access logs on my directory server.
2a. How do I determine what DN iAS is using to register the app with the
directory server ?
2b. Why would registration of previous apps (ie. Bank) work fine ?
Any clues, debugging hints, answers, would be greatly appreciated.
Thanks in advance.
Bruce M. Swinyer Next Generation Networks
[email protected] Lucent TechnologiesiAS by default uses cn=Directory Manager to bind to ldap. Did someone change the
password?
Bruce Swinyer wrote:
I have a back-end App server sitting on an Oracle OPS cluster being
accessed by 2 front-end Web connectors.
A couple of questions
1. How do find the CLASSPATH translation from the error code ?
This is what I did, please tell me if I am on the right track.
in kjs.log
BINDER-007: GxBindWorker: error resolving library
{519C79E8-340E-18AB-DFE4-080020877B69} path
I used kregedit and found the {519C....B69} references the
ShoppingClientController when navigating down the +ClassDef path.
It also gives reference to the path
com.sun.j2ee.blueprints.petstore.control.ejb.ShoppingClientControllerEJB
and ShoppingClientControllerHome
Found this under my APPS directory structure to be in petstore/petstoreEjb
Then added this to my CLASSPATH in kjs and kas startup scripts.
Restart app server.
This seems to resolve the path issue (I think - no longer getting BINDER-007
error) but now I get a blank screen on my browser.
Any hints where to look next - my gut feelings is that something when
wrong in the iasdeploy of the J2EE app, but the log looked fine.
2. When using iasdeploy to deploy the petstoreadmin.ear app, I get the
following errors
CreateSubKey
GDS-037: ldap_add failed with error: Insufficient access
java.lang.NullPointerException
Same results when looking at the access logs on my directory server.
2a. How do I determine what DN iAS is using to register the app with the
directory server ?
2b. Why would registration of previous apps (ie. Bank) work fine ?
Any clues, debugging hints, answers, would be greatly appreciated.
Thanks in advance.
Bruce M. Swinyer Next Generation Networks
[email protected] Lucent Technologies
Consulting Project Engineer
iPlanet Professional Services - ANZ
iPlanet e-commerce Solutions
- A Sun|Netscape Alliance
Sun Microsystems Australia Pty Ltd -
Hi folks,
I am a newbie to J2EE. I downloaded Petstore1.3 and installed it on
my W2K. According to the instructions, I ran setup, then launched
cloudscape database and j2ee server, and ran "setup deploy", and then
restarted cloudscape and j2ee. But when I tried to access
http://localhost:8000/petstore/, it said that the resource wasn't available.
It seems to me that the environment varibles JAVA_HOME and J2EE_HOME
have been set correctly. And I was able to run a couple of servlets.
Thanks in advance for your help!I got the same problem. I followed the intallation step in the doc.
but when I run "setup deploy", I got following message:
deploy:
[echo] Deploying ears ....
[java] java.lang.SecurityException: sealing violation
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.Init(XMLValidationHandler.
java:50)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.<init>(XMLValidationHandle
r.java:38)
[java] at com.sun.enterprise.deployment.ApplicationArchivist.getApplicationName(Application
Archivist.java:1720)
[java] at com.sun.enterprise.tools.deployment.main.Main.main(Main.java:155)
[java] Deploy the application in petstore.ear on the server localhost saving the client jar as
null
[java] Sender object Deploy Tool : Deploy null on localhost
[java] Remote message: Contacted Server....
[java] Remote message: Application null transferred.
[java] Sender object Deploytool (Main) : RemoteException occurred in server thread; nested exce
ption is:
[java] java.rmi.RemoteException: Error saving/opening
[java] Java Result: 1
[java] java.lang.SecurityException: sealing violation
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.Init(XMLValidationHandler.
java:50)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.<init>(XMLValidationHandle
r.java:38)
[java] at com.sun.enterprise.deployment.ApplicationArchivist.getApplicationName(Application
Archivist.java:1720)
[java] at com.sun.enterprise.tools.deployment.main.Main.main(Main.java:155)
[java] Deploy the application in opc.ear on the server localhost saving the client jar as null
[java] Sender object Deploy Tool : Deploy null on localhost
[java] Remote message: Contacted Server....
[java] Remote message: Application null transferred.
[java] Sender object Deploytool (Main) : RemoteException occurred in server thread; nested exce
ption is:
[java] java.rmi.RemoteException: Error saving/opening
[java] Java Result: 1
[java] java.lang.SecurityException: sealing violation
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.Init(XMLValidationHandler.
java:50)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.<init>(XMLValidationHandle
r.java:38)
[java] at com.sun.enterprise.deployment.ApplicationArchivist.getApplicationName(Application
Archivist.java:1720)
[java] at com.sun.enterprise.tools.deployment.main.Main.main(Main.java:155)
[java] Deploy the application in supplier.ear on the server localhost saving the client jar as
null
[java] Sender object Deploy Tool : Deploy null on localhost
[java] Remote message: Contacted Server....
[java] Remote message: Application null transferred.
[java] Sender object Deploytool (Main) : RemoteException occurred in server thread; nested exce
ption is:
[java] java.rmi.RemoteException: Error saving/opening
[java] Java Result: 1
[java] java.lang.SecurityException: sealing violation
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.Init(XMLValidationHandler.
java:50)
[java] at com.sun.enterprise.deployment.xml.XMLValidationHandler.<init>(XMLValidationHandle
r.java:38)
[java] at com.sun.enterprise.deployment.ApplicationArchivist.getApplicationName(Application
Archivist.java:1720)
[java] at com.sun.enterprise.tools.deployment.main.Main.main(Main.java:155)
[java] Deploy the application in petstoreadmin.ear on the server localhost saving the client ja
r as null
[java] Sender object Deploy Tool : Deploy null on localhost
[java] Remote message: Contacted Server....
[java] Remote message: Application null transferred.
[java] Sender object Deploytool (Main) : RemoteException occurred in server thread; nested exce
ption is:
[java] java.rmi.RemoteException: Error saving/opening
[java] Java Result: 1
[echo] The petstore application is now installed.
[echo] Please restart your cloudscape database and the J2EE server, and then point your browser
to http://localhost:8000/petstore to access petstore.
BUILD SUCCESSFUL
Total time: 13 seconds
I do not know what is wrong with the deployment?
Can anybody here give me some hint?
Thanks! -
Duplicated project name in import. Project petstore-impl defined first in E:\Downloads\java pet store\javapetstore-2.0-ea4.6\nbproject\ant-deploy.xml and again in E:\Downloads\java pet store\javapetstore-2.0-ea4.6\nbproject\build-impl.xml
The most common cause for this error is the use of build scripts that were generated by earlier releases of NetBeans. I think more recent versions of NetBeans have addressed this issue.
The error is really just informational.
vbk -
while deploying the petstore 1.2 in windows 2000 using j2sdkee1.3.1 server, using 'setup.bat deploy' in the command window the following exceptions were displayed, how to fix this?
thanks in advance
C:\PETSTO~1.2>setup.bat deploy
Buildfile: setup.xml
init:
deploy:
[echo] Deploying ears ....
[exec] java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
[exec] java.rmi.RemoteException: Error connecting to database; nested e
xception is:
[exec] javax.naming.NameNotFoundException
[exec] at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystem
Exception(ShutdownUtilDelegate.java:64)
[exec] at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
[exec] at org.omg.stub.com.sun.ejb.sqlgen._DBInfo_Stub.getDBMetaData(Un
known Source)
[exec] at com.sun.ejb.sqlgen.SQLGenerator.generateSQL(SQLGenerator.java
:199)
[exec] at com.sun.enterprise.tools.deployment.main.DeployTool.doGenerat
eSQL(DeployTool.java:260)
[exec] at com.sun.enterprise.tools.deployment.main.Main.main(Main.java:
268)
[exec] Caused by: java.rmi.RemoteException: Error connecting to database; n
ested exception is:
[exec] javax.naming.NameNotFoundException
[exec] at com.sun.ejb.sqlgen.DBInfoImpl.getDBMetaData(DBInfoImpl.java:7
4)
[exec] at org.omg.stub.com.sun.ejb.sqlgen._DBInfoImpl_Tie._invoke(Unkno
wn Source)
[exec] at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(Serve
rDelegate.java:355)
[exec] at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
[exec] at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Reque
stProcessor.java:84)
[exec] at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run
(ThreadPool.java:99)Please check the connection pool and datasource in your server.
-
I've tried to deploy the petstore app on a remote database ,I follow the steps for configuring oc4j(updating xml files),and i get the folowing error:
Deploying Petstore
Deploying Storefront
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Binding Storefront
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Deploying OPC
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Deploying Supplier
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Binding Supplier
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Deploying Admin
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Binding Admin
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Finished Deploying PetstoreIn <Pestore_OC4J>\src\build.properties
Change the value j2ee.server.name(localhost) to
your application server name and start your server...
Cheers
--Venky
I've tried to deploy the petstore app on a remote database ,I follow the steps for configuring oc4j(updating xml files),and i get the folowing error:
Deploying Petstore
Deploying Storefront
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Binding Storefront
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Deploying OPC
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Deploying Supplier
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Binding Supplier
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Deploying Admin
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Binding Admin
Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
nnection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect
Finished Deploying Petstore -
Separate jsp/servlets from EJBs for petstore
By default, petstore deploy all the web apps and EJBs in one ear. I am trying to
separate the JSP/servlets to deploy to diffent machine. I need to modify the client
InitialContext to point to the remote server. I took a look at the source and
there are many places using the default constructor of InitialContext to load
the default URL. I wrote a jndi.properties file that has the correct url and put
this to the classpath. I know this file needs to be put to the working directory,
too. In case of pet store web application, what should be the working directory?
Thanks, CathyI'm also interested in running the Pet Store application server and the database
(Oracle prefered) on different systems.
Is this configurable during runtime or does it require code modification, compilation
and deployment?
Thanks,
TL -
Deploying Petstore1.3_01
Using OC4J (Standalone) with Oracle9i
When using deply_petstore.bat or manual efforts to deploy
java -jar %J2EE_HOME%/admin.jar ormi://localhost admin manager -deploy -file %PETSTORE_HOME%/petstore.ear -deploymentName petstore
The following error results
C:\Oracle\or9i\j2ee\home>echo off
Deploying Petstore
Deploying Storefront
Error instantiating application: Error loading web-app 'petstore' at C:\Oracle\or9i\j2ee\home\applications\_petstore\pet
store: Unknown assembly tag in file:/C:/Oracle/or9i/j2ee/home/applications/_petstore/petstore/: <ejb-local-ref>
Anyone have a solutionRobert -
Which version of OC4J are you using?
Error instantiating application: Error loading web-app 'petstore' at C:\Oracle\or9i\j2ee\home\applications\_petstore\pet
store: Unknown assembly tag in file:/C:/Oracle/or9i/j2ee/home/applications/_petstore/petstore/: <ejb-local-ref>The EJB-LOCAL-REF is a tag that was introduced in J2EE 1.3 to support the local interface model of EJB 2.0.
To deploy the J2EE 1.3 version of the Java Petstore which it looks like you are doing, you would need to use the OC4J 903 version. The OC4J 903 version is J2EE 1.3 compatible.
hope that helps
-steve-
Using OC4J (Standalone) with Oracle9i
When using deply_petstore.bat or manual efforts to deploy
java -jar %J2EE_HOME%/admin.jar ormi://localhost admin manager -deploy -file %PETSTORE_HOME%/petstore.ear -deploymentName petstore
The following error results
C:\Oracle\or9i\j2ee\home>echo off
Deploying Petstore
Deploying Storefront
Error instantiating application: Error loading web-app 'petstore' at C:\Oracle\or9i\j2ee\home\applications\_petstore\pet
store: Unknown assembly tag in file:/C:/Oracle/or9i/j2ee/home/applications/_petstore/petstore/: <ejb-local-ref>
Anyone have a solution -
Petstore 1.3 with Oracle 8.1.7 on Solaris 9 - deployment error
Hello,
I'm trying to get Petstore 1.3 shipped with WebLogic Server 7.0 to work with Oracle
8.1.7 on Solaris 9 with a third-party (Oracle) jdbc driver (classes12). I did
the following:
1) created a new connection pool with the correct Oracle database URL and driver
class name (oracle.jdbc.driver.OracleDriver), also user/password properties for
the Oracle db, and the WL server selected in targets;
2) created a database schema for Oracle based on the data in Pointbase and the
weblogic-cmp-rdbms-jar file as well as petstore_catalog_utf8.sql;
3) created a new tx datasource pointing to the Oracle conn pool;
4) modified the catalog component's ejb-jar.xml file's env-entry to contain CatalogOracleDAOImpl;
5) put weblogic.jar in the classpath;
6) used Java's dbping utility to check connection to the database via the Oracle
driver (works fine--no network adapter error or anything related).
I then rebuilt the ear files (build is successful), but when deploying get the
following error:
"Cannot deploy EJB AccountEJB from customerEjb.jar. Cannot find datasource for
JNDI datasource-petstorePool" and says to make sure the JNDI name and deployment
descriptors are correct (I checked the customer component's deployment descriptors
against the tx datasources' JNDI and they match).
What step(s) am I missing? Any suggestions on what else I need to modify would
be very much appreciated.
Thanks,
Beverly ClaireBeverly:
If you have 8.1, then you should be able to simply and easily create a
connection pool to petstore via the console.
The current error you encountering: "petstorePool does not exist" is
because either:
petstorePool is not defined or there was a failure when the pool was first
created trying to connect to the DBMS.
The full errror should be in the log file prior to the TXDatasource error.
Cheers
mbg
"Beverly Claire" <[email protected]> wrote in message
news:[email protected]...
>
Hello Rob,
Thanks for your reply. Yes, the tx datasource's JNDI name isdatasource-petstorePool.
The server log says that "petstorePool does not exist".
My conn pool contents:
Name: petstorePool
URL: jdbc:oracle:thin:@<replaced with db address>:<replaced with dbport>:<replaced
with db SID>
Driver Class Name: oracle.jdbc.driver.OracleDriver
Properties: user=<replaced with username*>
password=<replaced with password*>
*same username and password used to set up the Petstore tables in Oracledb.
>
My tx datasource contents:
Name: PetstoreDataSource
JNDI: datasource-petstorePool
Pool Name: petstorePool
No, actually we're not evaluating in the sense of just-trying-things-out.One
of our clients is considering an application server. They're relying on usfor
help in choosing which would be best. As of now, we are comparing BEA WLServer
7 and 8.1, Sun ONE Application Server 7 EE, Oracle 9i Application Server,and
Fujitsu Interstage v5 Application Server. For cluster testing andperformance
comparison purposes, we'd like to use the same J2EE Application across allservers,
and the obvious choice is Petstore 1.3. One aim is to smoothly connect toan Oracle
database. The other app servers provide setup scripts and databaseschemas for
Petstore-with-Oracle, so db conn and deployment are not a problem at all.As for
WL, we've been trying to get Petstore (both the version downloaded fromSun's
Java Blueprints and the version that shipped with WL 7) to work withOracle, but
no luck so far. It's getting a bit frustrating, given the ease with whichthings
worked out with the other app servers.
Yes, I've tried out Avitek MedRec for WL 8.1, and this time BEA has kindlymade
provisions for Oracle db, so connection to Oracle is not a problem. I'mhoping
BEA will come around to doing the same thing for Petstore, although I'mguessing
that won't be in the near future.
Any other suggestions would be much appreciated.
Thanks,
Bevery Claire -
Deploy Petstore in Exploded Directory(Weblogic 7.0)
I can deploy and run the Petstore in .ear format under Weblogic 7.0. How do I
run it in the Exploded format? Do I need to remove all the .ear, .jar, .war entries/tags
in my config.xml and application.xml files.
I did un-jar all the petstor.ear file and all the .jar files inside the petstore.ear(except
the jar files in the WEB-INF/lib/ directory). I did delete all the .ear, .jar
& .war files(except the jar files in the WEB-INF/lib/ directory), before I put
the exploded petstore/ directory under the ...server/config/examples/applications
directory.
Do I need to put an empty REDEPLOY file in the WEB-INF directory? Anything else
that I'm missing?
Please help! I'm stucked here.
I've attached a jar file, which includes my xml files and log files:
1. ...samples/server/config/examples/config.xml
2. ...samples/server/config/examples/applications/petstore/META-INF/application.xml
3. ...samples/server/config/examples/applications/petstore/WEB-INF/web.xml
4. ...samples/server/config/examples/applications/petstore/WEB-INF/weblogic.xml
5. 3 log files: wl-domain.log, wxamplesServer.log & access.log
[petstore_xml_log_files.jar]I can deploy and run the Petstore in .ear format under Weblogic 7.0. How do I
run it in the Exploded format? Do I need to remove all the .ear, .jar, .war entries/tags
in my config.xml and application.xml files.
I did un-jar all the petstor.ear file and all the .jar files inside the petstore.ear(except
the jar files in the WEB-INF/lib/ directory). I did delete all the .ear, .jar
& .war files(except the jar files in the WEB-INF/lib/ directory), before I put
the exploded petstore/ directory under the ...server/config/examples/applications
directory.
Do I need to put an empty REDEPLOY file in the WEB-INF directory? Anything else
that I'm missing?
Please help! I'm stucked here.
I've attached a jar file, which includes my xml files and log files:
1. ...samples/server/config/examples/config.xml
2. ...samples/server/config/examples/applications/petstore/META-INF/application.xml
3. ...samples/server/config/examples/applications/petstore/WEB-INF/web.xml
4. ...samples/server/config/examples/applications/petstore/WEB-INF/weblogic.xml
5. 3 log files: wl-domain.log, wxamplesServer.log & access.log
[petstore_xml_log_files.jar] -
Deploying Petstore on Oracle 9i App server
Hi all
I am trying to deploy the petstore application on Oracle 9i App server. I am using the "dcmctl" utility to start my HTTP server.
Everytime I run the "dcmctl" tool I get a different message(something like ADMN-906025, ADMN-100003) on Standard output.
This is the exception I am getting in /<Oracle_Home>/dcm/logs/dcmctl_logs/log.xml
"Remote Execute Exception 806212
oracle.ias.sysmgmt.exception.ProcessMgmtException: OPMN operation failure"
I would be really grateful if you could identify and probably even help me solve the problem.
Also, I need to know whether "oidctl", "server.xml" and "web.xml" need to be updated and how.
Thanks in advance,
RaghavendraHi,
I have deployed EJB in the OAS 4.0.8.2a.If you want any help on this, do let me know.I would be trying to deply ot in the 9iAS in the coming week.
Thanks,
Sandeep -
Building and deploying petstore
I've made a change to the petstore example (in CatalogDAO.java) and I'd like to rebuild and deploy it.
Can you tell me how I can do it.
I've tried a few different things but I continue to get the original version.
ThanksThere should be build scripts included for the pet store application. After
you build it, you should add it through the console.
Michael Girdley
BEA Systems Inc
"John Miller" <[email protected]> wrote in message
news:3a157f35$[email protected]..
>
I've made a change to the petstore example (in CatalogDAO.java) and I'dlike to rebuild and deploy it.
Can you tell me how I can do it.
I've tried a few different things but I continue to get the originalversion.
Thanks -
Does anybody deployed petstore 1.1.2 version on weblogic 6.x?
If any body deployed the petstore 1.1.2 version on weblogic 6.x, would you please
send me the deployment descriptors and any other instructions?
Thanks a lot.
-JayTo deal with the WebLogic issue:
<Apr 8, 2009 5:01:23 PM PDT> <Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.>
See:
http://www.javaoracleblog.com/java/WLS_on_Mac.jsf
You can add:
-Dweblogic.management.username=<user name> -Dweblogic.management.password=<password> weblogic.Server to the end of your USER_MEM_ARGS in your startWeblogic.sh in the bin directory of your domain. Bad practice here to put the password in cleartext here. I'm sure those extraordinary Oracle Engineers and gurus will probably port WebLogic to OS X. -
Deployed petstore, but couldnt open on the browser
Hi Everyone,
I deployed Petstore using j2ee with out any problems, but then when i try to open it in browser using url http://localhost:8000/estore/index.html it gives me an error that application is not found and if i see j2ee dos prompt, the exception looks like this
javax.naming.NamingException: Unknown context name : /estore
at org.apache.naming.ContextBindings.bindThread(ContextBindings.java:207
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:190)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2041)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:161)
at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
va:225)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:159)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:818)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:897)
at java.lang.Thread.run(Thread.java:484)
I even tested if my webserver is running, and it works fine.
Can anyone help me.
Thanx in advanceCheck your app server to see if the context name for PetStore has been set.
-
Deploy Sun's petstore 1.3.1_02 to Weblogic 6.1 sp3
I would like to know if I can deploy Sun's version of petstore 1.3.1_02 on Weblogic
6.1 sp3.
Weblogic 6.1 provides instructions for deploying Sun's petstore 1.1.2.
Are there instuctions and a weblogic patch available for petstore 1.3.1_02.
Would the instructions and patch for petstore version 1.1.2 work?
ThanksEva, as a J2EE 1.3 app, PetStore 1.3.1_02 requires a J2EE 1.3 server. BEA's first
J2EE 1.3 server is WLS 7.0.
With that said, we don't have a patch for it, yet. Stay tuned.
"Eva Murray" <[email protected]> wrote:
>
I would like to know if I can deploy Sun's version of petstore 1.3.1_02
on Weblogic
6.1 sp3.
Weblogic 6.1 provides instructions for deploying Sun's petstore 1.1.2.
Are there instuctions and a weblogic patch available for petstore 1.3.1_02.
Would the instructions and patch for petstore version 1.1.2 work?
Thanks
Maybe you are looking for
-
Maintaining different sessions in browser tabs in ADF 11g application
I have a simple ADF 11g application which uses ADF BC 11g. I want to maintain different sessions between the tabs in the same browser. Currently it is messing up with session variables. Please reply to me ASAP. Thanks, Bobby Edited by: 866444 on Jun
-
Nokia Music sign in not there on Windows 8.1
Where is the sign in for Nokia Music for Windows 8.1 app? I paid for the service but am only getting standard definition music
-
I can select a song, but it wont play; even if its on the play button
Ive re-uploaded all my songs, restarted, and even switched headphones. I dont know whats wrong.
-
Hi I'm Persian And I know english a littel I Have a mistake in my skype account and add a letter in user name. how can edite this mistake.I wont remove this letter in my username
-
I had to buy anther PC and now im installing my music o the new computer. In the beginning it was downloading the artwork, u then it stopped. cant get it to work AND Apple wont help unless i pay 19.99 Anyone else having that problem? Or hav a solutio