Michael James Payne

Greenhorn
+ Follow
since Jan 29, 2004
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael James Payne

Everytime, I set up my RAD 6.0 and bring in all the projects. I always get path problems. It was suggested that I close all projects and reopen them and the build path problems go away. We tried that and it didn't work. I even did a clean and build all and it still fails with the same build path problems.

Thanks,
Mike Payne
15 years ago
How do I mainitain the selected value from the dropdown list so when the jsp is redisplayed, the selected values are maintained (are shown) and not lost?



Michael J. Payne
Consultant
Fusion Alliance
Indianapolis, Indiana
16 years ago
JSP
SEVERE: Servlet.service() for servlet jsp threw exception
08:39:09,804 ERROR [STDERR] Aug 3, 2006 8:39:09 AM org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/vpo].[jsp]
SEVERE: MSG_EXCEPTION_LOGGED
08:39:09,804 ERROR [STDERR] Aug 3, 2006 8:39:09 AM org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/vpo].[action]
SEVERE: Servlet.service() for servlet action threw exception
08:39:09,804 ERROR [STDERR] Aug 3, 2006 8:39:09 AM org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/vpo].[action]
SEVERE: MSG_EXCEPTION_LOGGED
16 years ago
The file is there just fine but the application always gives me this message.

I have talked to IBM about the problem and they state it is a classpath problem so that is why I asked about classpath.

In my Java build path, I set up a variable with the correct path according to IBM but I still get the same message. This new variable points to the following path: C:\Program Files\IBM\db2cmv8\ which matches what they said I should do.

Below is what IBM sent me:

You need to have %IBMCMROOT%\cmgmt in your java classpath.
By default %IBMCMROOT% is set to C:\Progra~1\IBM\db2cmv8\
The way the ini files are found by the java api's is in the followig method
1. Look for %IBMCMROOT%\cmgmt\ directory.
2. find the cmbcmenv.properties file in the %IBMCMROOT%\cmgmt\
3. look for the value CMCFGDIR= in this properties file. By default it has the value
CMCFGDIR=C:\\Program Files\\IBM\\db2cmv8\\cmgmt\\connectors
4. go the CMCFGDIR to find the necessary ini files & configuration files.

Make sure that
1 %IBMCMROOT%\cmgmt directory is in the classpath.
2. the cmbcmenv.properites file exists & contains the CMCFGDIR value
3. the .ini files (including the cmbdsod.ini) are in the CMCFGDIR directory

Thanks for all your help.

Michael Payne
I am getting the following when I attempt to run a batch application
in Eclipse. The application is going against IBM Content Manager On Demand DB2.

Message Below:

trace is off
Exception name: DKUsageError
com.ibm.mm.sdk.common.DKUsageError: DGL2002A: Initialization failed. Cannot find or read file:: C:\Program Files\IBM\db2cmv8\cmgmt\connectors\cmbdsod.ini
at com.ibm.mm.sdk.server.DKDatastoreOD.initialize(DKDatastoreOD.java:124)
at com.ibm.mm.sdk.server.DKDatastoreOD.<init>(DKDatastoreOD.java:254)
at TConnectOD.main(TConnectOD.java:94)
Exception message: DGL2002A: Initialization failed. Cannot find or read file:: C:\Program Files\IBM\db2cmv8\cmgmt\connectors\cmbdsod.ini

Thank You Very Much,
Michael Payne
Java Developer
Lafayette Life Insurance
Here are the steps I followed:

1) I created the database in Cloudscape 5.1 and can use Cloudscape to access it and read the data find.

2) In my WSAD project, I created a database definition as follows:

Database Name: BooksDB
Database Vendortype: Cloudscape 5.1

3) I then attempted to create a new database connection as follows:

