J2EE Error while buildind examples
I am trying to test web service with JAX-RPC. I started with building the helloservice but when I was trying to sun asant build command at the Prompt window there is an error.
BUILD FAILED
file:C:/Sun/j2eetutorial14/examples/jaxrpc/common/targets.xml:82: Execute failed
: java.io.IOException: CreateProcess: \bin\wscompile.bat -define -mapping build/
mapping.xml -d build -nd build -classpath build config-interface.xml error=3
It is very difficult for me to solve the problem.
Please help me!
Thank you very much!
J2EE_HOME is not set. Set this value properly in the appropriate properties file
Similar Messages
-
Error while building examples Java EE
Hi
When trying to build an example project (included with the Java EE tutorial http://java.sun.com/javaee/5/docs/tutorial/doc/) with the use of Netbeans I get the following error with e.g. the coffee example
error: http://127.0.0.1:8080/jaxws-coffee-supplier/SupplierService/__container$publishing$subctx/WEB-INF/wsdl/SupplierService_schema1.xsd
unknown location
I carefully followed the instructions as mentioned in the tutorial; What am I doing wrong? Do I need to save the examples folder in a specific place on my hard disk?
Thanks in advance!Hi,
This forum is exclusively for the Sun Java Studio Creator related discussions.
Please post your question at: http://forum.java.sun.com/forum.jspa?forumID=38
Thanks,
Creator Team. -
Error while running helloworld example
Hi Every one!
I am getting the following error while running the helloworld page....can some one help me please....
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
G:\OAF1\jdevbin\jdk\bin\javaw.exe -hotspot -classpath G:\OAF1\jdevbin\j2ee\home\oc4j.jar;G:\OAF1\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Could not canonicalize 'C:\Program Files\Java\jdk1.5.0_08\libC:\Program Files\Apache Software Foundation\Tomcat 6.0\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Could not canonicalize '"C:\Program Files\NetBeans 6.5\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\xml.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /G:/OAF1/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /G:/OAF1/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 21093 ms.
Target URL -- http://bloom.bspl.com:8988/OA_HTML/runregion.jsp
12/04/16 17:27:14 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
12/04/16 17:27:19 TIME: runregion: initialization [16 ms]
oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at _runregion._jspService(_runregion.java:136)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)Hi,
Goto Project Properties:
Search for the following in left pane:
Oracle Applications -> Runtime Connection
DBC file : Choose the correct dbc file from your local machine. You have to get it from your dba and paste it in this path: jdevhome\jdev\dbc_files\secure\*.dbc
User Name: Application User Name
Password : Application password
Responsibilty Key:
Goto Application Developer --> Responsibility --> Define -- >
Query for the available responsibility for the given user. Say for example: "Order Management Super User"
Application: Order Management
Responsibilty Key: ORDER_MGMT_SUPER_USER
Application Short Name:
Goto Application Developer --> Application --> Register -- >
Query for the given application " Order Management"
Short Name: ONT
Responsibility Key and Application Short Name depends upon the object you are developing.
Regards. -
Error while installing J2EE Add- In to the ABAP system
Error while installing J2EE Add-In to the ABAP system
We are installing J2EE Add-In to the ECC5 System in the new hardware.
When are getting Error while installing J2EE Add-In to the ABAP system.
Transaction Begin*****************************
ERROR 2005-08-10 14:58:28
CJSlibModule::writeLogEntry()
CJS-20011 J2EE engine configuration error. DIAGNOSIS: Error when
configuring J2EE Engine. See output of
logfile /usr/sap/QSS/install/batchconfig.log: 'My Library Path
is: /usr/j2se/jre/lib/sparcv9/server:/usr/j2se/jre/lib/sparcv9:/usr/j2se/jre/../lib/sparcv9:/tmp/sapinst_exe.13084.1123702275:/usr/lib::/usr/openwin/lib:/usr/sap/QSS/SYS/exe/run:/oracle/QSS/920_64/lib:/oracle/QSS/920_64/lib32:/usr/lib
ElementInfoTask has finished successfully on dispatcher
ConsoleLogsTask has finished successfully on dispatcher
ChangeManagerPropsTask has finished successfully. Manager:
LockingManager on dispatcher
ChangeManagerPropsTask has finished successfully. Manager:
ClusterManager on dispatcher
ElementInfoTask has finished successfully on server
ConsoleLogsTask has finished successfully on server
ChangeManagerPropsTask has finished successfully. Manager:
LockingManager on server
ChangeManagerPropsTask has finished successfully. Manager:
ClusterManager on server
ChangeServicePropsTask has finished successfully. Service: dbpool on
server
ChangePasswordsTask finished successfully.
Error occured while connecting to database (UploadFile). Msg: No such
algorithm: DESede
Transaction end***********************************
We tried twice clean installation, after removing j2ee dir, SCS and
resp profiles and droping PSAPQSSDB tablespace and SAPQSSDB user.
I have also confirmed the passwords in ABAP system/000 for SAPJSF, DDIC, J2EE_ADMIN, J2EE_GUEST.
We are getting the same error in both tries.
Kindly advice us to resolve the problem.
Thanks and Regards,
SrinivasAnanda,
you saved my day! I've been banging my head against the wall with this same problem during a J2EE add-in installation for SRM 4.0 on Windows, in preparation of an LAC 2.0 installation. I had tried deleting the schema first, but that didn't work. After I removed the sys\global\security folder as well, it worked perfectly.
Thank you. -
Error While running a J2EE application on J2EE Engine.
Hi Guys,
I have a Ear file which I deployed successfully .Now in some jsp pages its throwing some exception.
. I think its related to Sap parser Can any anyone Resolve this?
Application error occurs during request processing.
Internal error while parsing JSP page [D:/usr/sap/JDV/JC00/j2ee/cluster/server0/apps/JavaEE/SP/servlet_jsp/SP/root/Sample.jsp].
*Details:com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib [http://java.sun.com/jsf/core]:*
+[com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a0(:main:, row:272, col:25)(:main:, row=272, col=25) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a0(:main:, row:272, col:25)].+
Exception id: [000C29A9E97100650000005B00000930000455FCF34E1452]
Edited by: Somil Agarwal on Sep 3, 2008 2:33 PM
Edited by: Somil Agarwal on Sep 3, 2008 2:34 PMHi Somil,
I've just had this same error message, and it was because I had a bogus character in my JSP sources. I'd cut-and-pasted the text from a Word document, and it included the "registered trademark" sign (an R in a circle) as a single character. This worked in my test environment, but not in my production environment (where presumably the default encoding is different). I replaced the character with the equivalent HTML entity &reg; (ie. the five characters & r e g ; ) and it all worked.
Have a look through the offending JSPs and see whether you have any characters that might be incompatible with your default encoding (anything that isn't plain old 7-bit ASCII is potentially a problem). Change them to HTML entities and you should be fine.
Hope this helps,
Richie -
Error while installing the SAP J2EE add-on for SAP NW XI installation
Error while installing the SAP J2EE add-on for SAP NW XI installation
Posted: Jan 24, 2007 5:23 PM Reply E-mail this post
Hello,
When I am installing the SAP SAP J2EE add-on for SAP NW XI installation I am getting the follwing error:
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/XID/920_64/bin/sqlplus returns 127.. SOLUTION: See ora_sql_results.log and the Oracle documentation for details
Could some one help me to resolve this error and install the SAP J2EE add-on?
Thanks,
GeorgeHi George,
Kindly use the latest installation Masted in Service market place. That will possibly solve your problem.
Regards
Vivek -
Error while deploying application to j2ee engine
HI,
I am getting the following error while deploying application to j2ee engine.
PluginName: WebDynpro Archive Builder
Plugin Id: com.sap.ide.webdynpro.archivebuilder
class: com.sap.ide.webdynpro.archivebuilder.PARBuilder
method: run()
message: problems encountered while deleting resources
excepton: org.eclipse.core.internal.resources.ResourceException:
problems encountered while deleting resources.
How to resolve this?
Please help me.
regards,
satishHi,
Check whether your workspace has any other .ear files. If yes, just delete those ear files and try creating the ear file for your application again. I had a similar problem and it got resolved by the above method.
Regards,
Mayuri -
Am getting the following error while running the servlet example
Hi,
am getting the following error while running the servlet example
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
edu.dao.StudentDao.insertStudent(StudentDao.java:18)
edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Thanks
//sreekanthHi,
the following code i have written in StudentDao
package edu.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import org.apache.commons.dbutils.DbUtils;
import edu.model.Student;
import edu.util.DBUtil;
public class StudentDao {
public void insertStudent(Student student) {
String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
Connection connection = DBUtil.getConnection();
PreparedStatement preparedStatement = null;
try {
preparedStatement = connection.prepareStatement(stuQuery);
preparedStatement.setString(1,student.getStudentNo());
preparedStatement.setString(2, student.getStudentName());
preparedStatement.executeUpdate();
} catch(SQLException e){
System.out.println("..Sql exception......");
}finally {
DbUtils.closeQuietly(connection,preparedStatement,null);
} -
Error while setting up J2ee agents
Hi,
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/setup_jee_agent/setup_jee_agent.htm
I am trying to set up J2EE agents for ODI using above link on lynux, in this process I am getting below error while giving createCred command
wls:/ODIDEV-Domain/serverConfig> createCred(map="oracle.odi.credmap",key="SUPERVISOR", user="SUPERVISOR", password="SUNOPSIS")
Traceback (innermost last):
File "<console>", line1, in ?
NameError: createCred
How to solve this issue. Please let me know.
Thanks.You need to use the right wlst.sh, which is located at Oracle/Middleware/Oracle_ODI/common/bin/wlst.sh
-
[J2EE:160149]Error while processing library references
Hi,
I have an application which was working 9.2.1. I have deployed this application to 9.2.3. I have modified weblogic-application.xml, but it is giving these erros:
An error occurred during activation of changes, please see the log for details.
[J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml:
[Extension-Name: beehive-controls-1.0, Specification-Version: 1, Implementation-Version: 1.0, exact-match: false],
[Extension-Name: wls-commonslogging-bridge, Specification-Version: 1, Implementation-Version: 1.0, exact-match: false],
[Extension-Name: weblogic-controls-1.0, Specification-Version: 1, Implementation-Version: 1.0, exact-match: false],
[Extension-Name: wlp-tools-support-app-lib, Specification-Version: 9.2, Implementation-Version: 9.2.3, exact-match: false],
[Extension-Name: wlp-webdav-app-lib, Specification-Version: 9.2, Implementation-Version: 9.2.3, exact-match: false],
[Extension-Name: wlp-services-app-lib, Specification-Version: 9.2, Implementation-Version: 9.2.3, exact-match: false],
[Extension-Name: p13n-app-lib, Specification-Version: 9.2, Implementation-Version: 9.2.3, exact-match: false].
How can I resolve these errors?Hi,
Weblogic Server has two clusters and admin server. The referenced libraries didnt targeted to admin server. Because of that it was giving these errors. I have targeted to admin server all referenced libraries and I have deployed it.
But,
When I say start my application, I am taking this error:
[EJB:010127]Incorrect DataSource type detected.
The DataSource with JNDI name 'weblogic.jdbc.jts.commercePool',
specified in the RDBMS deployment descriptor for the EJB 'TrackedAnonymous'
does not support global transactions. The EJB container requires a DataSource
that supports global transactions to be specified for transactions to be managed correctly.
Errors were encountered while performing this operation
[EJB:010127]Incorrect DataSource type detected. The DataSource with JNDI name 'weblogic.jdbc.jts.commercePool', specified in the RDBMS deployment descriptor for the EJB 'TrackedAnonymous' does not support global transactions. The EJB container requires a DataSource that supports global transactions to be specified for transactions to be managed correctly.
Here are my data sources:
cgDataSource
cgDataSource-nonXA
DSFDS
IXPOC9DATASOURCE
NDSDataSource
p13nDataSource
portalDataSource
portalDataSourceAlwaysXA
portalDataSourceNeverXA
samplesDataSource
All of these datasources targeted to NDSCluster, NDSAdminServer.
How can I solve this problem? -
Error while running Flights example
Hi,
I have successfully deployed the Flights example. During running, I got the following error:
com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type extern:com.sap.test.flights.model.types.FlightsModel:com.sap.test.flights.model.types.Bapisfldst could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection: com.sap.sldserv.exception.SldServiceRuntimeException: Failed to create CIM client.
Please let me know how to resolve this. Thanks.
Regards,
Woei TyngHi Woei Tyng,
Web Dynpro uses the System Landscape Directory (SLD) to get the metadata for JCO connection creation. The necessary configuration steps are described in the tutorial documentation of the <a href="https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD5_BAPI.htm">Web Dynpro BAPI tutorial</a>
Hope that helps.
Regards
Stefan -
Error while Create an JCo RFC provider in J2EE engine of portal system
Hi all:
I got the following error while Create an JCo RFC provider in J2EE engine of portal system:
Bundle can not be added YEPRI-EPD_EPD,
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=YEPRI-DEV.domain.ext SYSNR=00 GWHOST=YEPRI-DEV.domain.ext GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR hostname 'YEPRI-DEV.domain.ext' unknown
TIME Fri May 07 10:18:25 201
RELEASE 701
COMPONENT NI (network interface)
VERSION 38
RC -2
MODULE ninti.c
LINE 361
DETAIL NiPGetHostByName2: hostname 'YEPRI-DEV.domain.ext' not found
SYSTEM CALL gethostbyname_r
ERRNO 11004
ERRNO TEXT WSANO_DATA: Valid name, no data record of requested type
COUNTER 1
could you please tell me how solve it ?Hi,
Try the steps mentioned below.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION
Regards,
Koti Reddy -
Error while applying J2EE SP14 for 640 system
Hi,
I am facing issue while applying J2EE SP14 for 640 system. The current level is SP9. Below is the error. Can you recommand any resolution for the same.
ERROR 2005-03-04 14:23:47
CJS-20076 Error while retrieving the mode of the J2EE Engine. See output of logfile C:\Program Files\sapinst_instdir\PATCH\MSS/getEngineMode.log: 'Error while loading BatchConfig C:\Program Files\sapinst_instdir\PATCH\MSS/getSafeMode.xml definition file.
java.lang.Exception: Unknown Task information
at com.sap.engine.configtool.batch.descriptor.BatchConfigDescriptorDocument.readDescriptorFromDocument(BatchConfigDescriptorDocument.java:121)
at com.sap.engine.configtool.batch.descriptor.BatchConfigDescriptorDocument.readDescriptorFromDocument(BatchConfigDescriptorDocument.java:94)
at com.sap.engine.configtool.batch.descriptor.BatchConfigDescriptor.loadFromFile(BatchConfigDescriptor.java:66)
at com.sap.engine.configtool.batch.BatchConfig.main(BatchConfig.java:74)
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 com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:78)
WARNING 2005-03-04 14:23:47
The step checkIfSafeModeIsEnabled with step key ApplySupportPackage|ind|ind|ind|J2EE_Engine|6.30|0|PatchJ2eeEngine|ind|ind|ind|J2EE_Engine|6.30|0|checkIfSafeModeIsEnabled was executed with status ERROR.hi Atul,
Welcome to SDN!
This problem occurs due to unexpectedly high CPU usage. Check the SAP OSS Notes (from Service Market Place) <a href="https://websmp203.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000309362004">743207</a> and <a href="https://websmp203.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000300342004">742395</a>
They will help you to solve the problem.
Regards
ak -
10)example of errors while loading data and how do u resolve them?
)example of errors while loading data and how do u resolve them?
hai ram reddy this is ramprasad reddy....u can get this type of most commen errors....like below
As the frequent failures and errors , there is no fixed reason for the load to be fail , if you want it for the interview perspective I would answer it in this way.
a) Loads can be failed due to the invalid characters
b) Can be because of the deadlock in the system
c) Can be becuase of previuos load failure , if the load is dependant on other loads
d) Can be because of erreneous records
e) Can be because of RFC connections.....(sol: raise the ticket to BASIS team to provide the connection)
f)can be coz of missing master data.
g)can be coz of no data found in the source system.
h)Time stamp error........(sol: activate the data source and replicate the data source and load)
i)Short dump error.........(sol: delete the request and load once again)
j)Data locking when loading in parallel.
k)ODS activation failures.
l)No SID found........(sol: should load masterdata before transaction data) -
Error: while generating SQL.java.rmi.ServerException:
Hi:
I tried the JGuru's "MusicStore" example. HOwever at Task 6 and 7 I am getting the following error:
Error: while generating SQL.java.rmi.ServerException:
RemoteException occured in server thread; nested exception is:
* java.rmi.RemoteException: Error connecting to database;
nested exception is:
* SQL Exception: Failed to start database 'MusicStoreDB', see
the next exception for details.
Please make sure the database name/user/password is valid
and the J2ee server and database are running.
However when i check my database it is running perfectly:
E:\>%j2ee_home%\bin\cloudscape -start
Sun Feb 16 12:48:11 PST 2003: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered i
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] Binding RmiJdbcServer...
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] No installation of RMI Security Manager...
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] RmiJdbcServer bound in rmi registry
Server:
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
DB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
eDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/MusicStore, url = jdbc:cloudscape:rmi:MusicStore
DB;create=false
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
re.RemoteXaDataSource@1d88db7
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
>
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
>
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Starting web service at port: 9191
J2EE SDK/1.3.1
J2EE server startup complete.
Can anyone suggest me a way out..plzwhat type of persistent u r using also post ur query if bmp and check with another example with cmp.
Maybe you are looking for
-
Best Way to Move from old iMac to New?
My super sweet new 27" iMac is due to arrive next Thursday and will be replacing my mid-2007 iMac. Each OS release has been installed on the 2007 iMac as an upgrade and hasn't been cleanly installed since it was new. Though I use TimeMachine, I was u
-
Hey everyone, I'm having a new problem with Muse. This is my first Muse site, all my previous web work was HTML CSS, but I'm trying to learn the programs. However, I have a weird problem with my page... When the browser is too small - aka the window
-
I had to wipe my Pearl.....
.....and now I can't get my email set back up. I put in my user name, and put what I thought my password was in. It said it was wrong, so I clicked "forgot password" It states that my password has been sent to my device. Where was it sent? It's not i
-
Hi all, I have a requirement to get the last four characters in a text field using forms personalization. How to get it. Note: Its a query only form. I have tried using format mask option but it never worked. For ex: if a value is 1111111 in need to
-
C# - Find the number of service bus namespaces programatically
How can we retrieve the number of provisioned service bus namespaces from a subscription programmatically. Are there any published libraries (NUGET packages) from Microsoft to get this information. Thanks, Sankaranarayanan MG