Petstore setup
Hi all,
I'm trying to get my arms around J2EE. I've read through a lot of documentation and I'm now trying to get the Petstore demo application up and running. However, I can't seem to run the setup.bat process. I've got the J2 SDK and the J2EE SDK installed and am following the install instructions in the Petstore demo app:
<petstore.home>\docs\installing.html
The setup tell me to go to <petstore.home> and run the setup.bat file. When I do this I get a "The system cannot find the path specified." error message. Setup.bat is setting a few env variables and then running
%JAVA_HOME%\bin\java -classpath "%ANT_CLASSPATH%" -Dant.home=%ANT_HOME% -Dj2ee.home=%J2EE_HOME% -Dj2ee-script-suffix=.bat org.apache.tools.ant.Main -buildfile setup.xml %1 %2 %3 %4
If I comment this line out it works fine, meaning it is having no problem setting evn variables. No suprise there. When I try to run the above program directly in the command line:
C:\j2sdk1.4.2_04\bin> java -classpath "%ANT_CLASSPATH%" -Dant.home=%ANT_HOME% -Dj2ee.home=%J2EE_HOME% -Dj2ee-script-suffix=.bat org.apache.tools.ant.Main -buildfile setup.xml %1 %2 %3 %4
I get the following error.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/
Main
I'm not sure where or why this error is coming up and if it really has anything to do with the setup. I'm suprised to see any reference to Apache.
Am I missing a piece? Do I need to run another process prior to this one?
Thanks for the help.
Hi Seth,
I'm assuming that you are using Petstore version 1.3.2 based on the instructions you reference. From the error you are getting, it looks like JAVA_HOME is not set. Make sure that you set JAVA_HOME and J2EE_HOME correctly according to the installing.html file and then try running setup.bat.
Please note that there is an updated version of the Petstore sample application in the J2EE 1.4 samples bundle located at... http://java.sun.com/j2ee/1.4/download.html#samples. The 1.4 samples can be run with the J2EE 1.4 SDK.
-Kyle
Similar Messages
-
Sh setup.sh deploy hangs for PetStore 1.3.2 w J2EE 1.3.1
Hi!
I have succesfully installed a J2EE reference installation in a linux machine and the server starts up fine:
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Starting web service at port: 9191
J2EE SDK/1.3.1
J2EE server startup complete.The cloudscape server also starts up ok
Thu Nov 11 16:53:36 PST 2004: [RmiJdbc] Binding RmiJdbcServer...
Thu Nov 11 16:53:36 PST 2004: [RmiJdbc] No installation of RMI Security Manager...
Thu Nov 11 16:53:37 PST 2004: [RmiJdbc] RmiJdbcServer bound in rmi registryBut when running the "sh setup.sh deploy" , the deployment just displays
init:
deploy:
[echo] Deploying ears ....and that's it. No errors, no exceptions, nada.
What is the problem? Do I need any special permissions? I have even tried deploying as root and it still just hangs.
Thanks for any help that you might provide.I ran into the same problem.
"stracing" the hanging process I found that the installer tried to connect to an IP mapped to my hostname in /etc/hosts:
bind(6, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(6, {sa_family=AF_INET, sin_port=htons(38792), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
connect(6, {sa_family=AF_INET, sin_port=htons(36047), sin_addr=inet_addr("192.168.1.107")}, 16) = -1 EHOSTUNREACH (No route to host)
Problem was that the mapping of my hostname to IP 192.168.1.107 was not valid any more. Updating the IP mapped to the hostname to the current IP AND RERUNNING the setup procedure solved the problem. -
Hi all,
I am currently trying to get Petstore 1.3.1 going on WLS 7.0.0.1 an got
into quite som trouble (btw, does anyone have expereince with this
cofiguration?). After successful deployment in /application I tried the
"populate database" link on ~/petstore/index.jsp and got:
java.sql.SQLException: The transaction is no longer active (status = Committed). No further JDBC access is allowed within this transaction.
at weblogic.jdbc.jts.Connection.checkIfRolledBack(Connection.java:541)
at weblogic.jdbc.jts.ResultSet.close(ResultSet.java:293)
at weblogic.jdbc.rmi.internal.ResultSetImpl.close(ResultSetImpl.java:144)
at weblogic.jdbc.rmi.SerialResultSet.close(SerialResultSet.java:96)
at weblogic.jdbc.rmi.SerialResultSet.close(SerialResultSet.java:87)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResultSet(RDBMSPersistenceManager.java:1797)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResources(RDBMSPersistenceManager.java:1679)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.execGenKeyNamedSequenceTableUpdateAndQuery(RDBMSPersistenceManager.java:1489)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getNextGenKeyNamedSequenceTable(RDBMSPersistenceManager.java:1307)
at com.sun.j2ee.blueprints.address.ejb.AddressEJB_fvu9sn__WebLogic_CMP_RDBMS.ejbCreate(AddressEJB_fvu9sn__WebLogic_CMP_RDBMS.java:1723)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:737)
at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:716)
at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:182)
at com.sun.j2ee.blueprints.address.ejb.AddressEJB_fvu9sn_LocalHomeImpl.create(AddressEJB_fvu9sn_LocalHomeImpl.java:155)
at com.sun.j2ee.blueprints.petstore.tools.populate.AddressPopulator.createAddress(AddressPopulator.java:94) at com.sun.j2ee.blueprints.petstore.tools.populate.AddressPopulator.access$7(AddressPopulator.java)
at com.sun.j2ee.blueprints.petstore.tools.populate.AddressPopulator$1.create(AddressPopulator.java:73)
at com.sun.j2ee.blueprints.petstore.tools.populate.XMLDBHandler.endElement(XMLDBHandler.java:145)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:595)
at com.sun.j2ee.blueprints.petstore.tools.populate.XMLDBHandler.endElement(XMLDBHandler.java:158)
at weblogic.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1411)
at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1613)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1219)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1119)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.populate(PopulateServlet.java:162)
at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doPost(PopulateServlet.java:118)
at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doGet(PopulateServlet.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(SignOnFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(EncodingFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5366)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
and similar traces for ContactInfo, CreditCard, Account, Profile, ...
I nevertheless get to the main screen of the Petstore as if everything
worked well. In fact, it seems like the DB got populated somewhat
correctly; only tbe named sequence tables are unchanged (btw: are the
named sequences expected to be auto-created with
create-default-dbms-tables enabled ?). The strange thing is that every
correct row (in my case having the even IDs) is followd by an all (except the
odd numbered ID field) "NULL" row. This does not happen in all
...EJBTABLEs --- Address and ContactInfo for example are affected, but Profile
is not.
It seems as if ordering a rattlesnake would work well, even though more
of the same type of Execptions appear in the jdbc log. I suspect that the
trouble will start when the 10 cached ID are exhausted.
Any ideas?
KaiI just tried the Petstore 1.3 example provided with WLS 7.0.0.1 and found
petty much the same exception after enabling the jdbc log:
java.sql.SQLException: The transaction is no longer active (status = Committed). No further JDBC access is allowed within this transaction.
at weblogic.jdbc.jts.Connection.checkIfRolledBack(Connection.java:541)
at weblogic.jdbc.jts.ResultSet.close(ResultSet.java:293)
at weblogic.jdbc.rmi.internal.ResultSetImpl.close(ResultSetImpl.java:144)
at weblogic.jdbc.rmi.SerialResultSet.close(SerialResultSet.java:96)
at weblogic.jdbc.rmi.SerialResultSet.close(SerialResultSet.java:87)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResultSet(RDBMSPersistenceManager.java:1797)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResources(RDBMSPersistenceManager.java:1679)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.execGenKeyNamedSequenceTableUpdateAndQuery(RDBMSPersistenceManager.java:1489)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getNextGenKeyNamedSequenceTable(RDBMSPersistenceManager.java:1307)
at com.sun.j2ee.blueprints.po.address.ejb.AddressEJB_fvu9sn__WebLogic_CMP_RDBMS.ejbCreate(AddressEJB_fvu9sn__WebLogic_CMP_RDBMS.java:1755)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:737)
at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:716)
at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:182)
at com.sun.j2ee.blueprints.po.address.ejb.AddressEJB_fvu9sn_LocalHomeImpl.create(AddressEJB_fvu9sn_LocalHomeImpl.java:86)
at com.sun.j2ee.blueprints.po.purchaseorder.ejb.PurchaseOrderHelper.persistPoCMRInfo(PurchaseOrderHelper.java:116)
at com.sun.j2ee.blueprints.po.purchaseorder.ejb.PurchaseOrderHelper.persistPO(PurchaseOrderHelper.java:164) at com.sun.j2ee.blueprints.opc.ejb.MsgBean.doWork(MsgBean.java:103)
at com.sun.j2ee.blueprints.opc.ejb.MsgBean.onMessage(MsgBean.java:72)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:348)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:282)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2309)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2232)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Is there a problem with my general setup maybe, or is this exception to
be ignored?
Kai -
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 -
Problem in Installing PetStore 1.3
Dears, I am facing problem in installing petstore following is my console's out put.Please advise.
I am following the same instructions provided in the docs.
E:\j2sdkee1.2.1\public_html\petstore1.3>setup
Buildfile: setup.xml
init:
help:
[echo] Before running this script, please start the cloudscape database and J2EE server by running the following commands:
[echo] <change directory to j2sdkee1.3/bin>
[echo] cloudscape -start
[echo] j2ee -verbose
create_jms_queues:
[echo] Creating JMS Queues ....
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_users:
[echo] Creating users ....
[java]
[java] Group default has been added successfully.
[java]
[java] User jps_admin has been added successfully.
[java]
[java] User rcvr has been added successfully.
create_supplier_db:
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_opc_db:
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
core:
[echo] The J2EE SDK is now successfully configured to run the petstore application. Please restart cloudscape and the j2ee servers, and deploy all the ear files. You can do this by issuing the fo
llowing commands:
[echo] change directory to j2sdkee1.3/bin
[echo] cloudscape -stop
[echo] j2ee -stop
[echo] cloudscape -start
[echo] j2ee -verbose
[echo] change directory to petstore1.3
[echo] setup.bat deploy (or on Unix, setup.sh deploy)
BUILD SUCCESSFUL
Total time: 22 seconds
E:\j2sdkee1.2.1\public_html\petstore1.3>cd ..
E:\j2sdkee1.2.1\public_html>cd ..
E:\j2sdkee1.2.1>cd bin
E:\j2sdkee1.2.1\bin>cloudscape -stop
URL=[jdbc:rmi:jdbc:cloudscape:]
Attempting to shutdown RmiJdbc server
RmiJdbc Server RmiAddr is: //aliawan/RmiJdbcServer
WARNING: Shutdown was successful!
E:\j2sdkee1.2.1\bin>j2ee -stop
Shutting down the J2EE server.
E:\j2sdkee1.2.1\bin>cd ../public_html
E:\j2sdkee1.2.1>cd /public_html
The syntax of the command is incorrect.
E:\j2sdkee1.2.1>cd public_html
E:\j2sdkee1.2.1\public_html>cd petstore
The system cannot find the path specified.
E:\j2sdkee1.2.1\public_html>cd petstore1.3
E:\j2sdkee1.2.1\public_html\petstore1.3>setup.bat deploy
Buildfile: setup.xml
init:
deploy:
[echo] Deploying ears ....
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.EjbBundleNode
[java] Java Result: 1
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.ApplicationNode
[java] Java Result: 1
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.ApplicationNode
[java] Java Result: 1
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.ApplicationNode
[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: 17 seconds
E:\j2sdkee1.2.1\public_html\petstore1.3>cd ..
E:\j2sdkee1.2.1\public_html>cd ..
E:\j2sdkee1.2.1>cd bin
E:\j2sdkee1.2.1\bin>cloudscape -stop
URL=[jdbc:rmi:jdbc:cloudscape:]
Attempting to shutdown RmiJdbc server
RmiJdbc Server RmiAddr is: //aliawan/RmiJdbcServer
WARNING: Shutdown was successful!
E:\j2sdkee1.2.1\bin>j2ee -stop
Shutting down the J2EE server.
E:\j2sdkee1.2.1\bin>Hello ali_awan,
Upon looking at the output from the console, it looks like you had a problem when you ran setup under the petstore1.3 directory. The setup echoed several times:
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminToolBecause this class was not found, the latter deployment of the Petstore .ear file was not successful. To fix this, you will first need to successfully setup petstore1.3.
The NoClassDefFoundError indicates that the class files in the package com/sun/enterprise/tools/admin/AdminTool could not be located in the system CLASSPATH variable.
Please make sure that the directory that stores the package com/sun/enterprise/tools/admin/AdminTool is included in the system CLASSPATH. This should get rid of the errors during the create_jms_queues step. And hopefully this should alleviate the problems encountered during the deployment of the Petstore ear file.
For instructions how to set your CLASSPATH variable, please visit the following link:
http://java.sun.com/j2se/1.3/install-windows.html
Hope this helps!
Ming Chou
Developer Technical Support
http://www.sun.com/developers/support -
Petstore install problem on Derby and Mysql (Linux) - Upper case table name
Hi
I seem to have a problem which may also be at the heart of many threads here - the tables are created in lower case yet referenced in UPPER CASE.
If the DB is case sensitive, the tables arent found.
does anyone have an UPPER CASED VERSION OF THE SETUP SCRIPT ????
1) setup/sql/javadb/petstore.sql contains all table and field names in lower case
in Netbeans look under ServerResources/sql
i.e.
create table tag(
tagid INTEGER NOT NULL,
tag VARCHAR(30) NOT NULL,
refcount INTEGER NOT NULL,
primary key (tagid),
unique(tag)
2) the petstore app tries to access using CAPITALISED NAMES
i.e.
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: Schema 'PETSTORE' does not existError Code: -1
Call:SELECT TAGID, REFCOUNT, TAG FROM TAG ORDER BY REFCOUNT DESC, TAG ASC
Query:ReportQuery(com.sun.javaee.blueprints.petstore.model.Tag)
at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:303)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:551)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
3) In mysql, the table names are .......
mysql> describe tag;
--------------------------------------------------+
| Field | Type | Null | Key | Default | Extra |
--------------------------------------------------+
| tagid | int(11) | NO | PRI | | |
| tag | varchar(30) | NO | UNI | | |
| refcount | int(11) | NO | | | |
--------------------------------------------------+
3 rows in set (0.02 sec)
I HATE DBAs THAT ONLY KNOW HOW TO SHOUT :-)
chrisHere is a replacement of the offender - have fun
create table CATEGORY(
CATEGORYID VARCHAR(10) NOT NULL,
NAME VARCHAR(25) NOT NULL,
DESCRIPTION VARCHAR(255) NOT NULL,
IMAGEURL VARCHAR(55),
primary key (CATEGORYID)
CREATE TABLE PRODUCT (
PRODUCTID VARCHAR(10) NOT NULL,
CATEGORYID VARCHAR(10) NOT NULL,
NAME VARCHAR(25) NOT NULL,
DESCRIPTION VARCHAR(255) NOT NULL,
IMAGEURL VARCHAR(55),
primary key (PRODUCTID),
foreign key (CATEGORYID) references CATEGORY(CATEGORYID)
CREATE TABLE ADDRESS (
ADDRESSID VARCHAR(10) NOT NULL,
STREET1 VARCHAR(55) NOT NULL,
STREET2 VARCHAR(55),
CITY VARCHAR(55) NOT NULL,
STATE VARCHAR(25) NOT NULL,
ZIP VARCHAR(5) NOT NULL,
LATITUDE DECIMAL(14,10) NOT NULL,
LONGITUDE DECIMAL(14,10) NOT NULL,
primary key (ADDRESSID)
CREATE TABLE SELLERCONTACTINFO (
CONTACTINFOID VARCHAR(10) NOT NULL,
LASTNAME VARCHAR(24) NOT NULL,
FIRSTNAME VARCHAR(24) NOT NULL,
EMAIL VARCHAR(24) NOT NULL,
primary key (CONTACTINFOID)
CREATE TABLE ITEM (
ITEMID VARCHAR(10) NOT NULL,
PRODUCTID VARCHAR(10) NOT NULL,
NAME VARCHAR(30) NOT NULL,
DESCRIPTION VARCHAR(500) NOT NULL,
IMAGEURL VARCHAR(55),
IMAGETHUMBURL VARCHAR(55),
PRICE DECIMAL(14,2) NOT NULL,
ADDRESS_ADDRESSID VARCHAR(10) NOT NULL,
CONTACTINFO_CONTACTINFOID VARCHAR(10) NOT NULL,
TOTALSCORE INTEGER NOT NULL,
NUMBEROFVOTES INTEGER NOT NULL,
DISABLED INTEGER NOT NULL,
primary key (ITEMID),
foreign key (ADDRESS_ADDRESSID) references ADDRESS(ADDRESSID),
foreign key (PRODUCTID) references PRODUCT(PRODUCTID),
foreign key (CONTACTINFO_CONTACTINFOID) references SELLERCONTACTINFO(CONTACTINFOID)
CREATE TABLE ID_GEN (
GEN_KEY VARCHAR(20) NOT NULL,
GEN_VALUE INTEGER NOT NULL,
primary key (GEN_KEY)
CREATE TABLE ZIPLOCATION (
ZIPCODE INTEGER NOT NULL,
CITY VARCHAR(30) NOT NULL,
STATE VARCHAR(2) NOT NULL,
primary key (ZIPCODE)
create table TAG(
TAGID INTEGER NOT NULL,
TAG VARCHAR(30) NOT NULL,
REFCOUNT INTEGER NOT NULL,
primary key (TAGID),
unique(TAG)
create table TAG_ITEM(
TAGID INTEGER NOT NULL,
ITEMID VARCHAR(10) NOT NULL,
unique(TAGid, ITEMID),
foreign key (ITEMID) references ITEM(ITEMID),
foreign key (TAGID) references TAG(TAGID)
INSERT INTO CATEGORY VALUES('CATS', 'Cats', 'Loving and finicky friends', 'cats_icon.gif');
INSERT INTO CATEGORY VALUES('DOGS', 'Dogs', 'Loving and furry friends', 'dogs_icon.gif');
INSERT INTO CATEGORY VALUES('BIRDS', 'Birds', 'Loving and feathery friends', 'birds_icon.gif');
INSERT INTO CATEGORY VALUES('REPTILES', 'Reptiles', 'Loving and scaly friends', 'reptiles_icon.gif');
INSERT INTO CATEGORY VALUES('FISH', 'Fish', 'Loving aquatic friends', 'fish_icon.gif');
INSERT INTO PRODUCT VALUES('feline01', 'CATS', 'Hairy Cat', 'Great for reducing mouse populations', 'cat1.gif');
INSERT INTO PRODUCT VALUES('feline02', 'CATS', 'Groomed Cat', 'Friendly house cat keeps you away from the vacuum', 'cat2.gif');
INSERT INTO PRODUCT VALUES('canine01', 'DOGS', 'Medium Dogs', 'Friendly dog from England', 'dog1.gif');
INSERT INTO PRODUCT VALUES('canine02', 'DOGS', 'Small Dogs', 'Great companion dog to sit on your lap','dog2.gif');
INSERT INTO PRODUCT VALUES('avian01', 'BIRDS', 'Parrot', 'Friend for a lifetime.', 'bird1.gif');
INSERT INTO PRODUCT VALUES('avian02', 'BIRDS', 'Exotic', 'Impress your friends with your colorful friend.','bird2.gif');
INSERT INTO PRODUCT VALUES('fish01', 'FISH', 'Small Fish', 'Fits nicely in a small aquarium.','fish2.gif');
INSERT INTO PRODUCT VALUES('fish02', 'FISH', 'Large Fish', 'Need a large aquarium.','fish3.gif');
INSERT INTO PRODUCT VALUES('reptile01', 'REPTILES', 'Slithering Reptiles', 'Slides across the floor.','lizard1.gif');
INSERT INTO PRODUCT VALUES('reptile02', 'REPTILES', 'Crawling Reptiles', 'Uses legs to move fast.','lizard2.gif');
INSERT INTO ADDRESS VALUES('1', 'W el Camino Real & Castro St', '', 'Mountain View','CA','94040',37.38574,-122.083973);
INSERT INTO ADDRESS VALUES('2', 'Shell Blvd & Beach Park Blvd', '', 'Foster CITY','CA','94404',37.546935,-122.263978);
INSERT INTO ADDRESS VALUES('3', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('4', 'S 1st St & W Santa Clara St', '', 'San Jose','CA','95113',37.336141,-121.890666);
INSERT INTO ADDRESS VALUES('5', '1st St & Market St ', '', 'San Francisco','CA','94105',37.791028,-122.399082);
INSERT INTO ADDRESS VALUES('6', 'Paseo Padre Pky & Fremont Blvd', '', 'Fremont','CA','94555',37.575035,-122.041273);
INSERT INTO ADDRESS VALUES('7', 'W el Camino Real & S Mary Ave', '', 'Sunnyvale','CA','94087',37.371641,-122.048772);
INSERT INTO ADDRESS VALUES('8', 'Bay STREET and Columbus Ave ', '', 'San Francisco','CA','94133',37.805328,-122.416882);
INSERT INTO ADDRESS VALUES('9', 'El Camino Real & Scott Blvd', '', 'Santa Clara','CA','95050',37.352141 ,-121.959569);
INSERT INTO ADDRESS VALUES('10', 'W el Camino Real & Hollenbeck Ave', '', 'Sunnyvale','CA','94087',37.369941,-122.041271);
INSERT INTO ADDRESS VALUES('11', 'S Main St & Serra Way', '', 'Milpitas','CA','95035',37.428112,-121.906505);
INSERT INTO ADDRESS VALUES('12', 'Great Mall Pky & S Main St', '', 'Milpitas','CA','95035',37.414722,-121.902085);
INSERT INTO ADDRESS VALUES('13', 'Valencia St & 16th St', '', 'San Francisco','CA','94103',37.764985,-122.421886);
INSERT INTO ADDRESS VALUES('14', 'S 1st St & W Santa Clara St', '', 'San Jose','CA','95113',37.336141,-121.890666);
INSERT INTO ADDRESS VALUES('15', 'Bay STREET and Columbus Ave ', '', 'San Francisco','CA','94133',37.805328,-122.416882);
INSERT INTO ADDRESS VALUES('16', 'El Camino Real & Scott Blvd', '', 'Santa Clara','CA','95050',37.352141 ,-121.959569);
INSERT INTO ADDRESS VALUES('17', 'Millbrae Ave & Willow Ave', '', 'Millbrae ','CA','94030',37.596635,-122.391083);
INSERT INTO ADDRESS VALUES('18', 'Leavesley Rd & Monterey Rd', '', 'Gilroy','CA','95020',37.019447,-121.574953);
INSERT INTO ADDRESS VALUES('19', 'S Main St & Serra Way', '', 'Milpitas','CA','95035',37.428112,-121.906505);
INSERT INTO ADDRESS VALUES('20', '24th St & Dolores St', '', 'San Francisco','CA','94114',37.75183,-122.424982);
INSERT INTO ADDRESS VALUES('21', 'Great Mall Pky & S Main St', '', 'Milpitas','CA','95035',37.414722,-121.902085);
INSERT INTO ADDRESS VALUES('22', 'Grant Rd & South Dr ', '', 'Mountain view','CA','94040',37.366941,-122.078073);
INSERT INTO ADDRESS VALUES('23', '25th St & Dolores St', '', 'San Francisco','CA','94114',37.75013,-122.424782);
INSERT INTO ADDRESS VALUES('24', 'Ellis St & National Ave', '', 'Mountain view','CA','94043',37.40094,-122.052272);
INSERT INTO ADDRESS VALUES('25', '1st St & Market St ', '', 'San Francisco','CA','94105',37.791028,-122.399082);
INSERT INTO ADDRESS VALUES('26', 'San Antonio Rd & Middlefield Rd', '', 'Palo Alto','CA','94303',37.416239,-122.103474);
INSERT INTO ADDRESS VALUES('27', '20th St & Dolores St', '', 'San Francisco','CA','94114',37.75823,-122.425582);
INSERT INTO ADDRESS VALUES('28', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('29', 'Dolores St & San Jose Ave', '', 'San Francisco','CA','94110',37.74023,-122.423782);
INSERT INTO ADDRESS VALUES('30', 'Leavesley Rd & Monterey Rd', '', 'Gilroy','CA','95020',37.019447,-121.574953);
INSERT INTO ADDRESS VALUES('31', 'Palm Dr & Arboretum Rd', '', 'Stanford','CA','94305',37.437838,-122.166975);
INSERT INTO ADDRESS VALUES('32', 'Millbrae Ave & Willow Ave', '', 'Millbrae ','CA','94030',37.596635,-122.391083);
INSERT INTO ADDRESS VALUES('33', 'Cesar Chavez St & Sanchez', '', 'San Francisco','CA','94131',37.74753,-122.428982);
INSERT INTO ADDRESS VALUES('34', 'University Ave & Middlefield Rd', '', 'Palo Alto','CA','94301',37.450638,-122.156975);
INSERT INTO ADDRESS VALUES('35', 'Bay STREET and Columbus Ave ', '', 'San Francisco','CA','94133',37.805328,-122.416882);
INSERT INTO ADDRESS VALUES('36', 'Telegraph Ave & Bancroft Way', '', 'Berkeley','CA','94704',37.868825,-122.25978);
INSERT INTO ADDRESS VALUES('37', '1st St & Market St ', '', 'San Francisco','CA','94105',37.791028,-122.399082);
INSERT INTO ADDRESS VALUES('38', 'San Antonio Rd & Middlefield Rd', '', 'Palo Alto','CA','94303',37.416239,-122.103474);
INSERT INTO ADDRESS VALUES('39', '20th St & Dolores St', '', 'San Francisco','CA','94114',37.75823,-122.425582);
INSERT INTO ADDRESS VALUES('40', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('41', 'Dolores St & San Jose Ave', '', 'San Francisco','CA','94110',37.74023,-122.423782);
INSERT INTO ADDRESS VALUES('42', '4th St & Howard St', '', 'San Francisco','CA','94103',37.783229,-122.402582);
INSERT INTO ADDRESS VALUES('43', 'Palm Dr & Arboretum Rd', '', 'Stanford','CA','94305',37.437838,-122.166975);
INSERT INTO ADDRESS VALUES('44', 'Campbell St & Riverside Ave', '', 'Santa Cruz','CA','95060',36.96985,-122.019473);
INSERT INTO ADDRESS VALUES('45', 'Cesar Chavez St & Sanchez', '', 'San Francisco','CA','94131',37.74753,-122.428982);
INSERT INTO ADDRESS VALUES('46', 'University Ave & Middlefield Rd', '', 'Palo Alto','CA','94301',37.450638,-122.156975);
INSERT INTO ADDRESS VALUES('47', 'W el Camino Real & S Mary Ave', '', 'Sunnyvale','CA','94087',37.371641,-122.048772);
INSERT INTO ADDRESS VALUES('48', 'Telegraph Ave & Bancroft Way', '', 'Berkeley','CA','94704',37.868825,-122.25978);
INSERT INTO ADDRESS VALUES('49', '1st St & Market St ', '', 'San Francisco','CA','94105',37.791028,-122.399082);
INSERT INTO ADDRESS VALUES('50', 'San Antonio Rd & Middlefield Rd', '', 'Palo Alto','CA','94303',37.416239,-122.103474);
INSERT INTO ADDRESS VALUES('51', '20th St & Dolores St', '', 'San Francisco','CA','94114',37.75823,-122.425582);
INSERT INTO ADDRESS VALUES('52', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('53', 'Dolores St & San Jose Ave', '', 'San Francisco','CA','94110',37.74023,-122.423782);
INSERT INTO ADDRESS VALUES('54', '4th St & Howard St', '', 'San Francisco','CA','94103',37.783229,-122.402582);
INSERT INTO ADDRESS VALUES('55', 'Palm Dr & Arboretum Rd', '', 'Stanford','CA','94305',37.437838,-122.166975);
INSERT INTO ADDRESS VALUES('56', 'W el Camino Real & S Mary Ave', '', 'Sunnyvale','CA','94087',37.371641,-122.048772);
INSERT INTO ADDRESS VALUES('57', 'Campbell St & Riverside Ave', '', 'Santa Cruz','CA','95060',36.96985,-122.019473);
INSERT INTO ADDRESS VALUES('58', 'University Ave & Middlefield Rd', '', 'Palo Alto','CA','94301',37.450638,-122.156975);
INSERT INTO ADDRESS VALUES('59', 'Bay STREET and Columbus Ave ', '', 'San Francisco','CA','94133',37.805328,-122.416882);
INSERT INTO ADDRESS VALUES('60', 'Telegraph Ave & Bancroft Way', '', 'Berkeley','CA','94704',37.868825,-122.25978);
INSERT INTO ADDRESS VALUES('61', 'San Antonio Rd & Middlefield Rd', '', 'Palo Alto','CA','94303',37.416239,-122.103474);
INSERT INTO ADDRESS VALUES('62', '20th St & Dolores St', '', 'San Francisco','CA','94114',37.75823,-122.425582);
INSERT INTO ADDRESS VALUES('63', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('64', 'Dolores St & San Jose Ave', '', 'San Francisco','CA','94110',37.74023,-122.423782);
INSERT INTO ADDRESS VALUES('65', 'W el Camino Real & S Mary Ave', '', 'Sunnyvale','CA','94087',37.371641,-122.048772);
INSERT INTO ADDRESS VALUES('66', 'Palm Dr & Arboretum Rd', '', 'Stanford','CA','94305',37.437838,-122.166975);
INSERT INTO ADDRESS VALUES('67', 'Millbrae Ave & Willow Ave', '', 'Millbrae ','CA','94030',37.596635,-122.391083);
INSERT INTO ADDRESS VALUES('68', 'Cesar Chavez St & Sanchez', '', 'San Francisco','CA','94131',37.74753,-122.428982);
INSERT INTO ADDRESS VALUES('69', 'University Ave & Middlefield Rd', '', 'Palo Alto','CA','94301',37.450638,-122.156975);
INSERT INTO ADDRESS VALUES('70', 'Bay STREET and Columbus Ave ', '', 'San Francisco','CA','94133',37.805328,-122.416882);
INSERT INTO ADDRESS VALUES('71', 'Leavesley Rd & Monterey Rd', '', 'Gilroy','CA','95020',37.019447,-121.574953);
INSERT INTO ADDRESS VALUES('72', 'Campbell St & Riverside Ave', '', 'Santa Cruz','CA','95060',36.96985,-122.019473);
INSERT INTO ADDRESS VALUES('73', '20th St & Dolores St', '', 'San Francisco','CA','94114',37.75823,-122.425582);
INSERT INTO ADDRESS VALUES('74', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('75', 'Dolores St & San Jose Ave', '', 'San Francisco','CA','94110',37.74023,-122.423782);
INSERT INTO ADDRESS VALUES('76', '4th St & Howard St', '', 'San Francisco','CA','94103',37.783229,-122.402582);
INSERT INTO ADDRESS VALUES('77', 'Palm Dr & Arboretum Rd', '', 'Stanford','CA','94305',37.437838,-122.166975);
INSERT INTO ADDRESS VALUES('78', 'Millbrae Ave & Willow Ave', '', 'Millbrae ','CA','94030',37.596635,-122.391083);
INSERT INTO ADDRESS VALUES('79', 'Campbell St & Riverside Ave', '', 'Santa Cruz','CA','95060',36.96985,-122.019473);
INSERT INTO ADDRESS VALUES('80', 'University Ave & Middlefield Rd', '', 'Palo Alto','CA','94301',37.450638,-122.156975);
INSERT INTO ADDRESS VALUES('81', 'Grant Rd & South Dr ', '', 'Mountain view','CA','94040',37.366941,-122.078073);
INSERT INTO ADDRESS VALUES('82', 'Telegraph Ave & Bancroft Way', '', 'Berkeley','CA','94704',37.868825,-122.25978);
INSERT INTO ADDRESS VALUES('83', 'San Antonio Rd & Middlefield Rd', '', 'Palo Alto','CA','94303',37.416239,-122.103474);
INSERT INTO ADDRESS VALUES('84', '20th St & Dolores St', '', 'San Francisco','CA','94114',37.75823,-122.425582);
INSERT INTO ADDRESS VALUES('85', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('86', 'Dolores St & San Jose Ave', '', 'San Francisco','CA','94110',37.74023,-122.423782);
INSERT INTO ADDRESS VALUES('87', '4th St & Howard St', '', 'San Francisco','CA','94103',37.783229,-122.402582);
INSERT INTO ADDRESS VALUES('88', 'Palm Dr & Arboretum Rd', '', 'Stanford','CA','94305',37.437838,-122.166975);
INSERT INTO ADDRESS VALUES('89', 'Millbrae Ave & Willow Ave', '', 'Millbrae ','CA','94030',37.596635,-122.391083);
INSERT INTO ADDRESS VALUES('90', 'Paseo Padre Pky & Fremont Blvd', '', 'Fremont','CA','94555',37.575035,-122.041273);
INSERT INTO ADDRESS VALUES('91', 'University Ave & Middlefield Rd', '', 'Palo Alto','CA','94301',37.450638,-122.156975);
INSERT INTO ADDRESS VALUES('92', 'El Camino Real & Scott Blvd', '', 'Santa Clara','CA','95050',37.352141 ,-121.959569);
INSERT INTO ADDRESS VALUES('93', 'Telegraph Ave & Bancroft Way', '', 'Berkeley','CA','94704',37.868825,-122.25978);
INSERT INTO ADDRESS VALUES('94', 'San Antonio Rd & Middlefield Rd', '', 'Palo Alto','CA','94303',37.416239,-122.103474);
INSERT INTO ADDRESS VALUES('95', '20th St & Dolores St', '', 'San Francisco','CA','94114',37.75823,-122.425582);
INSERT INTO ADDRESS VALUES('96', 'River Oaks Pky & Village Center Dr', '', 'San Jose','CA','95134',37.398259,-121.922367);
INSERT INTO ADDRESS VALUES('97', 'Dolores St & San Jose Ave', '', 'San Francisco','CA','94110',37.74023,-122.423782);
INSERT INTO ADDRESS VALUES('98', 'Campbell St & Riverside Ave', '', 'Santa Cruz','CA','95060',36.96985,-122.019473);
INSERT INTO ADDRESS VALUES('99', 'Palm Dr & Arboretum Rd', '', 'Stanford','CA','94305',37.437838,-122.166975);
INSERT INTO ADDRESS VALUES('100', 'Leavesley Rd & Monterey Rd', '', 'Gilroy','CA','95020',37.019447,-121.574953);
INSERT INTO ADDRESS VALUES('101', 'Cesar Chavez St & Sanchez', '', 'San Francisco','CA','94131',37.74753,-122.428982);
INSERT INTO ADDRESS VALUES('102', 'University Ave & Middlefield Rd', '', 'Palo Alto','CA','94301',37.450638,-122.156975);
INSERT INTO SELLERCONTACTINFO VALUES('1', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('2', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('3', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('4', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('5', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('6', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('7', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('8', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('9', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('10', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('11', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('12', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('13', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('14', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('15', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('16', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('17', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('18', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('19', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('20', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('21', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('22', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('23', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('24', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('25', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('26', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('27', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('28', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('29', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('30', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('31', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('32', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('33', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('34', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('35', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('36', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('37', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('38', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('39', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('40', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('41', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('42', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('43', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('44', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('45', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('46', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('47', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('48', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('49', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('50', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('51', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('52', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('53', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('54', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('55', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('56', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('57', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('58', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('59', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('60', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('61', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('62', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('63', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('64', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('65', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('66', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('67', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('68', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('69', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('70', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('71', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('72', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('73', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('74', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('75', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('76', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('77', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('78', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('79', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('80', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('81', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('82', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('83', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('84', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('85', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('86', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('87', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('88', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('89', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('90', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('91', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('92', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('93', 'Basler', 'Mark', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('94', 'Yoshida', 'Yutaka', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('95', 'Kangath', 'Smitha', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('96', 'Freeman', 'Larry', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('97', 'Kaul', 'Jeet', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('98', 'Burns', 'Ed', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('99', 'McClanahan', 'Craig', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('100', 'Murray', 'Greg', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('101', 'Brydon', 'Sean', '[email protected]');
INSERT INTO SELLERCONTACTINFO VALUES('102', 'Singh', 'Inderjeet', '[email protected]');
INSERT INTO ITEM VALUES('1', 'feline01', 'Friendly Cat', 'This black and white colored cat is super friendly. Anyone passing by your front yard will find him puring at their feet and trying to make a new friend. His NAME is Anthony, but I call him Ant as a nickNAME since he loves to eat ants and other insects.', 'images/anthony.jpg','images/anthony-s.jpg', 307.10,'1','1', 15, 3, 0);
INSERT INTO ITEM VALUES('2', 'feline01', 'Fluffy Cat', 'A great pet for a hair stylist! Have fun combing Bailey''s silver mane. Maybe trim his whiskers? He is very patient and loves to be pampered.', 'images/bailey.jpg','images/bailey-s.jpg', 307,'2','2', 15, 5, 0);
INSERT INTO ITEM VALUES('3', 'feline02', 'Sneaky Cat', 'My cat is so sneaky. He is so curious that he just has to poke his nose into everything going on in the house. Everytime I turn around, BAM, he is in the room peaking at what I am doing. Nothing escapes his keen eye. He should be a spy in the CIA!', 'images/bob.jpg','images/bob-s.jpg', 307.20,'3','3', 15, 7, 0);
INSERT INTO ITEM VALUES('4', 'feline02', 'Lazy Cat', 'A great pet to lounge on the sofa with. If you want a friend to watch TV with, this is the cat for you. Plus, she wont even ask for the remote! Really, could you ask for a better friend to lounge with?', 'images/chantelle.jpg','images/chantelle-s.jpg', 307.30,'4','4', 15, 5, 0);
INSERT INTO ITEM VALUES('5', 'feline01', 'Old Cat', 'A great old pet retired from duty in the circus. This fully-trained tiger is looking for a place to retire. Loves to roam free and loves to eat other animals.', 'images/charlie.jpg','images/charlie-s.jpg', 307,'5','5', 15, 5, 0);
INSERT INTO ITEM VALUES('6', 'feline02', 'Young Female cat', 'A great young pet to chase around. Loves to play with a ball of string. Bring some instant energy into your home.', 'images/elkie.jpg','images/elkie-s.jpg', 307.40,'6','6', 15, 5, 0);
INSERT INTO ITEM VALUES('7', 'feline01', 'Playful Female Cat', 'A needy pet. This cat refuses to grow up. Do you like playful spirits? I need lots of attention. Please do not leave me alone, not even for a minute.', 'images/faith.jpg','images/faith-s.jpg', 307,'7','7', 15, 5, 0);
INSERT INTO ITEM VALUES('8', 'feline01', 'White Fluffy Cat', 'This fluffy white cat looks like a snowball. Plus, she likes playing outside in the snow and it looks really cool to see this snowball cat run around on the ski slopes. I hope you have white carpet as this cat sheds lots of hair.', 'images/gaetano.jpg','images/gaetano-s.jpg', 307.50,'8','8', 15, 15, 0);
INSERT INTO ITEM VALUES('9', 'feline02', 'Tiger Stripe Cat', 'This little tiger thinks it has big teeth. A great wild pet for an adventurous person. May eat your other pets so be careful- just kidding. This little tiger is affectionate.', 'images/harmony.jpg','images/harmony-s.jpg', 307,'9','9', 15, 3, 0);
INSERT INTO ITEM VALUES('10', 'feline02', 'Alley Cat', 'Meow Meow in the back alley cat fights! This cat keeps the racoons away, but still has class.', 'images/katzen.jpg','images/katzen-s.jpg', 307.60,'10','10', 15, 5, 0);
INSERT INTO ITEM VALUES('11', 'feline02', 'Speedy Cat', 'Fastest and coolest cat in town. If you always wanted to own a cheetah, this cat is even faster and better looking. No dog could ever catch this bolt of lightening.', 'images/mario.jpg','images/mario-s.jpg', 307,'11','11', 15, 10, 0);
INSERT INTO ITEM VALUES('12', 'feline01', 'Stylish Cat', 'A high maintenance cat for an owner with time. This cat needs pampering: comb it hair, brush its teeth, wash its fur, paint its claws. For all you debutantes, let the world know you have arrived in style with this snooty cat in your purse!', 'images/mimi.jpg','images/mimi-s.jpg', 307.70,'12','12', 15, 4, 0);
INSERT INTO ITEM VALUES('13', 'feline01', 'Smelly Cat', 'A great pet with its own song to sing with your fiends. "Smelly cat, Smelly cat ..." Need an excuse for that funky odor in your house? Smelly cat is the answer.', 'images/monique.jpg','images/monique-s.jpg', 307.80,'13','13', 15, 8, 0);
INSERT INTO ITEM VALUES('14', 'feline01', 'Saber Cat', 'A great watch pet. Want to keep your roommates from stealing the beer from your refrigerator? This big-toothed crazy cat is better than a watchdog. Just place him on top of the refrigerator and watch him pounce when so-called friends try to sneak a beer. This cat is great fun at parties.', 'images/olie.jpg','images/olie-s.jpg', 307.90,'14','14', 15, 3, 0);
INSERT INTO ITEM VALUES('15', 'feline01', 'Sophisticated Cat', 'This cat is from Paris. It has a very distinguished history and is looking for a castle to play in. This sophisticated cat has class and taste. No chasing on string, no catnip habits. Only the habits of royalty in this cats blood.', 'images/paris.jpg','images/paris-s.jpg', 307,'15','15', 15, 4, 0);
INSERT INTO ITEM VALUES('16', 'feline01', 'Princess cat', 'Just beauty and elegance. She will charm you from the moment she enters the room.', 'images/princess.jpg','images/princess-s.jpg', 307,'16','16', 15, 5, 0);
INSERT INTO ITEM VALUES('17', 'feline02', 'Lazy cat', 'Wow! This cat is cool. It has a beautiful tan coat. I wish I could get a sun tan of that color.', 'images/simba.jpg','images/simba-s.jpg', 307,'17','17', 15, 3, 0);
INSERT INTO ITEM VALUES('18', 'feline02', 'Scapper male cat', 'A scappy cat that likes to cause trouble. If you are looking for a challenge to your cat training skills, this scapper is the test!', 'images/thaicat.jpg','images/thaicat-s.jpg', 307,'18','18', 15, 5, 0);
INSERT INTO ITEM VALUES('19', 'feline01', 'Lazy cat', 'Buy me please. I love to sleep.', 'images/cat1.gif','images/cat1.gif', 307,'19','19', 15, 6, 0);
INSERT INTO ITEM VALUES('20', 'feline01', 'Old Cat', 'A great old pet retired from duty in the circus. This fully-trained tiger is looking for a place to retire. Loves to roam free and loves to eat other animals.', 'images/cat2.gif','images/cat2.gif', 200,'20','20', 15, 3, 0);
INSERT INTO ITEM VALUES('21', 'feline01', 'Young Cat', 'A great young pet to chase around. Loves to play with a ball of string.', 'images/cat3.gif','images/cat3.gif', 350,'21','21', 15, 3, 0);
INSERT INTO ITEM VALUES('22', 'feline01', 'Scrappy Cat', 'A real trouble-maker in the neighborhood. Looking for some T.L. -
Petstore cannot finish the transaction
I have setup a iplanet application server 6.5, and web server 4.1sp9, i want to test the petstore 1.1.2. i according to http://developer.iplanet.com/appserver/samples/jps1.1.2/docs/index.html
install, all the thing is okay, i can install database table to oracle. I can browser each item, and add user. But when try to do the transaction, i have got the following error:
erver Error
unchecked exception thrown by impl
com.sun.j2ee.blueprints.petstore.control.ejb.ShoppingClientControllerEJB@3acc67; nested exception is:
com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureExcept
ion: Irrecoverable error while createing order :
javax.transaction.TransactionRolledbackException
Oops! Your request cannot be completed. The server got the following
error.
com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException: unchecked exception thrown by impl com.sun.j2ee.blueprints.petstore.control.ejb.ShoppingClientControllerEJB@3acc67; nested exception is: com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException: Irrecoverable error while createing order : javax.transaction.TransactionRolledbackException at
com.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl.handleEventShoppingClientControllerWebImpl.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 x.servlet.http.HttpServlet.service HttpServlet.java:740)at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)at com.kivasoft.thread.ThreadBasic.run(Native Method)at java.lang.Thread.run(Thread.java:484)This is the second post I've seen today about 6.5. Did 6.5 hit subscribenet? I know it went gold, but didn't think that it had actually shipped to customers yet.
Because of the changes in the transaction manager, I expect that the database setup instructions have changed since the doc you are referencing.
If you are running a beta version of 6.5, I'd suggest contacting your beta contact. The instructions may not be available yet, and/or there may still be issues.
If you are running an RTM version of 6.5, I'd suggest looking in the 6.5 docs. The README for JPS probably has instructions for setting up the transaction manageer and the database.
David -
Problems starting up PetStore demo with W6.1 on Solaris
I just finished installing W6.1 on Solaris and I tried to run the PetStorr demo
but I keep getting the following exception. Unfortunately, this error message
does not tell anything because there is no indication as to what the hell is wrong.
If this stack trace looks familar to anyone, please let me know how you solved
your problems.
The only change I made the petstore config.xml file was I changed the HTTP listening
port to 9001. Here is my pool configuration...
<JDBCConnectionPool CapacityIncrement="1"
DriverName="COM.cloudscape.core.JDBCDriver" InitialCapacity="1"
MaxCapacity="1" Name="petstorePool"
Properties="user=none;password=none;server=none"
Targets="petstoreServer" TestConnectionsOnReserve="true"
TestTableName="product" URL="jdbc:cloudscape:petStore"/>
----------------Here is the stack trace-----------------------
####<Feb 1, 2002 2:06:39 PM EST> <Error> <JDBC> <jordan> <petstoreServer> <main>
<system> <> <001060> <Cannot startup connection pool "petstorePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
SQL Exception: Failed to start database 'petStore', see the next exception for
details.
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.t(Unknown Source)
at c8e.k.q.l(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 $Proxy32.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 $Proxy45.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)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:209)
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 $Proxy32.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 $Proxy45.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)
at weblogic.Server.main(Server.java:35)Thanks for the reply. I checked the scripts and we have all proper CLASSPATH and
environment settings as you have indicated. But you made me realize one thing
that I did not check before. There is a database log file in ./samples/eval/cloudscape/data/
which I checked and found that the database was attempting to write to a file
in which it did not have the proper permission to access. I'm hoping that this
is the root of my problem.
thanks again,
SAF
"pavans" <[email protected]> wrote:
Hey..
One of our team member was getting this same problem...
I think it is something to do with cloudscape setup..
try this out..
Are you able to start cloudscape by java COM.cloudscape.tools.view cmd?
make sure you have ".\samples\eval\cloudscape\lib\cloudscape.jar" in
classpath of startpetstore.cmd file
-Dcloudscape.system.home=./samples/eval/cloudscape/data in
startPetStore.cmd
If I remember correctly, we changed some settings like above ...and error
was gone
I guess you have table "product" in your "demo" database.
"SAF" <[email protected]> wrote in message
news:[email protected]...
I just finished installing W6.1 on Solaris and I tried to run the PetStorrdemo
but I keep getting the following exception. Unfortunately, this errormessage
does not tell anything because there is no indication as to what thehell
is wrong.
If this stack trace looks familar to anyone, please let me know howyou
solved
your problems.
The only change I made the petstore config.xml file was I changed theHTTP
listening
port to 9001. Here is my pool configuration...
<JDBCConnectionPool CapacityIncrement="1"
DriverName="COM.cloudscape.core.JDBCDriver" InitialCapacity="1"
MaxCapacity="1" Name="petstorePool"
Properties="user=none;password=none;server=none"
Targets="petstoreServer" TestConnectionsOnReserve="true"
TestTableName="product" URL="jdbc:cloudscape:petStore"/>
----------------Here is the stack trace-----------------------
####<Feb 1, 2002 2:06:39 PM EST> <Error> <JDBC> <jordan> <petstoreServer><main>
<system> <> <001060> <Cannot startup connection pool "petstorePool"weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
SQL Exception: Failed to start database 'petStore', see the next exceptionfor
details.
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.t(Unknown Source)
at c8e.k.q.l(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)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connection
EnvFactory.java:193)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connection
EnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.j
ava:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
Target.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
eploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
entTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
..java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy32.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(
ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl
icationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
r.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
..java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(
ApplicationManagerMBean_CachingStub.java:480)
atweblogic.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)
at weblogic.Server.main(Server.java:35)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connection
EnvFactory.java:209)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connection
EnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.j
ava:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
Target.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
eploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
entTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
..java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy32.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(
ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl
icationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
r.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
..java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(
ApplicationManagerMBean_CachingStub.java:480)
atweblogic.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)
at weblogic.Server.main(Server.java:35) -
Petstore demo install under Win2000
Hello:
Trying to get my arms around J2EE. A large task.
Anyway.
I have downloaded the J2EESDK and installed it.
I can start the Application server and run the Hello demo.
I can also run the App Server Admin Application, so I
think I got that right.
I want to work with the Petstore demo. So I downloaded
petstore-1_3_2.zip. I am following the enclosed install
instructions. When I run setup I get the following:
My environment is below also.
The Petstore demo seems to be built on top of Cloudscape.
But the J2EE SDK installs PointBase, is there a way around this.
Need some help. Please
thanks
kd
C:\Downloads\javasoft\petstore1.3.2>setup
Buildfile: setup.xml
init:
help:
create_jms_queues:
[echo] Creating JMS Queues ....
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_users:
[echo] Creating users ....
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/RealmTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/RealmTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/RealmTool
[java] Java Result: 1
create_petstore_db:
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_supplier_db:
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_opc_db:
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
core:
[echo] The J2EE SDK is now successfully configured to run the
petstore application. P
lease restart cloudscape and the j2ee servers, and deploy all the ear
files. You can do th
is by issuing the following commands:
[echo] change directory to j2sdkee1.3/bin; start RI and
Cloudscape in separate window
s
[echo] cloudscape -start
[echo] j2ee -verbose
[echo] change directory to petstore1.3.2 to deploy the EAR files
[echo] setup.bat deploy (or on Unix, setup.sh deploy)
BUILD SUCCESSFUL
Total time: 5 seconds
C:\Downloads\javasoft\petstore1.3.2>
C:\Downloads\javasoft\petstore1.3.2>
C:\Downloads\javasoft\petstore1.3.2>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_CLASSPATH=c:\sun\appserver/lib/j2ee.jar;src/lib/ant/lib/ant.jar;src/lib/ant/lib/parser
.jar;src/lib/ant/lib/jaxp.jar;c:\programs\j2sdk1.4.2_03/lib/tools.jar
ANT_HOME=src/lib/ant
APPDATA=C:\Documents and Settings\Administrator\Application Data
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DUFFYHOU
ComSpec=C:\WINNT\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
J2EE_HOME=c:\sun\appserver
JAVA_HOME=c:\programs\j2sdk1.4.2_03
LOGONSERVER=\\DUFFYHOU
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=c:\programs\j2sdk1.4.2_03\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WI
NDOWS;C:\WINDOWS\COMMAND
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 0 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0007
ProgramFiles=C:\Program Files
PROMPT=$p$g
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=DUFFYHOU
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
winbootdir=C:\WINDOWS
windir=C:\WINNT
C:\Downloads\javasoft\petstore1.3.2>I had this same symptom, and it was because I was trying to use Petstore version 1.3.2 with the J2EE 1.4 SDK.
There is an updated version of the Petstore sample application in the J2EE 1.4 samples bundle located at... http://java.sun.com/j2ee/1.4/download.html#samples. It is included as part of a group of three "J2EE Blueprint samples" and they can be run with the J2EE 1.4 SDK (whereas the old one's can't). (Note that the Buleprint samples are also included in the "All-In-One Bundle" and are located in the in the \AppServer\samples\blueprints directory.)
If you download the samples by themselves, their documentation won't specify that they must be installed in the \AppServer\samples\blueprints directory, but they must because the ant build script references at least a couple of other files in the samples directory heirarchy (common.xml and common.properties).
These are two samples of error messages I got when I was trying to build the Petstore application from outside the context of \AppServer\samples\blueprints directory heirarchy:
C:\blueprints\petstore1.4\src>asant
Buildfile: build.xml
C:\common.xml could not be found
BUILD FAILED
java.io.FileNotFoundException: C:\common.xml (The system cannot find the file specified)
C:\petstore1.4\src>asant
Buildfile: build.xml
BUILD FAILED
The file or path you specified (..\..\..\common.properties) is invalid relative to C:\petstore1.4\src -
I am trying to install sample petstore application that comes with the Suns application server(linux version).
As mentioned in the petstore1.4/docs i performed the following
export $J2EE_HOME=/home/myDirectory/SUNWappserver
export PATH=$PATH:home/myDirectory/SUNWappserver/bin
export PETSTORE_HOME=$J2EE_HOME/sample/blueprints/petstore1.4
Then I started the pointbase server.
cd $J2EE_HOME/pointbase/tools/serveroption
startserver.sh
and application server
cd $J2EE_HOME/bin
asadmin start-domain domain1
then to build the petstore application
cd petstore_home/src
asant
everything worked fine till now. I get the message after building
BUILD SUCCESSFUL
Total time: 3 minutes 17 seconds
now as mentioned in the installation doc, I do asant deploy.
but the deployment hangs at verify_jdbc_connection_pool_common:
I am copying the asant deploy output here.
Am I missing some thing here. I was able to deploy the hello world application that comes
bundles with the application server.
Also, is there a alternate way to deploy applications without using asant deploy.
tia,
Amit
output of cd petstore_home/src;
asant deploy;
Buildfile: build.xml
build_cpath:
init_common:
init:
envpassword:
readpassword:
setpassword:
check_db:
checkPlatform:
configUnix:
[echo] on unix
configWindows:
configPlatform:
add.classpathsuffix:
init.oracleInet:
create-jdbc-connection-pools:
setup-jdbc-connection-pool-petstorepool:
[echo] Creating jdbc connection pool petstorepool
build_cpath:
init_common:
envhost:
readhost:
sethost:
envport:
readport:
setport:
envuser:
readuser:
setuser:
envpassword:
readpassword:
setpassword:
envinstance:
readinstance:
setinstance:
undate_env:
setup_env:
checkPlatform:
configUnix:
[echo] on unix
configWindows:
configPlatform:
verify_jdbc_connection_pool_common:Please check the connection pool and datasource in your server.
-
Anybody here can help me out? ( J2EE petstore)
Hi,
I followed the instructions to setup and deploy J2EE pet store;then I enter the store (http://localhost:8080/petstore).anything is OK .but when reached "http://localhost:8080/petstore/main.screen",and click "fish" image ,no "fish" data came out on the page "http://localhost:8080/petstore/category.screen?category_id=FISH" .
I got the following stuff(exception) from the J2EE server:
J2EE server startup complete.
java.net.ConnectException: Connection refused: connect
java.security.PrivilegedActionException: javax.servlet.ServletException: An error oc
curred while evaluating custom action attribute "items" with value "${catalog.catego
ries.list}": An error occurred while getting property "categories" from an instance
of class com.sun.j2ee.blueprints.catalog.client.CatalogHelper
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatc
her.java:488)
at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(InsertT
ag.java:99)
at org.apache.jsp.template$jsp._jspService(template$jsp.java:133)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet
.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
er.java:683)
Does anybody here have any idea about this problem?
Thanks a lots
JasonI am seeing the same error. Has anyone resolved this or got any suggestions. looks like it is a security policy issue !?
thanks
Anand
>
Is the cloudscape database populated, when you run
the application in the first time? Check it out. -
Problem starting petstore using SP6
I am having problems in starting the pet store application in Weblogic. I am using service pack 6. I have made all the changes required to run the application. But I am getting the following error. Please help me in identifying the problem.
<EJB> Could not deploy: 'f:/weblogic/petStore/estoreEjb_WL.jar': file is not a valid jar file, or does not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening JAR file f:
\weblogic\petStore\estoreEjb_WL.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment f:/weblogi
c/petStore/estoreEjb_WL.jar from f:\weblogic\petStore\estoreEjb_WL.jar; nested e
xception is:
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method get
ClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found]
weblogic.ejb.common.DeploymentException: Problem creating deployment f:/weblogic
/petStore/estoreEjb_WL.jar from f:\weblogic\petStore\estoreEjb_WL.jar; nested ex
ception is:
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method get
ClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method getClassLoa
dNotify()Lweblogic/boot/ClassLoadNotify; not found
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:140)
at weblogic.utils.jars.JarLoader.<init>(JarLoader.java:42)
at weblogic.utils.jars.JarLoader.<init>(JarLoader.java:50)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:83)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
, Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
--------------- nested within: ------------------
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment f:/weblogi
c/petStore/estoreEjb_WL.jar from f:\weblogic\petStore\estoreEjb_WL.jar; nested e
xception is:
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method get
ClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found]
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
<EJB> 0 EJB jar files loaded, containing
0 EJBs
I> <EJB> 0 deployed, 0 failed to deploy.
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: weblog
ic.boot.ServerClassLoader: method getClassLoadNotify()Lweblogic/boot/ClassLoadNo
tify; not found
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:140)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:112)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:104)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>
(RecursiveReloadOnModifyClassLoader.java:53)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Single
Slave.<init>(RecursiveReloadOnModifyClassLoader.java:149)
at weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletCo
ntextImpl.java:1421)
at weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImp
l.java:519)
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Comp
iled Code)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method getClassLoa
dNotify()Lweblogic/boot/ClassLoadNotify; not found
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:140)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:112)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:104)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>
(RecursiveReloadOnModifyClassLoader.java:53)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Single
Slave.<init>(RecursiveReloadOnModifyClassLoader.java:149)
at weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletCo
ntextImpl.java:1421)
at weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImp
l.java:519)
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Comp
iled Code)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)So for the selinux it looks to be off
[bsdtux@stephens-laptop ~]$ cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
[bsdtux@stephens-laptop ~]$ Here is my Path
[bsdtux@stephens-laptop ~]$ echo $PATH
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/bsdtux/bin
[bsdtux@stephens-laptop ~]$ Here is the output from which statement
[bsdtux@stephens-laptop ~]$ which sqlplus
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus
[bsdtux@stephens-laptop ~]$ and here is the output from the id
[bsdtux@stephens-laptop ~]$ id
uid=500(bsdtux) gid=500(bsdtux) groups=500(bsdtux),501(admin),502(dba)
[bsdtux@stephens-laptop ~]$ and here is the output from the sqlplus/mseg directory
[bsdtux@stephens-laptop ~]$ ls -al ${ORACLE_HOME}/sqlplus/mesg/total 8
drwxr-xr-x 2 oracle dba 4096 Mar 2 23:16 .
drwxr-xr-x 3 oracle dba 4096 Mar 2 23:16 ..
[bsdtux@stephens-laptop ~]$ thanks for the help so far guys. -
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! -
Petstore compatibilty with JBoss 5.0
Does any version of Petstore is compatible with Jboss 5.0 ???
What about Petstore version 2.0 ??How are your connection pools setup vs how were they setup in WebLogic? It looks like your JBoss configuration is using a JTA pool that only allows reads while in a transaction.
Best Regards,
Chris -
I cannot get petstore to work on vista or linux!!
Here is the output from glassfish console.
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8081
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8182
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4849
naming.bind
Null component com.sun.appserv:type=JspMonitor,name=jsp,WebModule=//server/petstore,J2EEApplication=null,J2EEServer=server
WEB0207: Error starting web context StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[petstore] on virtual server server
java.lang.RuntimeException: java.lang.RuntimeException: javax.naming.NameNotFoundException
at com.sun.enterprise.web.WebModuleListener.loadPersistenceUnits(WebModuleListener.java:193)
at com.sun.enterprise.web.WebModuleListener.lifecycleEvent(WebModuleListener.java:168)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:143)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5094)
at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException
at com.sun.enterprise.server.PersistenceUnitInfoImpl._getJtaDataSource(PersistenceUnitInfoImpl.java:283)
at com.sun.enterprise.server.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:116)
at com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:121)
at com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:84)
at com.sun.enterprise.web.WebModuleListener.loadPersistenceUnits(WebModuleListener.java:190)
... 13 more
Caused by: javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:268)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:191)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:74)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:398)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.sun.enterprise.connectors.ConnectorResourceAdminServiceImpl.lookup(ConnectorResourceAdminServiceImpl.java:196)
at com.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource(ConnectorRuntime.java:1099)
at com.sun.enterprise.server.PersistenceUnitInfoImpl.lookupPMDataSource(PersistenceUnitInfoImpl.java:294)
at com.sun.enterprise.server.PersistenceUnitInfoImpl._getJtaDataSource(PersistenceUnitInfoImpl.java:281)
... 17 more
EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
When I try to connect to http://localhost:8081/petstore I get this:
HTTP Status 503 -
type Status report
message
descriptionThe requested service () is not currently available.
Sun Java System Application Server 9.1_02
I know there are various posts about this exact same error, but most say "it simply went away". The one direct solution I found was saying to set build.properties and app-server.properties, which I have done. (I have also setup the passwordfile as instructed).
This error has yet to "simply go away" for me even with various fresh installs.
I realize it is quite likely I'm doing something very stupid, and by all means feel free to belittle me in any manner you see fit, so long as you properly enlighten me as to what I'm doing wrong!
Thanks....I also get these messages:
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.signature.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name "domain.applications.lifecycle-module.JBIFramework.property.com.sun.jbi.home"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ServerProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.security.config"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.security.config"
javax.management.InstanceNotFoundException: No object matches the specified name "server.applications.lifecycle-module.JBIFramework.property.com.sun.jbi.home"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.dynamic.username.password"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.signature.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.dynamic.username.password"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ClientProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ClientProvider.property.signature.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.ServerProvider.property.encryption.key.alias"
javax.management.InstanceNotFoundException: No object matches the specified name "server.security-service.message-security-config.SOAP.provider-config.XWS_ServerProvider.property.signature.key.alias"
Maybe you are looking for
-
IPod no longer stops playing when a podcasts ends
Starting with iPod software 2.1 and iTunes 8.0, my iPod Touch 1st Gen. no longer stops playing when the end of a Podcast is reached. It will start playing the next Podcast episode in the list although that is an older podcast that I have already list
-
BDC for ME22n vendor confirmation
i am facing problem while doing BDC for ME22N . i am going for itemwise vendor confirmation. for first line item it is happening. but for 2nd line item it is not going. any help? this is my code. i guess some loop i have to add but where? can any bod
-
Outline data utility issue in unix environment
Hi I am trying to load metadata using OUTLINE DATA UTILITY in UNIX SERVER and i am getting this error .... this is my .csv file.. MEs, Parent, Alias: Default, Data Storage INDSOL,MEs,, IRSSVS,INDSOL,IRSSVS ES IS INDUSTRIAL SERVICES, FSSCAN,IRSSVS,FSS
-
Hp officejet 6500 all in one won't print in black
I cleaned the printhead to eliminate clogs which had worked in past. Did not work this time. Purchased and installed a new printhead and ran a report which showed the black ink working. Ink levels in all cartridges, however, were low. Purchased n
-
I download. I double click. Nothing happens. How do I get my money back?