Creating datasource name in struts
Hello Friends . .
I am new to struts programming . .
can any one help me to create data source name for an oracle database in struts . .
i have tried i am getting following error
Caught exception when evaluating expression "{pageFlow.allUsers}" with available binding contexts [actionForm, pageFlow, globalApp, request, session, appication, pageContext, bundle, container, url, pageInput]. Root cause: javax.naming.NameNotFoundException: Unable to resolve 'cg11SampleDataSource' Resolved ; remaining name 'cg11SampleDataSource'
Thank You
But still Here we can get some idea about jdbcSure, except that your problem is realated to JNDI and Struts.
Similar Messages
-
Error while creating datasource
I am getting this error while creating the datasource on console of html page.
java.lang.NullPointerException
at weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:1153)
at weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(EditMBeanAction.java:210)
at weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(EditMBeanAction.java:188)
at weblogic.management.console.actions.internal.InternalActionContext.setAction(InternalActionContext.java:158)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:170)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
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)well thankx for the inputs. well but te screen dosent move from tht point. as we enter a datasource name, it gives this error. and we havent logged into anywhr to give the access credentials.
am wondering how then whts the point in knowing the username and pwd if i give edit datasource .
thankx -
How can i create datasource on apache server for ADF application?
Hi All,
i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
So my question is that how can i create Data Source i have goggling and find two different way to do this.
1. write following line of code on apache server conf/Context.xml file.
<Resource name="jdbc/TestDB" auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@localhost:dst"
username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
maxWait="-1"/>
but when i have used this way i got following exception.
org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
check link-
https://forums.oracle.com/thread/2564233
2. write following line of code apache conf/Server.xml file
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
<Resource name="jdbc/TestDB" auth="Container"
type="oracle.jdbc.pool.OracleDataSource"
description="User database that can be updated and saved"
driverClassName="oracle.jdbc.driver.OracleDriver"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
maxWait="-1" />
</GlobalNamingResources>
and add this line in context.xml file inside <context> tag
<ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
but when i have run application i have got following error
log-
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
so what is the solution how to create datasource on apche server which suitable for adf application?
when i test data source using following code used 1. way as i mentioned above its running fine bt not for second.
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<sql:query var="rs" dataSource="jdbc/TestDB">
select empname from pay_emphdr where empcd='JK1306'
</sql:query>
<html>
<head>
<title>DB Test</title>
</head>
<body>
<h2>Results</h2>
<c:forEach var="row" items="${rs.rows}">
Foo ${row.empname}<br/>
</c:forEach>
</body>
</html>
please help me. it is very urgent.
thanks in Advance
ManishHi Lindalnci
i have already tried this tutorial and in my post i have defined first way to do using this procedure.
in that case i have got following exception as i have mentioned above
org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection -
Table for creating datasource .
Hi Experts
I am trying to create a report.
The report output is as follows
Companycode | business partner type | Business partner No | vendor no | customer no |cheque no | cheque date | cheque amount | check status | bank account no |.
Now to create datasource for fetching the above data I am trying to find the tables . All the data related to cheque is present in the table PAYR but from where can I get business partner number and business partner type .
Any clues ?Hi,
If you are extracting data from CRM system then refer the below given tables for required information,
- BUT000 : BP: General data - Contains Business Partner Number, Partner Category, Partner Type, First Name, Last Name et
[http://wiki.sdn.sap.com/wiki/display/CRM/CRM+Tables]
Regards,
Durgesh. -
Error while creating datasource userdsn for oracle 10g Errorcode (998)
while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon
Thanks for your reply , Steve.
I noticed that there is a default datasouce on the EM with the following parameters:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"
password="->pwForScott"
url="jdbc:oracle:thin:@localhost:1521:oracle"
inactivity-timeout="30"
/>
The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
What should be the values for location and xa-location attributes from my "test" data source?
Any help will be greatly appreciated.
Thanks,
Shyam -
Error while creating datasource in planing. very urgent
while configuring a datasource he gets an error failed to authenticate user admin against NYULDAP .
this error her gets after entering the datasource name as EDPM_EDU in the config utility for confuguring a datasource..
please hellp asap..
i checkd the configuration.log too and found this..
Launching Hyperion Configuration Utility Program
HYPERION_HOME: D:\Hyperion
In HspDBPropertiesLocationPanel constructor
In HspDBPropertiesLocationPanel queryEnter
Resource Bundle is java.util.PropertyResourceBundle@a20232
Product Name in file is PLANNING
Availability Date is 20051231
Creating rebind thread to RMI
java.rmi.server.ExportException: Port already in use: 11433; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source)
at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source)
at java.rmi.server.UnicastRemoteObject.<init>(Unknown Source)
at com.hyperion.planning.HyperionPlanningBeanFactoryImpl.<init>(Unknown Source)
at com.hyperion.planning.HspJSHomeImpl.createRebindThread(Unknown Source)
at com.hyperion.planning.HspJSHomeImpl.<init>(Unknown Source)
at com.hyperion.planning.HspJSHomeImpl.getStaticHome(Unknown Source)
at com.hyperion.planning.HspJSHomeImpl.getStaticHome(Unknown Source)
at com.hyperion.planning.HspDSPanelManager.queryExit(HspDSPanelManager.java:124)
at com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryExit(ProductCustomInputPanel.java:114)
at com.installshield.wizard.awt.AWTWizardUI.doNext(Unknown Source)
at com.installshield.wizard.awt.AWTWizardUI.actionPerformed(Unknown Source)
at com.installshield.wizard.swing.SwingWizardUI.actionPerformed(Unknown Source)
at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationController.notifyListeners(Unknown Source)
at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationController.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
... 44 more
Resource Bundle is java.util.PropertyResourceBundle@a20232
Product Name in file is PLANNING
Availability Date is 20051231
com.hyperion.css.CSSAuthenticationException: Failed to authenticate user admin against provider Native Directory
Error Code: 2
com.hyperion.css.CSSAuthenticationException: Failed to authenticate user admin against provider NYULDAP Error Code: 2
thanks.well thankx for the inputs. well but te screen dosent move from tht point. as we enter a datasource name, it gives this error. and we havent logged into anywhr to give the access credentials.
am wondering how then whts the point in knowing the username and pwd if i give edit datasource .
thankx -
JNDIConnector datasource name= null,Problem in connection of Mysql and bean
Hi
I am using Sun App Server9.0, Mysql5.0, and Netbeans 5.5. When I am trying to run my facade, it is not detacting datasource.
Do I have to set some property in server.
I am getting this exception.
deployed with moduleid = EnterpriseApplication1-app-client
[TopLink Config]: 2007.05.13 01:33:53.906--ServerSession(14411981)--property toplink.server.platform.class.name is deprecated, property toplink.target-server should be used instead.
topLink_version
application_server_name_and_version
platform=>MySQL4Platform
user name=> ""
connector=>JNDIConnector datasource name=>null
);|connecting
;|connected_user_database_driver
platform=>MySQL4Platform
user name=> ""
connector=>JNDIConnector datasource name=>null
);|connecting
;|connected_user_database_driver
login_successful
mohi d0one
code is
public void addEmail (UserEntity key, EmailEntity emailObj)throws EmailExistsException, EmailAlreadyAddedException
Query query;
Query query_return;
List list;
EmailEntity emailObjList;
EntityTransaction tx ;
String email = emailObj.getEmailAddress();
// if(verifyEmailAddress(email)){
list = find(key.getUser_Id());
query_return = em.createQuery(
"from EmailEntity c where c.user_id=:user_id");
query_return.setParameter("user_id", key.getUserId());
list = query_return.getResultList( );
tx = em.getTransaction();
tx.begin();
em.persist(emailObj);
tx.commit();
Please suggest me what I am missing.
In server console I have-----
C:/Sun/SDK/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/SDK/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/SDK/lib/endorsed
-Djava.security.policy=C:/Sun/SDK/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/SDK/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/SDK/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/SDK/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/SDK/jdk/jre/lib/ext;C:/Sun/SDK/domains/domain1/lib/ext;C:/Sun/SDK/javadb/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.configName=server-config
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.instanceRoot=C:/Sun/SDK/domains/domain1
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/SDK/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/imq/lib/imqxm.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/SDK/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.configRoot=C:/Sun/SDK/config
-Djava.library.path=C:\Sun\SDK\lib;C:\Sun\SDK\lib;C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\SDK\lib;C:\Sun\SDK\bin;C:\Sun\SDK\bin;C:\Sun\SDK\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\GTK\2.0\bin;C:\Softwares;C:\Program Files\jboss-4.0.5.GA\bin;C:\Program Files\Java\jre1.6.0\bin;C:\Program Files\Java\jdk1.6.0\bin;C:\Sun\SDK\bin;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.installRoot=C:/Sun/SDK
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-cp
;C:/Sun/SDK/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
Starting Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01) ...
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
ADM0001:MBeanServer initialized successfully
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
sgmt.service_initialized
DPL5400:Exception occurred : error in opening zip file.
ADM1079: Initialization of AMX MBeans successful
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://software-3bf780.gateway.2wire.net:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
JTS5014: Recoverable JTS instance, serverId = [3700]
About to load the system app: MEjbApp
LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
About to load the system app: __ejb_container_timer_app
EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
[TopLink Config]: 2007.05.13 12:48:24.234--ServerSession(10697984)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
[TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
[TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
[TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
[TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
[TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
[TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
[TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
[TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
[TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
[TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
[TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
[TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
[TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
[TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
[TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
[TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
[TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
[TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
[TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
[TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
[TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
[TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
[TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
[TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
naming.bind
**RemoteBusinessJndiName: session.EmailEntityFacadeRemote; remoteBusIntf: session.EmailEntityFacadeRemote
LDR5010: All ejb(s) of [EnterpriseApplication1-ejb] loaded successfully!
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
WEB0302: Starting Sun-Java-System/Application-Server.
WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []
WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]
WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]
Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
About to load the system app: __JWSappclients
WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [__JWSappclients]
CORE5024: EJB module [EnterpriseApplication1-ejb] unloaded successfully!
DeployedItemRef postDeregistration failed. Load Balancer Monitoring MBeans might be lying around if this application is being load balanced
ADM1006:Uploading the file to:[C:\Documents and Settings\mohini kharb\Local Settings\Temp\s1astempdomain1server-1036455939\EnterpriseApplication1-ejb.jar]
deployed with moduleid = EnterpriseApplication1-ejb
ADM1041:Sent the event to instance:[ModuleDeployEvent -- enable ejb/EnterpriseApplication1-ejb]
[TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
[TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
[TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
[TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
[TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
[TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
[TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
[TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
[TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
[TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
[TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
[TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
[TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
[TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
[TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
[TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
naming.bind
**RemoteBusinessJndiName: session.EmailEntityFacadeRemote; remoteBusIntf: session.EmailEntityFacadeRemote
LDR5010: All ejb(s) of [EnterpriseApplication1-ejb] loaded successfully!
ADM1006:Uploading the file to:[C:\Documents and Settings\mohini kharb\Local Settings\Temp\s1astempdomain1server-1036455939\EnterpriseApplication1.ear]
deployed with moduleid = EnterpriseApplication1
ADM1041:Sent the event to instance:[ApplicationDeployEvent -- enable EnterpriseApplication1]
[TopLink Config]: 2007.05.13 01:31:19.796--ServerSession(25852780)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
[TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
[TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
[TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
[TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
[TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
[TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
[TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
naming.bind
EJB5090: Exception in creating EJB container [javax.naming.NameAlreadyBoundException: Use rebind to override]
appId=EnterpriseApplication1 moduleName=EnterpriseApplication1-ejb_jar ejbName=EmailEntityFacade
LDR5012: Jndi name conflict found in [EnterpriseApplication1]. Jndi name [session.EmailEntityFacadeRemote] for bean [EmailEntityFacade] is already in use.
LDR5013: Naming exception while creating EJB container:
javax.naming.NameAlreadyBoundException: Use rebind to override
at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:279)
at com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:219)
at com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:77)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:372)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:387)
at javax.naming.InitialContext.bind(InitialContext.java:404)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:215)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:168)
at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:948)
at com.sun.ejb.containers.StatelessSessionContainer.initializeHome(StatelessSessionContainer.java:220)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:671)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:184)
at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Registering ad hoc servlet: WebPathPath: context root = "/EnterpriseApplication1", path = "/EnterpriseApplication1-app-client'
Java Web Start services started for application com.sun.enterprise.appclient.jws.ApplicationContentOrigin@fa6240 registration name=EnThe server log indicates that
"Application NOT loaded: [EnterpriseApplication1]"
I also see:
"Jndi name conflict found in [EnterpriseApplication1]. Jndi name [session.EmailEntityFacadeRemote] for bean [EmailEntityFacade] is already in use."
Will forward this the deployment team. Will get back to you soon -
Creating DataSources for File Source Systems in csv format in sap bw 7.0
Hi,
Please explain how to Create DataSources for File Source Systems in csv format in sap bw 7.0. WITH SCREENSHOTS
Thanks
JINI
Edited by: Jini Jayan on Jun 11, 2008 11:36 AMStep 1. Select Source systems under Modelling in the left panel. In the right panel, right-click Source systems and select Createu2026.
Step 2. Select the FileSystem, manual meta data, data using file inte option, and then click to continue.
Step 3. Enter a name and a description for the source system, and then click to create the source system.
Now create an application component
Step 1. Select InfoSources under Modelling in the left panel. In the right panel, right-click InfoSources and select Create application componentu2026.
Step 2. Enter a name and a description for the application component, and then click to continue. (BW automatically adds a prefix of "Z" to the technical names of application components, unlike the naming system used for other BW objects.If u give the name as AC_DEMO it will be saved as ZAC_DEMO in the system.
Now create infosource
Step 1.Select InfoSources under Modelling in the left panel. Right-click the newly created Application Component , and then select Create InfoSourceu2026.
Step 2. Select the option Master data/texts/hierarchies, and then click to continue.
Step 3. Enter your infoobject name, and then click to continue.
Now you will be asked
Infosource(name) assigned to Appln component(name)?
Click continue
Now go back to workbench and see the Infoobject listed under the Application component name (under Infosource)
Right click the infoobject name and select Assign Datasource
Enter the Infoobject name as Infosource name and the source system name and continue
Now you ll get datasource assignment confirmations for Infosource_ATTR and Infosource_TEXT for master data and text.
Click yes and continue
Now you ll be taken to the Infosource(master data) change screen
Source system name will be given
Below that u need to give the datasource name u2026.._ATTR
Click Activate.
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
For ex if your infoobj are IO_MATNUM and IO_MATNAME (material number and material name) copy and paste as
IO_MATNUM IO_MATNAME
MAT001 TEA
MAT002 COFFEE
MAT003 SUGAR
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_ATTR.csv
Now back to the Infosourcechange screen
Source system name will be given
Below that u need to give the datasource name u2026.._TEXT
And activate
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_TEXT.csv
Now create Infoobject to load data
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_ATTR
Now take care to select the first item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
In the same way
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (text)enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_TEXT
Now take care to select the second item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
Click the icon below admn workbench to go to monitor and check the load
Or you go back to Infosourceu2014Appln Componentu2014InfoObju2014right clickmaintain master data
Click execute
You can see the data load
Hope this helps!!! -
Creating Datasource in WLS 10.x using ant script
All,
We need to create datasource using ant script which uses wlconfig, has anyone done it before? tried the below script, it creates the datasource and connection pool seperately. In WLS 10.x the connection pool entries are part of the datasource itself but the script creating seperately.
<?xml version="1.0" encoding="windows-1252" ?>
<project name="deploy" default="all" basedir=".">
<!-- master build.properties -->
<property file="../../build/build.properties"/>
<property file="build.properties"/>
<echo> ${wls.home} </echo>
<echo> ${wls.url} </echo>
<path id="library.WL">
<pathelement location="${wls.home}/server/lib/weblogic.jar"/>
<pathelement location="${wls.home}/../modules/features/weblogic.server.modules_10.3.1.0.jar"/>
<pathelement location="${wls.home}/server/lib/webservices.jar"/>
<pathelement location="${wls.home}/../modules/org.apache.ant_1.7.0/lib/ant-all.jar"/>
<pathelement location="${wls.home}/../modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar"/>
</path>
<taskdef name="wldeploy" classpathref="library.WL"
classname="weblogic.ant.taskdefs.management.WLDeploy"/>
<taskdef name="wlconfig" classpathref="library.WL"
classname="weblogic.ant.taskdefs.management.WLConfig"/>
<target name="init">
<wlconfig username="${server.user}" password="${server.password}"
url="${wls.url}">
<query domain="base_domain" type="Server" name="soa_server1" property="soaServer"/>
<query domain="base_domain" type="Server" name="soa_server1" property="soaServers"/>
<create type="JDBCConnectionPool" name="${pool.name}"
property="pool">
<set attribute="CapacityIncrement" value="1"/>
<set attribute="DriverName" value="${database.driver}"/>
<set attribute="InitialCapacity" value="1"/>
<set attribute="MaxCapacity" value="10"/>
<set attribute="Password" value="${database.password}"/>
<set attribute="Properties" value="user=${database.user}"/>
<set attribute="RefreshMinutes" value="0"/>
<set attribute="ShrinkPeriodMinutes" value="15"/>
<set attribute="ShrinkingEnabled" value="true"/>
<set attribute="TestConnectionsOnRelease" value="false"/>
<set attribute="TestConnectionsOnReserve" value="false"/>
<set attribute="URL" value="${database.connectString}"/>
<set attribute="Targets" value="${soaServer}"/>
</create>
<create type="JDBCTxDataSource" name="${datasource.name}">
<set attribute="JNDIName" value="${datasource.jndi.name}"/>
<set attribute="PoolName" value="${pool}"/>
<set attribute="Targets" value="${soaServers}"/>
</create>
</wlconfig>
</target>
<target name="deploy" depends="init"></target>
</project>
database.connectString=jdbc:rmi://localhost/jdbc:odbc:RoosterDSN
database.user=admin
database.password=admin
database.driver=org.objectweb.rmijdbc.Driver
datasource.jndi.name=jdbc/MsAccessDataSource
datasource.name=MsAccessDataSource
pool.name=MsAccessDataSourcePool
Was wondering if anybody has done it? please let me know if it's possible.
Thanks in advance..Hi Girish,
Please go through with below post.
http://rocksolutions.wordpress.com/2010/03/29/creating-a-connection-pool-using-ant-in-weblogic/
Let me know in case any issues observed.
Thanks -
Problem facing while creating DataSource through visual admin utility
Hi,
I have created my database on shw6ur-3\tdemand_1 machine where shw6ur-3 is machine name and tdemand_1 is database instance. Still now we used to create database on the sqlserver machine without databaseinstance . This is first time we have installed separate database instance tdemand_1 on the machine. I am entering parameter through visual admin->serverices-> JDBC connector to create database parameter are server name: shw6ur-3\tdemand_1 and database:ABC.
But it is not allowing me to create the DataSource.
I am having the doubt on server name.
Does anybody know how to create DataSource to connect to particular database on particular database instance.
regards,
ChandanIf you connect as sys you have to specify that you want to connect in the role of sysdba or sysoper.
In the connection dialog you'll find a drop down box where you select sysdba instead of normal.
Timo -
Create datasource from SQL Server 2000
successfully create DB connect source system from Northwind database in SQL Server 2000.
create datasource and activate, got error:
@5C\QError@ Event with errors RSDL_META_UPLOAD in DataSource
@5D\QWarning@ Field name CategoryID contains non-alpha-numeric characters
How to avoid this error?Hi,
CategoryID have problem. Check data in source system and check data type for CategoryID in BW sys.
It could be care as CategoryID having some alphabets and while creating info objects in sys you make data type as Number. -
Error: Datasource name not found and no default driver specified
HI All,
I have MySQL as my data base.
I created one universe on top of MySQL. Then i made one webI report on top of that and exported it to BO Portal (Infoview).
Now when I am refreshing this report, it gives me below error in Infoview while its getting refreshed in WebI.
[Database Error] [Microsoft ODBC Driver manager] Datasource name not found and no default driver specified.
WIS 10901
I found SAP Note 1200396 and have created DSN with Same name on Server.
But still I am facing same problem. I have not clustered enviroment.
Guys any one have some idea about this?
I will appreciate your answer.
Thanks in advance,
RishitIf your BOBJ server runs on 64bit windows you should set up the DSN using the 32bit ODCB utility (<Windowa installation director>\SysWOW64\odbcad32.exe )
Regards,
Stratos -
How to create DataSource and ConnectionPooling in WAS
hi,
can u please tell me how to create connectionpool and data source in WAS.pls send me step by step procedure
regards
GuruHi,
Here is the steps to creat a JNDI lookup using Datasource for MSSQL Server. Follow this and use necessary oracle parameters (in bold) as gives by me in the help link above.
Click DataSources in the same path i.e. server > services > JDBC connector
Click new driver or datasource.
Enter/ Set the following properties:
Main Tab
DataSource Name : KAAR_DS
Add Alias : KAAR
SRI
Driver Name : KaarSQLDriver
JDBC version :2.0 (with XA support)
<b>Object factory : com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
DataSource Type : ConnectionPoolDataSource
CPDS classname : com.microsoft.jdbcx.sqlserver.SQLServerDataSource</b>
Additional tab
Add the following properties (key-value):
serverName = localhost
databaseName = KA4
portNumber = 1433
user = CV
password =<password>
Save and restart J2EE. The datasource is now ready to use.
Connection Pooling
Initial connection : 0
Maximum connection : 100
Maximum time to wait for connection : 60
Default connection isolation : DEFAULT
SQL Engine
Select, Vendor SQL
DB Initialization Tab
Add a valid sql statement, and execute. If it is successfully executed, a popup window comes up saying Executing <sql query> . OK.
It is done. Now you can use the JNDI look up name in your coding to access the database. Get connection and use the queries to fetch data from db.
Regards,
Srinivasan T
<b>Helpful answer=>points</b> -
[Help] Cannot create datasource in Mapviewer
Hello. When I deploy MapViewer in OC4J standalone and log as oc4jadmin, i cannot create datasource for it. I edited mapViewerConfig.xml like this:
<map_data_source name="kuba"
jdbc_host="localhost"
jdbc_sid="orcl"
jdbc_port="1521"
jdbc_user="kuba"
jdbc_password="!BazaOracle1"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="true"
/>
After saving and restarting MapViewer, in datasource table there's no items. Any idea, what's wrong? Here's the log:
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig destroy
FINER: destroying MapperConfig: connection manager, mapper pool and janitor t
ad.
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperPool destroyAll
WARNING: destroying ALL mapmaker instances.
2010-12-02 12:05:19 oracle.lbs.mapserver.oms destroyMV
WARNING: Oracle MapViewer shut down.
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig readVersion
INFO: MapViewer server version: Ver11_B091229
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
INFO: using default config file: D:\app\Kubix\product\11.2.0\dbhome_1\j2ee\ho
applications\Map Viewer\web\WEB-INF\conf\mapViewerConfig.xml
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig checkSecuritySetti
WARNING: dcsf:true
2010-12-02 12:05:19 oracle.lbs.mapserver.core.Dimmer startElement
FINEST: found a datasource: kuba
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig scrambleConfigFile
INFO: Passwords in the config file has been encrypted.
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
FINER: Loading configuration file: D:\app\Kubix\product\11.2.0\dbhome_1\j2ee\
e\applications\Map Viewer\web\WEB-INF\conf\mapViewerConfig.xml
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperPool destroyAll
WARNING: destroying ALL mapmaker instances.
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig checkSecuritySetti
WARNING: dcsf:true
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig setLoggingOptions
INFO: Setting logging options for MapViewer
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig setLoggingOptions
INFO: setting logging level to finest
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
FINEST:
Allowed IPs:
Excluded IPs:
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig registerNSDataProv
rs
FINEST: Non-Spatial Data Provider registered: defaultNSDP
2010-12-02 12:05:19 oracle.sdovis.SDataProviderMgr registerProvider
WARNING: Spatial Provider shapefileSDP is already registered.
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig registerSDataProvi
s
FINEST: Spatial Data Provider registered: shapefileSDP
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
FINEST: Data source kuba will get web user name from: J2EE_USER
2010-12-02 12:05:19 oracle.sdovis.ds.NativeOracleDataSource <init>
SEVERE: Connection Cache with this Cache Name already exists
java.sql.SQLException: Connection Cache with this Cache Name already exists
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
:175)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
:240)
at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleCo
ctionCacheManager.java:188)
at oracle.jdbc.pool.OracleDataSource.cacheInitialize(OracleDataSource
va:301)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
:284)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
:179)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
:159)
at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSou
.java:233)
at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122
at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.
a:797)
at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperC
ig.java:1572)
at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig
va:609)
at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:36
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
at java.lang.Thread.run(Thread.java:662)
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig createMappers
SEVERE: Error creating NativeOracleDataSource.
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
WARNING: MAPVIEWER-00011: Error creating a map data source.(kuba)
2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
INFO: Map Recycling thread started.
2010-12-02 12:05:19 oracle.lbs.mapserver.oms$ColdStart run
INFO: *** Oracle MapViewer started. ***
2010-12-02 12:05:20 oracle.lbs.mapcache.MapCacheServer restart
INFO: Map cache server is restarted!
2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
FINE: FOI image recycle thread interrupted.
2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
FINE: FOI image recyle thread terminated.
2010-12-02 12:05:20 oracle.lbs.foi.FOIServer init
INFO: *** Oracle Feature of Interest (FOI) Server started. ***
2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
FINE: FOI image recycle thread interrupted.
2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
FINE: FOI image recyle thread terminated.
10/12/02 12:05:20 Message:MAPVIEWER-00019: Specified data source does not exist.
Thu Dec 02 12:05:20 CET 2010
Severity: 0
Description:
10/12/02 12:05:20 Message:MAPVIEWER-00019: Specified data source does not exist.
Thu Dec 02 12:05:20 CET 2010
Severity: 0
Description:
10/12/02 12:05:21 Message:MAPVIEWER-00019: Specified data source does not exist.
Thu Dec 02 12:05:21 CET 2010
Severity: 0
Description:Does restarting oc4j make any difference?
-
What's this?--Exception creating DataSource: org.hsql.jdbcDriver
How to register the MS-SQL Server2000 DataSource in Tomcat4.04?
Hi friends,
I only have the MS SQL Server 2000 Database,and prog with jsp and Tomcat.
Since the MS issue their JDBC Driver for SQL Server,I always use "DriverManager"
to get the database connection,
eg:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection conn = DriverManager.getConnection
("jdbc:microsoft:sqlserver://server1:1433","username","password");
Now I want to use "DataSource" to get connection in my prog,and I know it is necessary to register the DataSouce with JNDI in Tomcat before I can use it.
But how to register and use the SQL Server DataSource in Tomcat4.04? I had tried some times and all failed,tomcat throws a exception like this:"javax.servlet.ServletException: Exception creating DataSource: org.hsql.jdbcDriver"
what is "org.hsql.jdbcDriver"? may be it is tomcat's build in,but how can make my sql server driver work?
Any Commnet Will Be Appreicate!
----Below is my fail trail when try to config the Tomcat--------------------
Fellow the Tomcat's document,I modify the
"$CATALINA_HOME/conf/server.xml" like this.
<Context path="/MySite" docBase ="MySite" debug = "0" privileged = "true">
<Resource name="jdbc/pubsDb" auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/pubsDb">
<parameter>
<name>user</name>
<value>LJS</value>
</parameter>
<parameter>
<name>password</name>
<value>121212</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.microsoft.jdbcx.sqlserver.SQLServerDriver</value>
</parameter>
<parameter>
<name>driverName</name>
<value>jdbc:microsoft:sqlserver://localhost:1433/pubs</value>
</parameter>
</ResourceParams>
</Context>
PS: the MSSQL Sever2000 has installed and had a user named "LJS" which password is 121212
and default database is "pubs".
Then,I modified the $CATALINA_HOME/webapps/MySite/WEB-INF/web.xml like this
<resource-ref>
<description>
Resource reference to a factory for java.sql.Connection
instances that may be used for talking to a particular
database that is configured in the server.xml file.
</description>
<res-ref-name>
jdbc/pubsDB
</res-ref-name>
<res-type>
javax.sql.DataSource
</res-type>
<res-auth>
Container
</res-auth>
</resource-ref>
finally I code a DB.jsp like this
<%@ page content="text/html"%>
<%@ page import="java.sql.*,javax.sql.*,java.naming.*"%>
<%
Context ctx = new InitialContext();
DataSource ds = (DataSource)(new InitialContext().lookup("java:comp/env/jdbc/pubsDB"));
%>
after all done, I launch the Tomcat 4.0 and type "http://localhost:8080/MySite/DS.jsp" in
my browser.
then Tomcat throw exception like this:
javax.servlet.ServletException: Exception creating DataSource: org.hsql.jdbcDriver
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at org.apache.jsp.DS$jsp._jspService(DS$jsp.java:83)
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:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
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.doFilter(ApplicationFilterChain.java:193)
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:190)
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.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
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.valves.AccessLogValve.invoke(AccessLogValve.java:468)
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:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)
root cause
javax.naming.NamingException: Exception creating DataSource: org.hsql.jdbcDriver
at
org.apache.naming.factory.TyrexDataSourceFactory.getObjectInstance(TyrexDataSourceFactory.java:233)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:165)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:835)
at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.jsp.DS$jsp._jspService(DS$jsp.java:70)
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:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
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.doFilter(ApplicationFilterChain.java:193)
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:190)
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.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
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.valves.AccessLogValve.invoke(AccessLogValve.java:468)
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:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)Hi,
don't know if you've already found a solution to this problem. Anyway, I had the same problem and the cause turned out to be a non-valid server.xml file.
Here is my (working) server.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Example Server Configuration File --><!-- Note that component elements are nested corresponding to their
parent-child relationships with each other --><!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
--><Server debug="0" name="TestServer" port="8005" shutdown="SHUTDOWN">
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps:
* Download and install JSSE 1.0.2 or later, and put the JAR files
into "$JAVA_HOME/jre/lib/ext".
* Edit "$JAVA_HOME/jre/lib/security/java.security" and add
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
* Execute: keytool -genkey -alias tomcat -keyalg RSA
with a password value of "changeit".
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector acceptCount="10" className="org.apache.catalina.connector.http.HttpConnector" connectionTimeout="60000" debug="0" enableLookups="true" maxProcessors="75" minProcessors="5" port="8080" redirectPort="8443"/>
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" scheme="https" secure="true">
<Factory className="org.apache.catalina.net.SSLServerSocketFactory"
clientAuth="false" protocol="TLS"/>
</Connector>
-->
<!-- Define a Proxied HTTP/1.1 Connector on port 8081 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8081" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" connectionTimeout="60000"
proxyPort="80"/>
-->
<!-- Define a non-SSL HTTP/1.0 Test Connector on port 8082 -->
<!--
<Connector className="org.apache.catalina.connector.http10.HttpConnector"
port="8082" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0"/>
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- Define the top level container in our container hierarchy -->
<Engine debug="0" defaultHost="localhost" name="Standalone">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.3
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm"/>
<!-- Define the default virtual host -->
<Host appBase="webapps" debug="0" name="localhost" unpackWARs="true">
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="common" prefix="localhost_access_log." suffix=".txt"/>
<!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the "logs"
directory relative to $CATALINA_HOME. If you wish, you can specify
a different directory with the "directory" attribute. Specify either a
relative (to $CATALINA_HOME) or absolute path to the desired
directory.-->
<Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/>
<!-- Define properties for each web application. This is only needed
if you want to set non-default properties, or have web application
document roots in places other than the virtual host's appBase
directory. -->
<!-- Tomcat Root Context -->
<!--
<Context path="" docBase="ROOT" debug="0"/>
-->
<Context docBase="D:\Program Files\IBM\WebSphere Studio\workspaces\Test\StudentWEB\Web Content"
path="/StudentWEB"
reloadable="true"
source="com.ibm.etools.webtools.server:StudentWEB">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_DBTest_log." suffix=".txt"
timestamp="true"/>
<Resource name="jdbc/TestDB"
auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/TestDB">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<!-- Maximum number of dB connections in pool. Make sure you
configure your mysqld max_connections large enough to handle
all of your db connections. Set to 0 for no limit.
-->
<parameter>
<name>maxActive</name>
<value>100</value>
</parameter>
<!-- Maximum number of idle dB connections to retain in pool.
Set to 0 for no limit.
-->
<parameter>
<name>maxIdle</name>
<value>30</value>
</parameter>
<!-- Maximum time to wait for a dB connection to become available
in ms, in this example 10 seconds. An Exception is thrown if
this timeout is exceeded. Set to -1 to wait indefinitely.
-->
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
<!-- MySQL dB username and password for dB connections -->
<parameter>
<name>username</name>
<value>admin</value>
</parameter>
<parameter>
<name>password</name>
<value>admin</value>
</parameter>
<!-- Class name for mm.mysql JDBC driver -->
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.Driver</value>
</parameter>
<!-- The JDBC connection url for connecting to your MySQL dB.
The autoReconnect=true argument to the url makes sure that the
mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
connection. mysqld by default closes idle connections after 8 hours.
-->
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
</parameter>
</ResourceParams>
</Context>
</Host>
</Engine>
</Service>
<!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
as its servlet container. Please read the README.txt file coming with
the WebApp Module distribution on how to build it.
(Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
To configure the Apache side, you must ensure that you have the
"ServerName" and "Port" directives defined in "httpd.conf". Then,
lines like these to the bottom of your "httpd.conf" file:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
The next time you restart Apache (after restarting Tomcat, if needed)
the connection will be established, and all applications you make
visible via "WebAppDeploy" directives can be accessed through Apache.
-->
<!-- Define an Apache-Connector Service -->
<Service name="Tomcat-Apache">
<Connector acceptCount="10" className="org.apache.catalina.connector.warp.WarpConnector" debug="0" enableLookups="true" maxProcessors="75" minProcessors="5" port="8008"/>
<!-- Replace "localhost" with what your Apache "ServerName" is set to -->
<Engine appBase="webapps" className="org.apache.catalina.connector.warp.WarpEngine" debug="0" name="Apache">
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger" prefix="apache_log." suffix=".txt" timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm"/>
</Engine>
</Service>
</Server>
My web.xml looks like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>MySQL Test App</description>
<servlet>
<servlet-name>TestServlet</servlet-name>
<display-name>TestServlet</display-name>
<servlet-class>TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/TestServlet</url-pattern>
</servlet-mapping>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/TestDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
You can of course leave out the comments if you want...
Please let me know if this works on [email protected].
Kind regards,
Johan
Maybe you are looking for
-
Japanese mojibake in email created from Mac OS X Mail. Help?
Since Tiger I am having more and more Japanese friends of mine say that my email is turning up in their inbox as mojibake (junk characters.) I have found Article ID: 301986, "Mac OS X 10.4: Japanese message doesn't appear correctly in web mail or on
-
Help With Deployment Workbench Defaults
I have inherited a WDS box that seems to have images on it when I PXE boot to it. But when I go to the Deployment Workbench, nothing is listed under Deployment Shares. How is this box deploying images? It does boot into Lite-Touch X64 when I PXE to
-
Hi, I am working on CE7.2 on BPM. I am customizing SAP MDM DCs using NWDI and using these DCs in BPM process. So I would like to know whether do I need to add any build time BPM DCs to my track? If yes, please let me know the file names to add my tra
-
New 3.0 server w/2.2.2 server
Any issue with bringing up a 3.0 server, extending the schema, etc. alongside a production 2.2.x server under the same "MessengerService"? My plan is to test the 3.0 server which will be fronted by a Netscaler, then once happy with everything remove
-
Change From "Word Processing" to "Layout"
Hello everyone! Is there any way to change the format of a document from "Word Processing" mode to "Layout" mode? I noticed that all Pages '06 documents are imported into '08 as "Word Processing", even when it is actually a layout document. I tried l