Connection Name: Con1
Database Name: BooksDB
User ID and password: Empty because the database doesn't have any
Database Vendortype: Cloudscape 5.1
JDBC Driver: Cloudscape Embedded JDBC Driver
Database Location: C:\Cloudscape_5.1\frameworks\embedded\bin\BooksDB
JDBC Driver Class: com.ibm.db2j.jdbc.DB2jDriver
Class Location: C:\Cloudscape_5.1\lib\db2jtools.jar;
C:\Cloudscape_5.1\lib\license.jar;
C:\Cloudscape_5.1\lib\db2j.jar
Connection URL:
jdbc b2j:C:\Cloudscape_5.1\frameworkds\embedded\bin\BooksDB

Then when I click the finish button, I get the following message in WSAD 5.1:

IWAS0126E Problems encountered while trying to establish connection Con1 trying to connect to Con1
Reason: 'IWAS0223E The server at
'jdbc b2j:C:\Cloudscape_5.1\frameworkds\embedded\bin\BooksDB' is not a
'Cloudscape, V5.1' database. Ensure the database vendor type currently
specified for the connection matches the version installed on the server
and try again.'

Thanks for all your help.
Mike Payne
18 years ago
I am trying to connect to a Cloudscape 5.1 database in WSAD 5.1.

After I add databast to project, I get at error stating that the database is not a Cloudscape 5.1 database.

Any help would be appreciated.

Thanks,
Mike
18 years ago
I am trying to connect to a Cloudscape 5.1 database in WSAD 5.1.

After I add databast to project, I get at error stating that the database is not a Cloudscape 5.1 database.

Any help would be appreciated.

Thanks,
Mike
I get the following when I attempt to start the default server in WSAD 5.0.
java.lang.NoClassDefFoundError: 2004/LabsWorkSpace/Servers/defaultConfiguration/wsc
Exception in thread "main"
Below is what I find in the propeties of the default server in Debug perspective.
C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/bin/javaw -Xbootclasspath/p:C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/jre/lib/ext/ibmorb.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/jre/lib/ext/ibmext.jar -DPD_DT_ENABLED=true -Ddb2j.system.home=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/databases -Dcom.ibm.ws.tools.trace.traceFile=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/logs/startServer.log -Dworkspace.user.root=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/wstemp -Dworkspace.repository.adapter=com.ibm.ws.sm.workspace.impl.WorkSpaceSelfRepositoryAdapter -Dworkspace.root=C:/CPT350/Spring 2004/LabsWorkSpace/Servers/defaultConfiguration.wsc -Dcom.ibm.websphere.servlet.temp.dir=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/cache -Dwas.repository.backup=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/repository/backup -Dwas.repository.temp=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/repository/temp -Dwas.repository.config=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/repository -Dwas.repository.root=C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/repository -Dwas.loose.config=file:C:/CPT350/Spring 2004/LabsWorkSpace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/looseconfig.xmi -Dwas.variable.map=C:\CPT350\Spring 2004\LabsWorkSpace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\pathMaps.properties -classpath C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/lmproxy.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.2/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.2/runtime/wasToolsCommon.jar -Xmx256m -Dws.ext.dirs=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/ext;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/web/help;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.0.2/runtime/worf.jar -Dserver.root=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5 -Duser.install.root=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5 -Dcom.ibm.itp.location=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/bin -Dwas.install.root=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5 -Djava.security.auth.login.config=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties/wsjaas.conf -Djava.security.policy=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties/server.policy -Djava.library.path=C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\eclipse\jre\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Adaptec Shared\System;C:\j2sdk1.4.2_01\bin;C:\Program Files\Executive Software\Diskeeper\;C:\Program Files\Microsoft Office\OFFICE11\Business Contact Manager\IM;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft Office\OFFICE11\Business Contact Manager\;C:\Program Files\Norton SystemWorks\Norton Ghost\ com.ibm.etools.websphere.tools.runner.UnitTestServerRunnerV5 1046 C:/CPT350/Spring 2004/LabsWorkSpace/Servers/defaultConfiguration.wsc -1 localhost localhost server1
Thank You Very Much
18 years ago