PetStore 1.3.x in WebLogic9.1
HI All,
I am trying to run WebLogic8.1 sp1 version of Petstore available at,
https://petstore.projects.dev2dev.bea.com/
in WebLogic9.1, unfortunately same domain config / binary can not run in 8.1 sp6 too.
WebLogic9.1 issues:
1. I have created JMS / JDBC resources by looking at config.xml. And XML Registry to some extent. WLS9.1 dont accept the PUBLICID given in Entity Spec Registry Entry same as in 8.1. So have to remove "," character from PUBLICID.
2. Dont know how URLResource can be configured in WLS9.1.
So hardcoded the URLResource in code OPC -> PurchaseOrderMDB.java. -> entityCatalogURL
3. Configured users admin and supplier in myrealm added them in group administrator.
3. Have to modify Catalog -> Item.java, added getAttribute1() method.
And changed Product.jsp,Item.jsp, Search.jsp -> ${item.attribute} to ${item.attribute1}.
Dont know why ${item.attribute} is not working?
Error says Item object does not have value for attribute though its there.
4. After all this I could create the ORDER in petstore webapp.
But OPC PurchaseOrderMDB throwing below error,
javax.ejb.EJBException: nested exception is: javax.xml.transform.TransformerException: java.io.FileNotFoundException: \com\sun\j2ee\blueprints\purchaseorder\rsrc\schemas\PurchaseOrder.dtd at com.sun.j2ee.blueprints.opc.ejb.PurchaseOrderMDB.onMessage(PurchaseOrderMDB.java:139)at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426) at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)at weblogic.work.ExecuteThread.execute ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
I am sure there is some problem in XMLRegistry Configuration, esp PUBLIC ID.
Can anyone tried runnig Petstore in WLS9.1? Help appreciated. If some one from WebLogic could guide, ready to put the WLS9.1 version in Petstore Project, Code Share.
Thanks in Advance.
Regards, Jitesh
Hi,
I had the same problem deploying an application on the websphere 4.
I solved it by changing the application to a j2ee 1.2 application instead of 1.3.
Probably setting up websphere 5.0 will solve it.
Hope it helps.
Cheers,
Raymond
Similar Messages
-
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 -
Upgrade Weblogic9.0 to 9.2
Hiall,
Is there any patch available to upgrade weblogic9.0 directly to 9.2 rather than installing 9.2 afresh.
Thanks in advance,
RuchiHi Ruchi,
You can download the upgrade installer and upgrade weblogic without installing weblogic 9.2 afresh. There is no other patch avaialable as far as i know.
Please follow the link:
http://commerce.bea.com/showallversions.jsp?family=WLS
Let me know if it works.
Regards,
Vikas -
Petstore 1.3 on Weblogic 7.0 with Oracle 8.1.7
Hi, I am trying to get petstore 1.3 working on Weblogic7.0
with Oracle 8.1.7 database on HPUX. I made some modifications
to the source files and regenerated the EAR files. When I copied
the four EAR files to the applications sub-directory, two .ear
files (petstoreadmin.ear & petstore.ear) deployed successfully
but not the supplier.ear and opc.ear. I got the following messages from deploying
supplier.ear:
Any help would be greatly appreciated,
Min-Shih
=====================================================
####<Nov 7, 2002 5:09:30 PM PST> <Warning> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for
queue: 'default'> <kernel identity> <> <010061> <The Message-Driven EJB: supplier_OPC_MDB_QUEUE
is unable to connect to the
JMS destination: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE. The EJB container will
automatically attempt to re-establish the connection with the JMS server. This
warning may occur during WebLogic Cluster start-up if the JMS destination is located
on another WebLogic Server instance. When the JMS server connection is re-established,
the Message-Driven EJB will again receive JMS messages.
The Error was:
The JMS destination with the JNDI name: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE
could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.xml
is correct, and the JMS destination has been deployed.>
####<Nov 7, 2002 5:09:30 PM PST> <Error> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for queue: 'default'> <kernel identity> <> <010072> <Error
starting EJB Module : supplierEjb.jar
Exception is :
Unable to deploy EJB: supplierEjb.jar from supplierEjb.jar:
weblogic.ejb20.WLDeploymentException: nulljava.lang.reflect.InvocationTargetException:
javax.ejb.EJBException: Supp
lier.MsgBean.ejbCreate: naming exceptionjavax.naming.LinkException: [Root exception
is javax.naming.NameNotFoundEx
ception: Unable to resolve 'jms.TopicConnectionFactory' Resolved: 'jms' Unresolved:'TopicConnectionFactory'
; remai
ning name 'TopicConnectionFactory']; Link Remaining Name: 'jms/TopicConnectionFactory'Hi, I am trying to get petstore 1.3 working on Weblogic7.0
with Oracle 8.1.7 database on HPUX. I made some modifications
to the source files and regenerated the EAR files. When I copied
the four EAR files to the applications sub-directory, two .ear
files (petstoreadmin.ear & petstore.ear) deployed successfully
but not the supplier.ear and opc.ear. I got the following messages from deploying
supplier.ear:
Any help would be greatly appreciated,
Min-Shih
=====================================================
####<Nov 7, 2002 5:09:30 PM PST> <Warning> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for
queue: 'default'> <kernel identity> <> <010061> <The Message-Driven EJB: supplier_OPC_MDB_QUEUE
is unable to connect to the
JMS destination: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE. The EJB container will
automatically attempt to re-establish the connection with the JMS server. This
warning may occur during WebLogic Cluster start-up if the JMS destination is located
on another WebLogic Server instance. When the JMS server connection is re-established,
the Message-Driven EJB will again receive JMS messages.
The Error was:
The JMS destination with the JNDI name: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE
could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.xml
is correct, and the JMS destination has been deployed.>
####<Nov 7, 2002 5:09:30 PM PST> <Error> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for queue: 'default'> <kernel identity> <> <010072> <Error
starting EJB Module : supplierEjb.jar
Exception is :
Unable to deploy EJB: supplierEjb.jar from supplierEjb.jar:
weblogic.ejb20.WLDeploymentException: nulljava.lang.reflect.InvocationTargetException:
javax.ejb.EJBException: Supp
lier.MsgBean.ejbCreate: naming exceptionjavax.naming.LinkException: [Root exception
is javax.naming.NameNotFoundEx
ception: Unable to resolve 'jms.TopicConnectionFactory' Resolved: 'jms' Unresolved:'TopicConnectionFactory'
; remai
ning name 'TopicConnectionFactory']; Link Remaining Name: 'jms/TopicConnectionFactory' -
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 -
Petstore not working in J2EE1.4.1 beta2(with sunone application server)
Hi,
I have downloaded an installed J2EE1.4_beta2 , which has J2EE SDK, JRE , Sunone application server, and J2ee blueprints sample apps. I have installed properly as per the installation instruction. I am able to run Quickstart application. But when I try to run petstore the following error occurs..
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Populate exception occured :null
at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doPost(Unknown Source)
at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:282)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:206)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:630)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
at java.lang.Thread.run(Thread.java:536)
root cause
javax.ejb.EJBException: Transaction aborted (possibly due to transaction time out).; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback
at com.sun.j2ee.blueprints.petstore.tools.populate.XMLDBHandler.endElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:546)
at org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(XMLNSDTDValidator.java:257)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1992)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:902)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:533)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1535)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:348)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:539)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1125)
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(Unknown Source)
at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doPost(Unknown Source)
at com.sun.j2ee.blueprints.petstore.tools.populate.PopulateServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:282)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:178)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:232)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:206)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:630)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
at java.lang.Thread.run(Thread.java:536)Hello,
I have the exact same problem, but i am using JDK1.4.2 and JDKEE1.3.1
have you figured out how to solve the problem ?
By the way, which database server are you using ?
Thanks -
Error: File does not exist (while trying to get Petstore and demos to run)
Hi all,
I have been trying in vain to get the Petstore demo and other servlet demo HelloWorld to run. It seems to install okay cause it creates the directories and extracts the .ear or .war files. My problem is connecting to the application. When I run http://my.host:7778/estore or http://my.host/7778/HelloWorld/HelloWorld I get and error in the Apache error_log that says: File does not exist: c:/oracle/components/apache/apache/htdocs/helloworld/helloworld and File does not exist: c:/oracle/components/apache/apache/htdocs/estore
I have looked and searched everywhere for help but to no avail. Under the WebModule the URL Binding is /HelloWorld and /estore.
Please help me!!! I am going crazy with this.
Thanks,
Grant
PS. I am running 9iAS 9.0.2.0.1 and everything is on 1 Windows 2000 (sp1) machine. Infrastructure and Components in separate dirs with port 7777 and 7778 for each.I'm having the same problem under a solaris system did anyone ever find the solution to this problem. For some reason the server just wants to use the document root instead of the deployed application directory.
-
500 Internal Server Error in Petstore - how to resolve?
Hello,
after the installation of Petstore 1.1.2, OC4J 1.0.2.2.0,
J2SDKSE 1.3.1, J2SDKEE 1.3.0, Oracle 8.1.7.0 i get a
500 Internal Server Error
Error parsing JSP page /productcategory.jsp line 13
Property 'numItems' of
bean/tag 'com.sun.j2ee.blueprints.petstore.taglib.list.ProductLis
tTag' is read only
Does anybody know a solution to resolve this error?
Kind regards
MatthiasSLD is not down its in active , I checked SLD url and Technical system also
Its in active , but when the problem is happend they done restart
but many times its happening every time restart is not preferrable ,upto that one is production system.
SLD is in active , but why the JCO'S ARE DISABLE under content Admin
where we can search the SLD user , we checked in SU01 but the user didn't exist there
If user is lock in the sense after the restart again it's working fine
I want to know the Root cause , why bcz it's simultaniously happend.
Regards,
SONY -
Error in using Control in PageFlow Portal deployment on Weblogic9.2
I am developing a small portal application in Weblogic9.2 using workshop. It uses pageFlow portlets to access a Control that connects to a database. When i add the @Control annotation tag to my pagecontroller and deploy the application it gives the below error ..
Publishing failed
Error with publish task 'Controls Assembly'.
Controls assembly failure running assembly on WAR 'TestPortal' in EAR 'TestPortalEAR'.
java.lang.NullPointerException: null
Error(s) occurred during publish assembly. No modules will be published.
below is the Control tag that I am using.
@Control
private TestMessageControl testMessageControl;
Any ideas ??? thanksHI,
Thanks for replying.
But i am very new to java concepts. So to be little clear let me explain to your points for better understanding.
1) While creating proxy, did you copy the wsdl into the project? Yes i copied wsdl as document steps
2) Can you check logs and try to get more details on the error. There must be more details on the exception after that sentence "2 counts of InAccessibleWSDLException".Could you please tell me which log you talking about. I got this error *"2 counts of InAccessibleWSDLException".* in Jdev while testing. Please let me know path to see the log.
3) Very less chances, but is the WSDL definition of security aspects to invoke service changed ? Not sure about security aspects.. Please tell me how to check it.
4) Make <load-on-startup> value to 1 instead of zero.Please tell me steps to do this
Regards,
Tarak -
Exception while running Petstore
I installed the Petstore according to the following:
Win XP ( I tried Win2000 as well )
J2EE 1.3.1
JDK 1.4.2_10
I did everything as the Petstore installing.html told me but I have the exception as follows.
I browsed the web and found these links but have no correct solution.
http://supportforum.sun.com/sjes/index.php?t=msg&th=451&start=0&rid=0
http://forum.java.sun.com/thread.jspa?threadID=371678&tstart=1
And the exception (I get it for example when I select a cat ( for example: persion: http://localhost:8000/petstore/product.screen?product_id=FL-DLH-02 ) ):
java.security.PrivilegedActionException: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a
alue for "attribute" in object of class "com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(InsertTag.java:99)
at org.apache.jsp.template$jsp._jspService(template$jsp.java:159)
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(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
at org.apache.catalina.core.ApplicationDispatcher.access$0(ApplicationDispatcher.java:359)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:130)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:347)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.insertTemplate(TemplateServlet.java:288)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.process(TemplateServlet.java:246)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.doGet(TemplateServlet.java:143)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(SignOnFilter.java:154)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(EncodingFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a value for "attribute" in objec
of class "com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
at org.apache.jsp.product$jsp._jspService(product$jsp.java:1357)
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(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.access$1(ApplicationDispatcher.java:501)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:146)
... 66 more
InsertTag:doEndTag caught: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a value for "att
ibute" in object of class "com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a value for "attribute" in object of class
com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
at org.apache.jsp.product$jsp._jspService(product$jsp.java:1357)
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(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.access$1(ApplicationDispatcher.java:501)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:146)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(InsertTag.java:99)
at org.apache.jsp.template$jsp._jspService(template$jsp.java:159)
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(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
at org.apache.catalina.core.ApplicationDispatcher.access$0(ApplicationDispatcher.java:359)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:130)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:347)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.insertTemplate(TemplateServlet.java:288)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.process(TemplateServlet.java:246)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.doGet(TemplateServlet.java:143)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(SignOnFilter.java:154)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(EncodingFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:534)Hi,
first of all you need set java into classpath along with it set weblogic.jar and jython-modules.jar from %BEA_Home% / common / wlst / modules.
this will sort your probs.
Regards,
Kal -
Org.xml.sax.SAXParseException while executing petstore application
Hi all,
I get the following error message when I start the examples server after
deploying the petstore application:
org.xml.sax.SAXParseException: The encoding "ISO8859_1" is not supported.
I have followed the steps listed on the bea webiste exactly.
I am using WLS 6.1SP2 and petstore application 1.2.2.
Thanks in advance.
SantoshHi.
Hmm, not sure. Try posting your question on
weblogic.developer.interest.examples. Perhaps someone there might be
familiar with this problem.
Regards,
Michael
Santosh Mani wrote:
Hi all,
I get the following error message when I start the examples server after
deploying the petstore application:
org.xml.sax.SAXParseException: The encoding "ISO8859_1" is not supported.
I have followed the steps listed on the bea webiste exactly.
I am using WLS 6.1SP2 and petstore application 1.2.2.
Thanks in advance.
Santosh--
Michael Young
Developer Relations Engineer
BEA Support -
PetStore 1.3.1 Install on Win98
I am trying to install Java PetStore 1.3.1 on a Windows 98 (unfortunately) platform.
maybe I need to run this on Win2000 or XP Pro? I couldn't find any info in the Blueprints area of the site that states that it will or will not run on Win98. Assuming 98 is ok, here is the background for problem.
My j2dk and j2dkee were a version or two behind so I upgraded those as well.
As part of the install process it is necessary to get cloudscape and the j2ee server running. both of these executables call the setenv.bat in the %J2EE_HOME%\bin directory. I have encountered a number of syntax errors when running the setenv.bat as follows:
1.
not sure if this is an error...
the script looks to see if %JMS_HOME% is set, if not it sets it to %J2EE_HOME%. In my environment, %JMS_HOME% had not been set up to this point. I assume this is ok, but since I have subsequent problems (#3 below), wondered if anyone has a definite idea here. Maybe I should set %JMS_HOME% to something else before running setenv.bat?
2.
set CLASSESDIR=%LIBDIR%\classes
%LIBDIR% is the %J2EE_HOME%\lib directory. There was no classes directory under it, but there are *.jar files. I added classes directory here but of course its empty and probably will eventually have a no class def found problem?
3.
set JMS_CLASSESDIR=%JMS_HOME%\classes
same as #2 -- there was no classes directory in the %JMS_HOME% path. I added a classes directory manually, but assume there are some classes that it will need here! As mentioned in #1 for my environment, %JMS_HOME% is same as %J2ee_HOME%.
4.
set JAAS_OPTIONS=-Djava.security.auth.policy=%J2EE_HOME%\lib\security\jaas.policy
for this line, I get a syntax error. In fact there is no jaas.policy file in the %J2EE_HOME%\lib\security\ directory. Anyone know why or what belongs in this file?
5.
set SSL_OPTIONS=-Djavax.net.ssl.trustStore=%J2EE_HOME%\lib\security\cacerts.jks
get syntax error. not sure why, did make sure the file cacerts.jks actually exists in this directory.
6.
set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
get syntax error. not sure why, and I don't know much about SSL.
thanks in advance for any helpDid you ever get an answer??
I'm in the same boat as you. I have Windows 98 and want to start learning J2EE. My old crummy Compaq computer won't handle Win 2000 so I guess I'm going to buy a new computer (with xp pro).
Were you able to get it working.
Jeez, you'd think it would be a little more flexible with a language that is "platform independent". -
Petstore 1.3 Problem in Websphere 4.0 - DeploymentDescriptorLoadException:
Hi,
I am getting error like "DeploymentDescriptorLoadException:" when I try to install petstore 1.3_10 application .ear file in Websphere 4.0. Following is the full error details which i have received in the message box.
---------------------------------Error Message Begin----------------------------------------------------
Exception:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
java.rmi.RemoteException: ; nested exception is:
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xmljava.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
java.rmi.RemoteException: ; nested exception is:
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xmljava.rmi.RemoteException: ; nested exception is:
java.rmi.RemoteException: ; nested exception is:
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xmljava.rmi.RemoteException: ; nested exception is:
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xmlcom.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xmlStack trace of nested exception:com.ibm.etools.archive.exception.ResourceLoadException: Could not load resource: META-INF/application.xml in archive E:\testarea\petstore1.3_01\petstore.earStack trace of nested exception:com.ibm.etools.archive.exception.ArchiveRuntimeException: Failed to invoke the method named: parseStack trace of nested exception:com.ibm.etools.archive.exception.NotSupportedException: Type is unrecognized or not yet supported: PUBLIC_ID=-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN;SYSTEM_ID=http://java.sun.com/dtd/application_1_3.dtd
---------------------------------Error Message End----------------------------------------------------
Please help me if any any one come across such error message.
Thanks in advance.
VenkatHi,
I had the same problem deploying an application on the websphere 4.
I solved it by changing the application to a j2ee 1.2 application instead of 1.3.
Probably setting up websphere 5.0 will solve it.
Hope it helps.
Cheers,
Raymond -
Getting PetStore to run in WLS 6.1sp3 on Mac OS X 10.2.6?
Hi all!
I've read with great interest all the articles relating to WLS running on OS X.
It's great to read this as I am pretty much the only guy in the entire organisation
here trying to keep using his Mac.
I was able to get WLS admin server to run on my PowerBook running OS X 10.2.6.
However, after stopping the admin server and trying to start the PetStore demo
server, I've got a few exceptions that prevent the server from starting.
So, I was wondering how you people, running WLS 6.1 on OS X have configured your
start scripts. When trying to use the standard jdk that comes with WLS, I'm getting
an exception. When using the Apple 1.3.1 jdk, I'm getting another exception about
a missing 'libmuxer' library. Basically, what set of libraries are you using?
Thanks in advance!
-Laurent.Thanks for the reply, Mark. I finally figured it out by replacing all references
to the WebLogic provided 1.3.1 jdk by the one provided by Apple and all is well
now!
Thanks!
-Laurent.
"Mark Griffith" <[email protected]> wrote:
All you should need (with 7.0 and 8.1) to start WLS is
"java weblogic.Server"
As long as your have your classpath set.
export CLASSPATH=$WLHOME:$WLHOME/server/lib/weblogic.jar
On my windoze box WLHOME=C:/bea/wls81/weblogic81
Libmuxer is our native socket muxing code, you don't need it to run you'll
just use java muxing.
Sam just posted the libs on another thread.
Any other exceptions?
cheers
mbg
"Laurent Daudelin" <[email protected]> wrote in message
news:3eccefbe$[email protected]..
Hi all!
I've read with great interest all the articles relating to WLS runningon
OS X.
It's great to read this as I am pretty much the only guy in the entireorganisation
here trying to keep using his Mac.
I was able to get WLS admin server to run on my PowerBook running OSX
10.2.6.
However, after stopping the admin server and trying to start the PetStoredemo
server, I've got a few exceptions that prevent the server from starting.
So, I was wondering how you people, running WLS 6.1 on OS X haveconfigured your
start scripts. When trying to use the standard jdk that comes withWLS,
I'm getting
an exception. When using the Apple 1.3.1 jdk, I'm getting anotherexception about
a missing 'libmuxer' library. Basically, what set of libraries areyou
using?
Thanks in advance!
-Laurent. -
Hi How to generate vendor specific application file I am using Weblogic9.0
Hi
I have a scenario like XI->J2EE application. For my J2EE application am using Weblogic9.0 can anyone tell me how to generate weblogic specific XML, which i will use to deploy on application server. I am n newbie to Weblogic server9.0
ThanksHi
please have a look at ths link
http://edocs.bea.com/wls/docs90/ejb/index.html
http://edocs.bea.com/wls/docs90/ejb/implementing.html#1195909
http://edocs.bea.com/wls/docs90/ejb/DDreference-ejb-jar.html#1107234
Hope this helps, <i>please mark points for helpful answers</i>
regards
rajesh kr
Maybe you are looking for
-
CALL METHOD cl_gui_frontend_services= file_save_dialog
Hi, I want to use 'CALL METHOD cl_gui_frontend_services=>file_save_dialog', to choose a path for saving my txt files. I only want the user to be able to choose the path and not have to supply a filename aswell. My filenames are standard in the prog
-
Notification Error when using PL/SQL document
I have a notification that calls a procedure that returns some HTML body of the email. It worked once, but now I get the error below. In Oracle Apps on the notification tab the notification shows correctly, it's the actual sending of the email that i
-
How can I get rid of it.
I'm so sorry but I absolutely hate this new safari 4. How can I remove it. How can I get my old one back. These Black flashy pages are a strictly "disaster" they soak up all the the light and make everything unreadable. I cannot find my simple book m
-
Badi for making gross weight field mandatory in MM01.
Hi, Pls tell me the Badi for making gross weight field mandatory in MM01/MM02. Thanks in Advance.
-
If I send an email from iPad/iPhone using my Gmail account, I can't see the message in Apple Mail 5.2 "sent messages", b/w I can see in iPad/iPhone "sent messages" any mail sent from my MBP using the same account. I set-up my Gmail account in Mail 5.