This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Suddenly my 'good working' websphere 3.5.5 (running on Win2000) won't
start anymore!  When I try
to launch the WS Admin Service, I get a windows error 10 message.  Checked
this group already but cannot find a reason...

Last thing I did:
I created an enterprise-application and started/stopped it successfully
with
the admin-console several times.  This was done while testing a JSP.  No
problems occurred.  After a reboot I tried to start the WSADMIN but it
refuses...

This is a piece of the 'trace-file'
[02.07.03 10:13:55:274 GMT+02:00] 42459b7f AdminServer A ADMS0002I:
Initializing WebSphere Administration server
[02.07.03 10:13:55:304 GMT+02:00] c88a9b7e DrAdminServer A SMTL0018I:
DrAdmin available on port 1.726
InstantDB - Version 3.13
Copyright (c) 1997-2000 Instant Computer Solutions Ltd.
[02.07.03 10:14:31:907 GMT+02:00] e52b1b65 ActiveServerP A ADMS0008I:
Starting server: "Conti7"
[02.07.03 10:14:32:067 GMT+02:00] e52b1b65 ActiveServerP A ADMS0032I:
Started server: "Conti7" (pid "2396")
[02.07.03 10:15:08:009 GMT+02:00] 42459b7f AdminServer A ADMS0024I:
WebSphere Administration server open for e-business
[02.07.03 11:06:47:826 GMT+02:00] 427b88dc AdminServer A ADMS0002I:
Initializing WebSphere Administration server
[02.07.03 11:06:47:836 GMT+02:00] 7f7608df DrAdminServer A SMTL0018I:
DrAdmin available on port 1.854
InstantDB - Version 3.13
Copyright (c) 1997-2000 Instant Computer Solutions Ltd.
[02.07.03 11:30:19:474 GMT+02:00] 42bf8d53 AdminServer A ADMS0002I:
Initializing WebSphere Administration server
[02.07.03 11:30:19:474 GMT+02:00] 26e20d52 DrAdminServer A SMTL0018I:
DrAdmin available on port 1.050
InstantDB - Version 3.13
Copyright (c) 1997-2000 Instant Computer Solutions Ltd.
[02.07.03 11:30:20:535 GMT+02:00] 42bf8d53 DBMgr F Failed to create a data
source: java.sql.SQLException: Internal error - could not read transaction
marker
at jdbc.idbConnection.<init>(idbConnection)
at jdbc.idbDriver.connect(idbDriver)
at
com.ibm.ejs.cm.pool.JDBC1xConnectionFactory.createConnection(JDBC1xConnectio
nFactory.java:31)
at
com.ibm.ejs.cm.pool.ConnectionPool.createConnection(ConnectionPool.java:798)
at
com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(ConnectionPool.
java:751)
at
com.ibm.ejs.cm.pool.ConnectionPool.findFreeConnection(ConnectionPool.java:68
2)
at
com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(ConnectionPool.java:5
94)
at
com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(ConnectionPool.java:52
0)
at
com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:241)
at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:131)
at com.ibm.ejs.cm.SMDataSource.getConnection(SMDataSource.java:83)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:208)
at
com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(AdminServer.java:1505)
at
com.ibm.ejs.sm.server.AdminServer.initializeRuntime(AdminServer.java:1220)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:376)
FATAL Failed to create a data source: {0} java.sql.SQLException: Internal
error - could not read transaction marker


Patrick Goovaerts
WebMaster
Clipper Support nv
TEL : 0032 (0)3 5453991
GSM: 0498 610 325
WEB: www.conti7.be
----- Forwarded by Patrick Goovaerts/Clipper Support on 03/07/2002 12:10
-----


Patrick Goovaerts
03/07/2002 10:51


        To:     web400@midrange.com
        cc:
        bcc:
        Subject:        retrieve values of 'application' beans

I have a servlet loading a bean at WAS startup-level.  This bean has a
codetable which is filled correctly and I can retrieve values from this
bean in a jsp launched from same web-app1 (Conti7) without any problems.

Now I have created another web-app2 (scheduleconti) with a jsp which needs
same info.  When I do a 'snoop' from this web-app, I can see the bean is
loaded.  (Servlet Context Attributes).  But when I try to access the
codetable, it seems to be empty...

I created an 'enterprise application' which includes both web-app1 and
web-app2
We use WAS 355 Standard Edition.

This is the 'Snoop' result:
ServletContext attributes:
1) com.ibm.websphere.servlet.application.host default_host
     value = com.ibm.websphere.servlet.application.classpath C:\Program
Files\SQLLIB\java\db2java.zip;...
2) TABLES
     value = com.clipper.beans.CodeTablesBean@e1a81c9c
3) com.ibm.websphere.servlet.application.name scheduleconti
     value = com.ibm.servlet.engine.webapp.WebAppServletRegistry
4) com.ibm.servlet.engine.webapp.WebAppServletRegistry@b01f1c83
     value = com.ibm.websphere.servlet.event.ServletContextEventSource
5) com.ibm.servlet.engine.webapp.WebAppEventSource@cfe69c83
     value = javax.servlet.context.tempdir
C:\WebSphere\AppServer\temp\default_host\scheduleconti

this is the JSP which shows "vLinesSize=0" and "Total Lines processed =
0":
<jsp:useBean id="TABLES" class="com.clipper.beans.CodeTablesBean"
scope="application"></jsp:useBean>
<%
   java.lang.String dataLine = new java.lang.String();
   java.lang.String dataLineText = new java.lang.String();
   int i = 0;
%>
<html>
<head>
<title>Conti-Lines nv: Test Beans</title>
<base target="_self">
</head>

<body>

<%     try
       {
          int vLinesSize = TABLES.vLines.size();
        %>vLinesSize = <%=vLinesSize%>
<%        com.clipper.model.Line jspLine = TABLES.getLine(0);
          for (i = 0; ; )
          {
             dataLine = new Integer(jspLine.getLineCode()).toString();
             dataLineText = jspLine.getLineName();
          %><br>Code= <%=dataLine%>     Name=<%=dataLineText%></br>
<%           i++;
             try
             {
                jspLine = TABLES.getLine(i);
             }
             catch (java.lang.ArrayIndexOutOfBoundsException _e0)
             {
                break;
             }
          }
       }
       catch (java.lang.ArrayIndexOutOfBoundsException _e0)
       {
       }
     %>
     <br>Total Lines processed = <%=i%></br>
</body>
</html>




Patrick Goovaerts
WebMaster
Clipper Support nv
TEL : 0032 (0)3 5453991
GSM: 0498 610 325
WEB: www.conti7.be


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.