Sun Application Server Platform Edition 8.2 Memory Leak!!
Hi there,
I've been testing a benchmark tool and been used App Server with Adventure Builder deployed as my SUT.
What happens is that I've found that the server crashes within few minutes with a memory leak problem. I was testing a version that has already set a timeout to the file descriptors and it stayed up and running for some hours, but we can observe the memory decreasing too.
I've used the netbeans profiling with a "no-alterations" App Server and it crashes after 20 minutes or so.
I've associated the increase of memory (about minute 4) with the creation of threads called iMQReadChannel that kept running until the server crashes.
Can you help me with that?
Is there a bug fix for this?
By the way, can anybody tell me some applications based in web services that I could use as a SUT? it could be some BPEL examples..
Thanks in advance
Francisco Veiga
What exactly are the symptoms of the crash? If it's actually a crash and a core dump, then if you can provide more details on that (hs_err_pid file and any associated messages), we can file a bug against the JVM. If you get memory exceptions, what specifically do they say?
Also, which JVM are you actually using? There are some known bugs with JDK 1.5.0_06 and earlier around memory and file descriptor usage; we recommend that you use JDK 1.5.0_09 or a JDK 6.0 beta. For that matter, you will see better performance in general with version 9.0 of the appserver
-Scott
Similar Messages
-
Sun Application Server Platform Edition 8.2 JMS Ordering Issue
Hi -
I have an issue where messages I have put on a JMS queue are appearing in my MDB in the wrong order.
I am creating a session, and using that session to send 2 messages to the same queue (first msg A, then msg B).
Usually A appears in the MDB onMessage method first, but sometimes B does !
This contradicts what is said in the manual for the Sun One Message Queue
see http://docs.sun.com/source/817-0354-10/overview.html, at the bottom of this page.
I can provide any of the details of my code or the Connection Factory if required.
Thanks in advance for any suggestions
AndrewWhat exactly are the symptoms of the crash? If it's actually a crash and a core dump, then if you can provide more details on that (hs_err_pid file and any associated messages), we can file a bug against the JVM. If you get memory exceptions, what specifically do they say?
Also, which JVM are you actually using? There are some known bugs with JDK 1.5.0_06 and earlier around memory and file descriptor usage; we recommend that you use JDK 1.5.0_09 or a JDK 6.0 beta. For that matter, you will see better performance in general with version 9.0 of the appserver
-Scott -
Can't deploy my app on Sun Java System Application Server Platform Edition
Hi,
I am trying to deploy me app on the Sun's app server but I get the following error:
I am using Sun Java System Application Server Platform Edition 8.2
Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ejb-jar.xml
Line 29 Column 15 -- The content of element type "session" must match
"(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-type,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*)". "It deploys on Orion 2.02
The ejb.xml file is as follows:
<enterprise-beans>
<session>
<display-name>Facade stateless session bean</display-name>
<ejb-name>ejb/PetardsFacade</ejb-name>
<home>com.jag.petardscmsbeans.interfaces.PetardsFacadeHome</home>
<remote>com.jag.petardscmsbeans.interfaces.PetardsFacade</remote>
<local-home>com.jag.businesslogic.interfaces.FacadeLocalHome</local-home
><local>com.jag.businesslogic.interfaces.FacadeLocal</local>
<ejb-class>com.jag.petardscmsbeans.ejb.PetardsFacadeEJB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<res-ref-name>jdbc/OracleDSRES</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<env-entry>
<env-entry-name>DSName</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>jdbc/OracleDSRES</env-entry-value>
</env-entry>
</session>
</enterprise-beans>also, in the error message what does ? and * signify?
ThanksThis is an element ordering issue. env-entry is before resource-ref in the schema so it must be declared in the same order.
--ken -
Servlet on "Sun Java System Application Server Platform Edition 9.0"
Hi Friends,
I'm using Sun Java System Application Server Platform Edition 9.0
my server is instatted on "C:\Sun\AppServer\" and rest is default istallation path
my web page is calling from "C:\Sun\AppServer\domains\domain1\docroot\" folder
I wrote a test servert and placed the complied
using the command
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>javac -cp C
:\Sun\AppServer\lib\j2ee.jar TestServlet.java
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>
and placed the class file in "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk\TestServlet.class" having following code
package in.muk;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
out.println("<html><head><title>TestServlet</title>");
out.println("\t<style>body { font-family: 'Lucida Grande', " +
"'Lucida Sans Unicode';font-size: 13px; }</style>");
out.println("</head><body><p>Current Date/Time: " + new Date().toString() + "</p>");
out.println("</body></html>");
out.close();
The content of my "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\web.xml" file is
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>in.muk.TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/TestServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>--------------------
The content of "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\sun-web.xml"
is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app error-url="">
<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
<description>Keep a copy of the generated servlet class' java code.</description>
</property>
</jsp-config>
</sun-web-app>--------------
The proble is I'm not able to call this servlet on web
with URL
*http://localhost:8080/TestServlet
*it is giving "HTTP Status 404 - "
Could anybody please help me in finding out why I'm not able to access the Servlet.
Thank you with regards.
Edited by: mu_kumar on Mar 5, 2008 9:00 PMHello,
Did you download the window version?
Download it from
https://sdlc4e.sun.com/ECom/EComActionServlet;jsessionid=127ACE07200555497A21DDC654885146
And don't worry, it's the correct version. Also could you check on your PC,
Start\Programs\ Sun Microsystems\ Application Server PE 9.
Also which operative system are you using?
eve -
Get blank page in Sun Java System Application Server Platform Edition 8
I installed Sun Java� System Application Server Platform Edition 8 and got blank page in http://localhost:1100/ and http://localhost:1100/hello/.
The port 1100 is my default port of HTTP port.
My enviroment:
Win2000 professional
j2sdk1.4.2_05
Tomcat 4.1 (use port : 8080, and it works fine after installing Sun Java� System Application Server Platform Edition 8 )
Anybody can help me to solve this problem? I really want to learn J2EE by using this way.
This is my server.log when invoking the URL http://localhost:1100/ or http://localhost:1100/hello/ .
===============================================================================
|sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=12;|An exception or error occurred in the container during the request processing
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
at java.lang.Thread.run(Thread.java:534)The way i solved it was the following :
I removed all java related packages/applications/servers etc existing in my pc .
my meaning of remove is complete uninstallation of any java application .
then i installed back again j2sdk1.42_05 then i installed the sun application server .
everything was succesful since then .
If you have any java version installed in your pc , for example j2sdk1.4.2_05 and this
package supports previous servers or other java applications and then you install
sun application server , it doesn't work .
It seems the previous java apps . don't "release" some java resources which are
used or can be used by sun application server .
I hope this can be useful to you .
good luck .
FGOM . -
User Role problems in Sun Java Application Server Platform Edition 8
I am having two problems setting up user roles in Sun Java Application Server Platform Edition 8. At first, I thought that it was a problem with the higher level features that I was using, so I created a very simple example using the simplest authentication I can use, but the problem still occurs. I am using the file realm and configuring the users in the App Server Admin Console. I create 2 users in different roles. One user should have access, the other should not.
1) The first problem is that both users can access the page
2) The second problem is that the isUserInRole() method returns false for both users with the role that it should be authenticating against.
Here is a sample of my code:
Users Configured in Console:
username password roles
user1 ********** admin
user2 ********** noaccess
web.xml
<security-role>
<role-name>admin</role-name>
</security-role>
<security-constraint>
<web-resource-collection>
<web-resource-name>My Protected Area</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>file</realm-name>
</login-config>
<servlet>
<servlet-name>
TestServlet
</servlet-name>
<servlet-class>
mypackage.TestServlet
</servlet-class>
<security-role-ref>
<role-name>admin</role-name>
<role-link>admin</role-link>
</security-role-ref>
</servlet>
<servlet-mapping>
<servlet-name>
TestServlet
</servlet-name>
<url-pattern>
/TestServlet
</url-pattern>
</servlet-mapping>
TestServlet.java:
out.println("admin role: " + request.isUserInRole("admin") + "<BR/>");
Thanks before hand for any responses.
- BrianHi Jeanfrancois,
Your suggestion has lead me to find my problem. There were actually three problems.
1) First, you suggestion to reorder my xml file did not cause any errors to occur. I got suspicious that my web.xml file was wrong. I looked at some sample web-xml files and found that I was missing the header as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
2) When I added this information, the deploy feature failed stating the my web.xml file was out of order. I fixed the ordering. It now deployed, but the security still wasn't working.
3) I then added the sun-web.xml file. This file was missing before hand as I thought it was unnessary. However, this file added the essential mapping from a role to a group. After adding this, it now started to work.
Thanks so much for you time and effort. You really did help me.
- Brian Blank -
Application Server Platform Edition 8.1 2005Q2 fails to start - CLI156
I have installed and re-installed PE8.1 on my laptop many times (with security off). I followed Quickstart and after 60 seconds end up with CLI156. I have upgraded from XP Home Edition to XP Professional. I have been going round and round for the last 4 days. I have searched for CLI156 and have tried many options. Any pointers (if not memory references) would be appreciated.
Pertinent information is as follows:
Machine information
Vendor:TOSHIBA
Machine Name:Satellite L15
BIOS Name:Rev 1.0 XXX
BIOS Version:V1.80
Version:PSL10U-01X02FV
CPU Maker:GenuineIntel
CPU Name:Intel(R) Celeron(R) M processor 1.30GHz
CPU Base Clock:400
OS:Microsoft Windows XP Professional
OS Build:2600
OS SP:Service Pack 2
Ram:768432
Windows IP Configuration
Host Name . . . . . . . . . . . . : FE
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : ph.cox.net
Description . . . . . . . . . . . : INPROCOMM IPN2220 Wireless LAN Card
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Lease Obtained. . . . . . . . . . : Sunday, October 02, 2005 8:24:56 AM
Lease Expires . . . . . . . . . . : Monday, October 03, 2005 8:24:56 AM
Microsoft TCP/IP version 6
Realtek RTL8139/810x Family Fast Ethernet NIC
INPROCOMM IPN2220 Wireless LAN Card
Microsoft Tun Miniport Adapter
TOSHIBA Network Device Usermode I/O Protocol
INPROCOMM IPN2220 Wireless LAN Card
Realtek RTL8139/810x Family Fast Ethernet NIC
Point to Point Protocol Over Ethernet
INPROCOMM IPN2220 Wireless LAN Card
Realtek RTL8139/810x Family Fast Ethernet NIC
Point to Point Tunneling Protocol
Layer 2 Tunneling Protocol
Remote Access NDIS WAN Driver
WAN Miniport (ATW)
Direct Parallel
WAN Miniport (PPPOE)
WAN Miniport (PPTP)
WAN Miniport (L2TP)
RAS Async Adapter
NDIS Usermode I/O Protocol
INPROCOMM IPN2220 Wireless LAN Card
Realtek RTL8139/810x Family Fast Ethernet NIC
Message-oriented TCP/IP Protocol (SMB session)
WINS Client(TCP/IP) Protocol
Microsoft TCP/IP version 6
Realtek RTL8139/810x Family Fast Ethernet NIC
Microsoft TCP/IP version 6
INPROCOMM IPN2220 Wireless LAN Card
Microsoft TCP/IP version 6
Microsoft Tun Miniport Adapter
Internet Protocol (TCP/IP)
INPROCOMM IPN2220 Wireless LAN Card
Internet Protocol (TCP/IP)
Realtek RTL8139/810x Family Fast Ethernet NIC
Internet Protocol (TCP/IP)
WAN Miniport (IP)
Internet Protocol (TCP/IP)
INPROCOMM IPN2220 Wireless LAN Card
Realtek RTL8139/810x Family Fast Ethernet NIC
WAN Miniport (IP)
Network Device information
Realtek RTL8139/810x Family Fast Ethernet NIC
Device ID : PCI\VEN_10EC&DEV_8139&SUBSYS_FF311179&REV_10\4&16793A72&0&10F0
Status : Enable
Driver Vender : Realtek Semiconductor Corp.
Driver Version : 5.618.1015.2004
Driver Date : 10-15-2004
INPROCOMM IPN2220 Wireless LAN Card
Device ID : PCI\VEN_17FE&DEV_2220&SUBSYS_03101468&REV_00\4&16793A72&0&20F0
Status : Enable
Driver Vender : INPROCOMM
Driver Version : 3.3.11.2004
Driver Date : 11-4-2004
Diagnostics results
Ping Option : Off
ConfigFree Version
ConfigFree(TM) 4.90.57a
Database 3.00.02
Network Diagnostics
No Problem found
netstat -an before installation (cox high speed Internet security, IM, skype - off)
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1429 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1435 0.0.0.0:0 LISTENING
TCP 127.0.0.1:19989 0.0.0.0:0 LISTENING
TCP 192.168.1.101:139 0.0.0.0:0 LISTENING
TCP [::]:135 [::]:0 LISTENING 0
TCP [::]:1025 [::]:0 LISTENING 0
TCP [::]:1429 [::]:0 LISTENING 0
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1436 *:*
UDP 0.0.0.0:1640 *:*
UDP 0.0.0.0:3456 *:*
UDP 0.0.0.0:4500 *:*
UDP 127.0.0.1:123 *:*
UDP 127.0.0.1:1900 *:*
UDP 192.168.1.101:123 *:*
UDP 192.168.1.101:137 *:*
UDP 192.168.1.101:138 *:*
UDP 192.168.1.101:1900 *:*
UDP 192.168.1.101:11206 *:*
fport before installation (cox high speed Internet security, IM, skype - off)
FPort v2.0 - TCP/IP Process to Port Mapper
Copyright 2000 by Foundstone, Inc.
http://www.foundstone.com
Pid Process Port Proto Path
1264 inetinfo -> 25 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 135 TCP
4 System -> 139 TCP
4 System -> 445 TCP
1684 LEXPPS -> 1025 TCP C:\WINDOWS\system32\LEXPPS.EXE
1264 inetinfo -> 1429 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 1435 TCP
524 CFSServ -> 19989 TCP C:\Program Files\TOSHIBA\ConfigFree\CFSServ
.exe
524 CFSServ -> 123 UDP C:\Program Files\TOSHIBA\ConfigFree\CFSServ
.exe
0 System -> 123 UDP
0 System -> 137 UDP
0 System -> 138 UDP
1264 inetinfo -> 445 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 500 UDP
4 System -> 1436 UDP
1684 LEXPPS -> 1640 UDP C:\WINDOWS\system32\LEXPPS.EXE
0 System -> 1900 UDP
1264 inetinfo -> 3456 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 4500 UDP
0 System -> 11206 UDP
fport after installation of App Server (cox high speed Internet security, IM, skype - off)
FPort v2.0 - TCP/IP Process to Port Mapper
Copyright 2000 by Foundstone, Inc.
http://www.foundstone.com
Pid Process Port Proto Path
1264 inetinfo -> 25 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 135 TCP
4 System -> 139 TCP
4 System -> 445 TCP
1684 LEXPPS -> 1025 TCP C:\WINDOWS\system32\LEXPPS.EXE
1264 inetinfo -> 1429 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 1435 TCP
524 CFSServ -> 19989 TCP C:\Program Files\TOSHIBA\ConfigFree\CFSServ
.exe
524 CFSServ -> 123 UDP C:\Program Files\TOSHIBA\ConfigFree\CFSServ
.exe
0 System -> 123 UDP
0 System -> 137 UDP
0 System -> 138 UDP
1264 inetinfo -> 445 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 500 UDP
4 System -> 1436 UDP
1684 LEXPPS -> 1640 UDP C:\WINDOWS\system32\LEXPPS.EXE
0 System -> 1900 UDP
1264 inetinfo -> 3456 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 4500 UDP
0 System -> 28459 UDP
early in initializing App Server
fport
FPort v2.0 - TCP/IP Process to Port Mapper
Copyright 2000 by Foundstone, Inc.
http://www.foundstone.com
Pid Process Port Proto Path
1264 inetinfo -> 25 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 135 TCP
4 System -> 139 TCP
4 System -> 445 TCP
1684 LEXPPS -> 1025 TCP C:\WINDOWS\system32\LEXPPS.EXE
1264 inetinfo -> 1429 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 1435 TCP
3960 appserv -> 1664 TCP C:\Sun\AppServer\lib\appserv.exe
0 System -> 1666 TCP
1664 java -> 1668 TCP C:\Sun\jdk1.5.0_02\bin\java.exe
3960 appserv -> 1669 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1670 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1671 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1672 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1673 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1674 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1675 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1676 TCP C:\Sun\AppServer\lib\appserv.exe
524 CFSServ -> 19989 TCP C:\Program Files\TOSHIBA\ConfigFree\CFSServ
.exe
0 System -> 123 UDP
3960 appserv -> 123 UDP C:\Sun\AppServer\lib\appserv.exe
1664 java -> 137 UDP C:\Sun\jdk1.5.0_02\bin\java.exe
3960 appserv -> 138 UDP C:\Sun\AppServer\lib\appserv.exe
1264 inetinfo -> 445 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 500 UDP
4 System -> 1436 UDP
1684 LEXPPS -> 1640 UDP C:\WINDOWS\system32\LEXPPS.EXE
3960 appserv -> 1900 UDP C:\Sun\AppServer\lib\appserv.exe
1264 inetinfo -> 3456 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 4500 UDP
3960 appserv -> 34840 UDP C:\Sun\AppServer\lib\appserv.exe
netstat -an early in initialization of App Server
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1429 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1435 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1664 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1664 127.0.0.1:1668 ESTABLISHED
TCP 127.0.0.1:1666 127.0.0.1:1667 TIME_WAIT
TCP 127.0.0.1:1668 127.0.0.1:1664 ESTABLISHED
TCP 127.0.0.1:1669 127.0.0.1:1670 ESTABLISHED
TCP 127.0.0.1:1670 127.0.0.1:1669 ESTABLISHED
TCP 127.0.0.1:1671 127.0.0.1:1672 ESTABLISHED
TCP 127.0.0.1:1672 127.0.0.1:1671 ESTABLISHED
TCP 127.0.0.1:1673 127.0.0.1:1674 ESTABLISHED
TCP 127.0.0.1:1674 127.0.0.1:1673 ESTABLISHED
TCP 127.0.0.1:1675 127.0.0.1:1676 ESTABLISHED
TCP 127.0.0.1:1676 127.0.0.1:1675 ESTABLISHED
TCP 127.0.0.1:19989 0.0.0.0:0 LISTENING
TCP 192.168.1.101:139 0.0.0.0:0 LISTENING
TCP [::]:135 [::]:0 LISTENING 0
TCP [::]:1025 [::]:0 LISTENING 0
TCP [::]:1429 [::]:0 LISTENING 0
TCP [::]:1668 [::]:0 LISTENING 0
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1436 *:*
UDP 0.0.0.0:1640 *:*
UDP 0.0.0.0:3456 *:*
UDP 0.0.0.0:4500 *:*
UDP 127.0.0.1:123 *:*
UDP 127.0.0.1:1900 *:*
UDP 192.168.1.101:123 *:*
UDP 192.168.1.101:137 *:*
UDP 192.168.1.101:138 *:*
UDP 192.168.1.101:1900 *:*
UDP 192.168.1.101:34840 *:*
Starting Domain domain1, please wait.
Log redirected to C:\Sun\AppServer\domains\domain1\logs\server.log.
Full thread dump Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode, sharing):
"Thread-2" prio=5 tid=0x02d85588 nid=0x970 runnable [0x033cf000..0x033cf9e8]
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:177)
at com.sun.enterprise.util.FlusherThread.run(ProcessExecutor.java:625)
"RMI RenewClean-[192.168.1.101:1664,com.sun.enterprise.admin.server.core.channel
.LocalRMIClientSocketFactory@1415de6]" daemon prio=5 tid=0x02dfad98 nid=0x8ec in
Object.wait() [0x0333f000..0x0333fae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x22a8b3e8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x22a8b3e8> (a java.lang.ref.ReferenceQueue$Lock)
at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCCli
ent.java:500)
at java.lang.Thread.run(Thread.java:595)
"GC Daemon" daemon prio=2 tid=0x02de5e10 nid=0x27c in Object.wait() [0x032ff000.
.0x032ffb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x22fe34d8> (a sun.misc.GC$LatencyLock)
at sun.misc.GC$Daemon.run(GC.java:100)
- locked <0x22fe34d8> (a sun.misc.GC$LatencyLock)
"RMI RenewClean-[192.168.1.101:1664,com.sun.enterprise.admin.server.core.channel
.LocalRMIClientSocketFactory@3ee284]" daemon prio=5 tid=0x02de5c90 nid=0x100 in
Object.wait() [0x032bf000..0x032bfbe8]
at java.lang.Object.wait(Native Method)
- waiting on <0x22fe30e8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x22fe30e8> (a java.lang.ref.ReferenceQueue$Lock)
at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCCli
ent.java:500)
at java.lang.Thread.run(Thread.java:595)
"Low Memory Detector" daemon prio=5 tid=0x00a6db08 nid=0x198 runnable [0x0000000
0..0x00000000]
"CompilerThread0" daemon prio=10 tid=0x00a6c6e0 nid=0xe10 waiting on condition [
0x00000000..0x02bcf6c0]
"Signal Dispatcher" daemon prio=10 tid=0x00a6ba00 nid=0x844 waiting on condition
[0x00000000..0x00000000]
"Finalizer" daemon prio=9 tid=0x00a68dd8 nid=0xf10 in Object.wait() [0x02b4f000.
.0x02b4fa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x22f6a038> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x22f6a038> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x00a478b0 nid=0xf34 in Object.wait() [0x
02b0f000..0x02b0fae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x22f6a0b8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x22f6a0b8> (a java.lang.ref.Reference$Lock)
"main" prio=5 tid=0x000377a8 nid=0x194 runnable [0x0007f000..0x0007fc38]
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
- locked <0x22adcf20> (a java.net.SocksSocketImpl)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:207)
at com.sun.enterprise.admin.server.core.channel.LocalRMIClientSocketFact
ory.createSocket(LocalRMIClientSocketFactory.java:65)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
at com.sun.enterprise.admin.server.core.channel.AdminChannelServer_Stub.
getServerStatusCode(Unknown Source)
at com.sun.enterprise.admin.server.core.channel.RMIClient.getInstanceSta
tusCode(RMIClient.java:250)
at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.getInstance
Status(PEInstancesManager.java:555)
at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.isInstanceS
tarting(PEInstancesManager.java:278)
at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager$1.check(PEI
nstancesManager.java:417)
at com.sun.enterprise.admin.servermgmt.pe.InstanceTimer.run(InstanceTime
r.java:32)
at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.waitUntilSt
arting(PEInstancesManager.java:423)
at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.waitUntilSt
arting(PEInstancesManager.java:407)
at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstan
ce(PEInstancesManager.java:244)
at com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstan
ce(PEInstancesManager.java:87)
at com.sun.enterprise.admin.servermgmt.pe.PEDomainsManager.startDomain(P
EDomainsManager.java:178)
at com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartD
omainCommand.java:104)
at com.sun.enterprise.cli.commands.StartDomainCommand.runCommand(StartDo
mainCommand.java:141)
at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:1
35)
at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:46)
"VM Thread" prio=10 tid=0x00a67010 nid=0x82c runnable
"VM Periodic Task Thread" prio=10 tid=0x00a6ed18 nid=0x5a0 waiting on condition
J2EE 1.4 SDK and Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 June 6,
2005
All in one and separate bundles
sjsas_pe-8_1_02_2005Q2-windows
netstat -an late in initializing App Server
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1429 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1435 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1664 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1664 127.0.0.1:1668 ESTABLISHED
TCP 127.0.0.1:1668 127.0.0.1:1664 ESTABLISHED
TCP 127.0.0.1:1669 127.0.0.1:1670 ESTABLISHED
TCP 127.0.0.1:1670 127.0.0.1:1669 ESTABLISHED
TCP 127.0.0.1:1671 127.0.0.1:1672 ESTABLISHED
TCP 127.0.0.1:1672 127.0.0.1:1671 ESTABLISHED
TCP 127.0.0.1:1673 127.0.0.1:1674 ESTABLISHED
TCP 127.0.0.1:1674 127.0.0.1:1673 ESTABLISHED
TCP 127.0.0.1:1675 127.0.0.1:1676 ESTABLISHED
TCP 127.0.0.1:1676 127.0.0.1:1675 ESTABLISHED
TCP 127.0.0.1:19989 0.0.0.0:0 LISTENING
TCP 192.168.1.101:139 0.0.0.0:0 LISTENING
TCP [::]:135 [::]:0 LISTENING 0
TCP [::]:1025 [::]:0 LISTENING 0
TCP [::]:1429 [::]:0 LISTENING 0
TCP [::]:1668 [::]:0 LISTENING 0
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1436 *:*
UDP 0.0.0.0:1640 *:*
UDP 0.0.0.0:3456 *:*
UDP 0.0.0.0:4500 *:*
UDP 127.0.0.1:123 *:*
UDP 127.0.0.1:1900 *:*
UDP 192.168.1.101:123 *:*
UDP 192.168.1.101:137 *:*
UDP 192.168.1.101:138 *:*
UDP 192.168.1.101:1900 *:*
UDP 192.168.1.101:65456 *:*
netstat -an at CLI156 error
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1429 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1435 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1664 0.0.0.0:0 LISTENING
TCP 127.0.0.1:1669 127.0.0.1:1670 ESTABLISHED
TCP 127.0.0.1:1670 127.0.0.1:1669 ESTABLISHED
TCP 127.0.0.1:1671 127.0.0.1:1672 ESTABLISHED
TCP 127.0.0.1:1672 127.0.0.1:1671 ESTABLISHED
TCP 127.0.0.1:1673 127.0.0.1:1674 ESTABLISHED
TCP 127.0.0.1:1674 127.0.0.1:1673 ESTABLISHED
TCP 127.0.0.1:1675 127.0.0.1:1676 ESTABLISHED
TCP 127.0.0.1:1676 127.0.0.1:1675 ESTABLISHED
TCP 127.0.0.1:19989 0.0.0.0:0 LISTENING
TCP 192.168.1.101:139 0.0.0.0:0 LISTENING
TCP [::]:135 [::]:0 LISTENING 0
TCP [::]:1025 [::]:0 LISTENING 0
TCP [::]:1429 [::]:0 LISTENING 0
UDP 0.0.0.0:445 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:1436 *:*
UDP 0.0.0.0:1640 *:*
UDP 0.0.0.0:3456 *:*
UDP 0.0.0.0:4500 *:*
UDP 127.0.0.1:123 *:*
UDP 127.0.0.1:1900 *:*
UDP 192.168.1.101:123 *:*
UDP 192.168.1.101:137 *:*
UDP 192.168.1.101:138 *:*
UDP 192.168.1.101:1900 *:*
UDP 192.168.1.101:31995 *:*
fport at CLI156 error
FPort v2.0 - TCP/IP Process to Port Mapper
Copyright 2000 by Foundstone, Inc.
http://www.foundstone.com
Pid Process Port Proto Path
1264 inetinfo -> 25 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 135 TCP
4 System -> 139 TCP
4 System -> 445 TCP
1684 LEXPPS -> 1025 TCP C:\WINDOWS\system32\LEXPPS.EXE
1264 inetinfo -> 1429 TCP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 1435 TCP
3960 appserv -> 1664 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1669 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1670 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1671 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1672 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1673 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1674 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1675 TCP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 1676 TCP C:\Sun\AppServer\lib\appserv.exe
524 CFSServ -> 19989 TCP C:\Program Files\TOSHIBA\ConfigFree\CFSServ
.exe
3960 appserv -> 123 UDP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 137 UDP C:\Sun\AppServer\lib\appserv.exe
3960 appserv -> 138 UDP C:\Sun\AppServer\lib\appserv.exe
1264 inetinfo -> 445 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
1104 -> 500 UDP
4 System -> 1436 UDP
1684 LEXPPS -> 1640 UDP C:\WINDOWS\system32\LEXPPS.EXE
3960 appserv -> 1900 UDP C:\Sun\AppServer\lib\appserv.exe
1264 inetinfo -> 3456 UDP C:\WINDOWS\system32\inetsrv\inetinfo.exe
2768 -> 4500 UDP
3960 appserv -> 21498 UDP C:\Sun\AppServer\lib\appserv.exe
contnets of server.log
[#|2005-10-02T08:31:05.873-0700|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|
_ThreadID=10;|
C:/Sun/jdk1.5.0_02\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/jdk1.5.0_02/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanSe
rverBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serve
rbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactor
yImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentB
uilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.Transf
ormerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.
bind,javax.help
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\jdk1.5.0_02\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\
lib;C:\Sun\jdk1.5.0_02\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppS
erver\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bi
n;C:\Sun\AppServer\bin;C:\Sun\jdk1.5.0_02\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syst
em32\WBEM;C:\Sun\AppServer\bin;xDefaultS-1-x�
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Sun/jdk1.5.0_02/lib/tools.jar;C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/lib\ac
tivation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Su
n/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\ap
pserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launche
r.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer
/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/Ap
pServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.
jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer
/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.j
ar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/l
ib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/Ap
pServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:
/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api
.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppS
erver/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
set path
Path=C:\Sun\AppServer\bin;C:\Sun\jdk1.5.0_02\bin;C:\WINDOWS\system32;C:\WINDOWS;
C:\WINDOWS\system32\WBEM;C:\Sun\AppServer\bin;xDefaultS-1-x☺^
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
set J2EE_HOME
J2EE_HOME=C:\Sun\AppServer
set JAVA_HOME
JAVA_HOME=C:\sun\jdk1.5.0_02\bin
set include
INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\
pertinent ports from domain.xml
id="http-listener-1" address="0.0.0.0" port="8080" id="http-listener-2"
address="0.0.0.0" port="8181"
id="admin-listener" address="0.0.0.0" port="4848"
id="orb-listener-1" address="0.0.0.0" port="3700"
id="SSL" address="0.0.0.0" port="3820"
id="SSL_MUTUALAUTH" address="0.0.0.0" port="3920"
<jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm"
enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false"/>
<jms-host name="default_JMS_host" host="FE" port="7676" admin-user-name="admin"
admin-password="admin"/>
<property name="DatabaseName"
value="jdbc:pointbase:server://localhost:9092/sun-appserv-samples"/>
contents of domain.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
-->
<!-- Generated from default-domain.xml.template -->
<!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Domain//EN"
"http://www.sun.com/software/appserver/dtds/sun-domain_1_1.dtd">
<domain application-root="${com.sun.aas.instanceRoot}/applications"
log-root="${com.sun.aas.instanceRoot}/logs">
<applications>
<web-module name="adminapp" context-root="/web1"
location="${com.sun.aas.installWhen I set it to false, the the server log no longer gets to display native!#]
when it the hangs.
I finally gave up the ghost, bought a 160G drive, installed it into my desktop, installed Fedora Linux and have not had a problem. Life would be much better if I could get it running on the laptop. My gut tells me that something is wrong with either JAVA_HOME or J2EE_HOME, but I cannot see it. -
Sun Java System Application Server Platform Edition 9
I've done several searches and can't find any threads discussing connecting to the Application Server included with Sun's J2EE SDK.
JDeveloper (10.1.3.1.0.3984) has nice choices for creating a connection to various application servers:
OC4J
Oracle Application Server 10g
Weblogic
Tomcat
JBoss
But there seems to be no info on how to connect to Sun's SDK server nor Jasper (which I have running on one of my Linux servers).
Any ideas? Can I just "pretend" it is one of those other types of servers?JDeveloper doesn't have a built-in connection to the Sun server, but you can still deploy applications created in JDeveloper to that server.
The two options that you have are:
1. Use the sun server Ant tasks and the integrated Ant support in JDeveloper to create an ant build file that does the deployment for you - and run it from within JDeveloper.
2. Create the EAR/WAR file from JDeveloper and then pick it up from the Sun deployment tools and just deploy it to the server. -
Sun Java System Application Server Platform Edition 9.0 (webfolder)
How do I update files(drag and drop) in the webfolder with out restarting the server.
Hello,
Did you download the window version?
Download it from
https://sdlc4e.sun.com/ECom/EComActionServlet;jsessionid=127ACE07200555497A21DDC654885146
And don't worry, it's the correct version. Also could you check on your PC,
Start\Programs\ Sun Microsystems\ Application Server PE 9.
Also which operative system are you using?
eve -
Help for MDB, with Sun Java System Application Server Platform Edition 8.2
Hi all,
Iam having problem in working MDB. Have written & deployed the Bean sucessfully and when am trying to run the Client, to post a new message am getting exceptions
The Exception i got is
D:\krb\ejb\Message\MDB>appclient -client MDBClient.jar
MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login failed: user=admin, br
oker=itech-4:7676(1339)
com.sun.messaging.jms.JMSSecurityException: [C4060]: Login failed: user=admin,
broker=itech-4:7676(1339)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(Protocol
Handler.java:824)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
.java:749)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler
.java:679)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.j
ava:416)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connect
ionImpl.java:1979)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.ja
va:745)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.
java:315)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedC
onnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionI
mpl.java:32)
at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnection
Factory.java:65)
at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.j
ava:131)
at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnec
tion(ManagedConnectionFactory.java:148)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
orAllocator.java:90)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
ource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
rce(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
onSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
anagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
pl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:286)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:121)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:118)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:89)
at MessageClient.main(MessageClient.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
7)
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Jun 8, 2006 12:40:26 PM com.sun.enterprise.connectors.ConnectionManagerImpl inte
rnalGetConnection
WARNING: RAR5117 : Failed to obtain/create connection. Reason : MQRA:MC:Constr:E
xception on cnxn creation-[C4060]: Login failed: user=admin, broker=itech-4:767
6(1339)
com.sun.messaging.jms.JMSException: MQRA:CFA:allocation failure:createConnection
:Error in allocating a connection. Cause: MQRA:MC:Constr:Exception on cnxn creat
ion-[C4060]: Login failed: user=admin, broker=itech-4:7676(1339)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:122)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:89)
at MessageClient.main(MessageClient.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
7)
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a
connection. Cause: MQRA:MC:Constr:Exception on cnxn creation-[C4060]: Login fai
led: user=admin, broker=itech-4:7676(1339)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:301)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:190)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnectio
n(ConnectionManagerImpl.java:121)
at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Co
nnectionFactoryAdapter.java:118)
... 9 more
Caused by: com.sun.enterprise.resource.PoolingException: MQRA:MC:Constr:Exceptio
n on cnxn creation-[C4060]: Login failed: user=admin, broker=itech-4:7676(1339)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(Connect
orAllocator.java:100)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedRes
ource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
rce(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
onSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
anagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
pl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnec
tion(ConnectionManagerImpl.java:286)
... 12 more
My MessageDrivenBean is:
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.MessageDrivenBean;
import javax.ejb.MessageDrivenContext;
import javax.ejb.CreateException;
import javax.naming.*;
import javax.jms.*;
public class MyMessageDrivenBean implements MessageDrivenBean, MessageListener {
private MessageDrivenContext mdc = null;
private Context context;
public MyMessageDrivenBean() { }
public void setMessageDrivenContext(MessageDrivenContext mdc){
this.mdc = mdc;
public void ejbCreate() { }
public void onMessage(Message msg){
try{
if(msg instanceof TextMessage) {
TextMessage txtMsg = (TextMessage) msg;
System.out.println("The Received Message is: "+txtMsg.getText());
} else {
System.out.println("Incorrect Message Type");
} catch(JMSException e){
e.printStackTrace();
public void ejbRemove() { }
My Client is:
import javax.jms.*;
import javax.naming.*;
import java.util.*;
public class MessageClient {
public static void main(String arg []) {
InitialContext ctx = null;
ConnectionFactory conFact = null;
Connection con = null;
Session ses = null;
Destination dest = null;
MessageProducer msgPrd = null;
TextMessage msg = null;
try {
ctx = new InitialContext();
} catch(NamingException e) {
e.printStackTrace();
try {
conFact = (ConnectionFactory) ctx.lookup("java:comp/env/jms/BankConnectionFactory");
dest = (javax.jms.Queue) ctx.lookup("java:comp/env/jms/BankPhysicalDest");
} catch(NamingException e) {
e.printStackTrace();
try {
con = conFact.createConnection();
ses = con.createSession(false, Session.AUTO_ACKNOWLEDGE);
msgPrd = ses.createProducer(dest);
msg = ses.createTextMessage();
msg.setText("This is first Message");
msgPrd.send(msg);
msg.setText("This is second Message");
msgPrd.send(msg);
} catch(JMSException e){
e.printStackTrace();
} catch(Exception e){
e.printStackTrace();
} finally{
if(con != null){
try{
con.close();
} catch(JMSException e){
e.printStackTrace();
} catch(Exception e){
e.printStackTrace();
My JMS CONNECTION FACTORY RESOURCES are:
1. CONNECTION FACTORIES
a. JNDI NAME: jms/QueueConnFactory
b. TYPE: javax.jms.QueueConnectionFactory
2. PHYSICAL DESTINATION
a. NAME: PhysicalQueue
3. DESTINATION RESOURCES
a. JNDI: jms/MessageQueue
b. TYPE: javax.jms.Queue
c. ADDITIONAL PROPERTIES � NAME: PhysicalQueue
My Message-Driven Bean Settings:
i. Destination Type: javax.jms.Queue
ii. Target Destination: PhysicalQueue
iii. Connection Factory JNDI Name: jms/QueueConnFactory
My MDBClient Settings are
a. Resource Refs
i. Coded Name: jms/BankConnectionFactory
ii. Type: javax.jms.ConnectionFactory
iii. Authentication: Container
iv. JNDI Name: jms/QueueConnFactory
v. User Name: admin
vi. Password: password
b. Msg Dest Refs
i. Coded Name: jms/BankPhysicalDest
ii. Destination Type: javax.jms.Queue
iii. Usage: ConsumesProduces
iv. Target Destination: PhysicalQueue
c. Message Destinations
i. Destination Name: PhysicalQueue
ii. JNDI Name: jms/MessageQueue
My MDBAppl settings
a. JNDI Name: jms/MessageQueue
b. References: jms/QueueConnFactory
My MDBJAR Settings
a. Message Destinations
i. Destination Name: PhysicalQueue
ii. JNDI Name: jms/MessageQueue
My MyMessageDrivenBean File Settings
a. Transactions: Container-Managed
b. Transaction Attribute: Required
and am RUNNING THE APPLICATION using
appclient -client MDBClient.jar
Pls help me to solve this problem
rgds
Ravi BharathiDefault username/password is admin/admin.
Since the auth-type is container do not provide any username/password in the client descriptor and try. -
Servlet configration on "Sun Java System Application Server Platform Editio
Hi Friends,
I'm using Sun Java System Application Server Platform Edition 9.0
my server is instatted on "C:\Sun\AppServer\" and rest is default istallation path
my web page is calling from "C:\Sun\AppServer\domains\domain1\docroot\" folder
I wrote a test servert and placed the complied class file in "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk\TestServlet.class" having following code
using the command
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>javac -cp C
:\Sun\AppServer\lib\j2ee.jar TestServlet.java
C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\classes\in\muk>
{noformat}<code>package in.muk;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
out.println("<html><head><title>TestServlet</title>");
out.println("\t<style>body { font-family: 'Lucida Grande', " +
"'Lucida Sans Unicode';font-size: 13px; }</style>");
out.println("</head><body><p>Current Date/Time: " + new Date().toString() + "</p>");
out.println("</body></html>");
out.close();
</code>{noformat}
The content of my "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\web.xml" file is
{noformat}<code><?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>in.muk.TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/TestServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
</code>{noformat}
The content of "C:\Sun\AppServer\domains\domain1\docroot\WEB-INF\sun-web.xml"
is -----
{noformat}<code><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app error-url="">
<class-loader delegate="true"/>
<jsp-config>
<property name="keepgenerated" value="true">
<description>Keep a copy of the generated servlet class' java code.</description>
</property>
</jsp-config>
</sun-web-app>
</code>{noformat}
The proble is I'm not able to call this servlet on web
with URL
http://localhost:8080/TestServlet
it is giving "HTTP Status 404 - "
Could you please help me in finding out where is the errorThanks for the reply.
I am using Sun Java System Application Server Platform Edition 8.2 (build b06-fcs). Could be some problem in the application itself. Can you suggest what may be missing? As suggested in the bug description i used the wscompile -infix option as well. -
Hi all
I am working on some RFID-related project. I need to capture, fiter and then perform some other tasks on the data sensed by RFID readers, all in Java. So I choose Sun's software. There was no luck when I was trying to configure my system to work with Sun's software. Hope you experienced could do me a favor and help me out. Thanks in advance. Here are details.
In the installation guide of Sun Java System RFID Software 3.0, it says, to install RFID information server, Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 and PostgreSQL 8.0.4 are needed.
For the following 2 reasons:
1 PostgreSQL 8.0.4 is now not available to download on www.postgresql.org;
2 I think later version of PostgreSQL or Sun Application Server should be compatible to their earlier versions
I tried the following combination other than those stated in the installation guide:
1 PostgreSQL 8.3;
2 Sun Java System Application Server 9.1_02, bound with Sun Java Application Platform SDK Update 5;
3 Sun Java System RFID Software 3.0
Then, the application server successfully communicates with PostgreSQL, demonstrated by "ping success" through the connection pool built in application server's admin console.
The RFID information server communicates successfully with PostgreSQL, demonstrated by deploying RFID information server database successfully in PostgreSQL.
But, instructed by the installation guide, when I tried to validate my RFID information server installation by typing "http://localhost:8080/epcis" in the browser, the application server reported "the resource is not available".
I looked into many other internet resources and instructions about this, but no luck at all. I am now really, really stuck. Hope you could do me this favor. Thanks.
PS:
1 PostgreSQL8.3 is available on http://www.postgresql.org/download/
2 Sun Java System Application Server is available on http://java.sun.com/javaee/downloads/index.jsp
3 Sun Java System RFID Software and the installation guide are available on https://sun-rfid.dev.java.net/SJS_RFID_Software.html
4 Operation System is Windows XPWould be a great idea to open-source the Sun RFID project, since the project is inactive over the last tree years.
Seems that this project have a great architecture, but the techonolgy is outdated ...
We have another open source initiave (google for Aspire RFID), but seems that this project still imature ...
Comercial options includes ALE Server, and Sendra Solutions (but I didn't evaluated these)
Mario Prado-Brazil -
SUN application server does not read from Derby database
Hello,
I have developed a simple web application in SUN Java Studio Creator 2, and deployed it to the SUN App server 8. It uses a database (PointBase) for some table lookups. It all works OK on my development system. When I try and run the same web application on Production (Sun Java System Application Server Platform Edition 9.0 (build b48)) , with the Derby database, I cannot get it to work. The application looks OK, all web pages get displayed correctly, but none of the fields and tables show any data from the database tables.
The "ping" command from the admin screen in the app server to the Derby connection pool is successful, and there are no error messages in any logs, it is just that the data from the tables does not get displayed on the web pages. Very strange.
At first I thought it was a database issue, so I ported the database to mySQL, but the problem was not fixed. In development the web application works OK, but on production the data in the tables do not get displayed.
Anyone has any ideas?
Thanks!!Are you able to access the data in the tables using standalone java client. ( java program through JDBC api )
Can you post the code snippet of getting connection ( URL, other db parameters) -
Sun Application Server - Trouble starting default server
Hi everyone.
I am new to J2EE and am currently trying to get the Sun Appliation Server to run, but am having difficulties.
I have installed version 1.4 of J2EE SDK.
Running Windows XP SP2.
When I run the program Start Default Server, it hangs for ages on the message "Starting Domain1, please wait" and finally after about a minute or so gives me an error message stating:
"Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1."
I have been told that it is very common to get problems with the port you choose for the JMS to be the same as somehting else on your PC. I have experimented with different port numbers (all of which not in current use - as indiated by netstat -a in the cmd window).
If anyone knows anything else I could try that would be great and much appreciated.
Cheers
Phill
Below is a listing of my server.log file...
Starting Sun Java System Application Server Platform Edition 8.0.0_01 (build b08-fcs) ...
[#|2004-11-22T21:11:05.125+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.4.2_04] from [Sun Microsystems Inc.]|#]
[#|2004-11-22T21:11:07.468+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0020:Following is the information about the JMX MBeanServer used:|#]
[#|2004-11-22T21:11:08.140+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2004-11-22T21:11:14.484+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|Creating virtual server server|#]
[#|2004-11-22T21:11:14.500+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|S1AS AVK Instrumentation disabled|#]
[#|2004-11-22T21:11:14.546+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2004-11-22T21:11:20.468+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [100]|#]
[#|2004-11-22T21:11:23.687+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Satisfying Optional Packages dependencies...|#]
[#|2004-11-22T21:11:24.453+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.resourceadapter|_ThreadID=10;|RAR7008 : Initialized monitoring registry and listeners|#]
[#|2004-11-22T21:11:25.515+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5100:Loading system apps|#]
[#|2004-11-22T21:11:26.671+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
[#|2004-11-22T21:11:27.859+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
[#|2004-11-22T21:11:27.859+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
[#|2004-11-22T21:11:27.968+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Tomcat.|#]
[#|2004-11-22T21:11:28.312+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [server] at [web1]|#]
[#|2004-11-22T21:11:28.656+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [server] at [asadmin]|#]
[#|2004-11-22T21:11:28.656+0000|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
[#|2004-11-22T21:11:28.656+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [server] at [com_sun_web_ui]|#]
[#|2004-11-22T21:11:28.671+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.startup.Embedded|_ThreadID=10;|Starting tomcat server|#]
[#|2004-11-22T21:11:28.671+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.startup.Embedded|_ThreadID=10;|Catalina naming disabled|#]
[#|2004-11-22T21:11:28.796+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server-PE-8.0|#]
[#|2004-11-22T21:11:33.031+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.catalina.startup.ContextConfig|_ThreadID=10;|Missing application web.xml, using defaults only StandardEngine[server].StandardHost[server].StandardContext[]|#]
[#|2004-11-22T21:11:34.796+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Initializing Coyote HTTP/1.1 on port 8080|#]
[#|2004-11-22T21:11:34.828+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Starting Coyote HTTP/1.1 on port 8080|#]
[#|2004-11-22T21:11:34.984+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Initializing Coyote HTTP/1.1 on port 1043|#]
[#|2004-11-22T21:11:34.984+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Starting Coyote HTTP/1.1 on port 1043|#]
[#|2004-11-22T21:11:35.015+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Initializing Coyote HTTP/1.1 on port 4848|#]
[#|2004-11-22T21:11:35.015+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Starting Coyote HTTP/1.1 on port 4848|#]
[#|2004-11-22T21:12:36.578+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5035: Timed out after 60000 milliseconds while trying to verify if the JMS service startup succeeded.|#]
[#|2004-11-22T21:12:36.578+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5037: Check permissions of MQ instance directory C:\Sun\AppServer\imq\var\instances|#]
[#|2004-11-22T21:12:36.578+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5036: More details may be available in the log file for the JMS service broker instance imqbroker. Please refer to the JMS provider documentation for the exact location of this log file.|#]
[#|2004-11-22T21:12:36.578+0000|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [127.0.0.1:7678]. - cause: java.net.ConnectException: Connection refused: connect
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:415)
at com.sun.enterprise.server.PEMain.run(PEMain.java:224)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [127.0.0.1:7678]. - cause: java.net.ConnectException: Connection refused: connect
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSConnectException(ExceptionHandler.java:233)
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:180)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:172)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:97)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:50)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:53)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:102)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(ConnectionInitiator.java:271)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:107)
at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:92)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:562)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1102)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1741)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:588)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:274)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:734)
at com.sun.enterprise.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:324)
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:384)
... 7 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:152)
... 25 more
|#]
[#|2004-11-22T21:12:36.578+0000|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]
[#|2004-11-22T21:12:36.578+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]
[#|2004-11-22T21:12:36.578+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0303: Stopping Tomcat.|#]
[#|2004-11-22T21:12:36.593+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Stoping http11 protocol on 8080 server:type=ThreadPool,name=http8080|#]
[#|2004-11-22T21:12:36.593+0000|SEVERE|sun-appserver-pe8.0.0_01|org.apache.tomcat.util.net.PoolTcpEndpoint|_ThreadID=10;|Caught exception trying to unlock accept on 8080 java.net.ConnectException: Connection refused: connect|#]
[#|2004-11-22T21:12:36.671+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Stoping http11 protocol on 1043 server:type=ThreadPool,name=http1043|#]
[#|2004-11-22T21:12:36.687+0000|SEVERE|sun-appserver-pe8.0.0_01|org.apache.tomcat.util.net.PoolTcpEndpoint|_ThreadID=10;|Caught exception trying to unlock accept on 1043 java.net.ConnectException: Connection refused: connect|#]
[#|2004-11-22T21:12:36.765+0000|INFO|sun-appserver-pe8.0.0_01|org.apache.coyote.http11.Http11Protocol|_ThreadID=10;|Stoping http11 protocol on 4848 server:type=ThreadPool,name=http4848|#]
[#|2004-11-22T21:12:36.781+0000|SEVERE|sun-appserver-pe8.0.0_01|org.apache.tomcat.util.net.PoolTcpEndpoint|_ThreadID=10;|Caught exception trying to unlock accept on 4848 java.net.ConnectException: Connection refused: connect|#]
[#|2004-11-22T21:12:36.953+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5051: Shutting down all J2EE applications ...|#]
[#|2004-11-22T21:12:36.953+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5122:EJB Timer Service shutdown at [2004/11/22 21:12:36]|#]
[#|2004-11-22T21:12:36.953+0000|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5052: Application shutdown complete.|#]
[#|2004-11-22T21:12:36.953+0000|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException: MQ startup failed :[C4003]: Error occurred on connection creation [127.0.0.1:7678]. - cause: java.net.ConnectException: Connection refused: connect
at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:364)
at com.sun.enterprise.jms.JmsProviderLifecycle.onShutdown(JmsProviderLifecycle.java:433)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:400)
at com.sun.enterprise.server.PEMain.run(PEMain.java:233)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
|#]
[#|2004-11-22T21:12:36.984+0000|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.core|_ThreadID=10;|Server stopped due to Server startup failure.|#]OK, here is the contents of log.txt from the imqbroker\log directory...
Tell me if you have a hard time decifering which date of this log corresponds to the date of the first log and I will clear both files and recreate it.
Thanks very much for your help, I am sure we will crack it!
Thanks again
Phill
# 1101144571937 Do not modify this line
[22/Nov/2004:17:29:31 GMT] [B1002]: An existing property file for imqbroker was not found, no stored properties will be loaded
[22/Nov/2004:17:29:31 GMT]
================================================================================
Sun Java(tm) System Message Queue
Sun Microsystems, Inc.
Version: 3.5 SP1 (Build 48-G)
Compile: Thu 01/29/2004
Copyright � 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.4.2_04 Sun Microsystems Inc. C:\Sun\AppServer\jdk\jre
[22/Nov/2004:17:29:32 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:17:29:32 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:17:29:32 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:17:29:32 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:17:29:32 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:17:29:32 GMT] Arguments: -name imqbroker -port 7676 -bgnd -silent
[22/Nov/2004:17:29:32 GMT] [B1004]: Starting the portmapper service using tcp [ 7676, 50, * ] with min threads 1 and max threads of 1
[22/Nov/2004:17:29:32 GMT] [B1060]: Loading persistent data...
[22/Nov/2004:17:29:32 GMT] Using built-in file-based persistent store: C:\Sun\AppServer\domains\domain1\imq\instances\imqbroker\
[22/Nov/2004:17:29:33 GMT] [B1136]: Processing stored transactions
[22/Nov/2004:17:29:33 GMT] [B1013]: Auto Creation of Queues is Enabled
[22/Nov/2004:17:29:33 GMT] [B1004]: Starting the jms service using tcp(host = *, port=0, mode=dedicated) with min threads 10 and max threads of 1000
[22/Nov/2004:17:29:33 GMT] [B1004]: Starting the admin service using tcp(host = *, port=0, mode=dedicated) with min threads 4 and max threads of 10
[22/Nov/2004:17:29:33 GMT] [B1039]: Broker "imqbroker@mono:7676" ready.
[22/Nov/2004:17:40:21 GMT] [B1047]: Shutting down broker...
[22/Nov/2004:17:40:21 GMT] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:17:40:21 GMT] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:17:40:21 GMT] [B1077]: Broadcast good-bye to all connections ...
[22/Nov/2004:17:40:21 GMT] [B1078]: Flushing good-bye messages ...
[22/Nov/2004:17:40:21 GMT] [B1063]: Done
[22/Nov/2004:17:40:21 GMT] [B1048]: Shutdown of broker complete.
jre
[22/Nov/2004:17:32:07 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:17:32:07 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:17:32:07 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:17:32:07 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:17:32:07 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:17:32:07 GMT] Arguments: -name imqbroker -port 7676 -bgnd -silent
[22/Nov/2004:17:32:07 GMT] ERROR Could not start the Broker's portmapper service on port 7676.
This port is already in use by another application -- possibly another
instance of the Broker. Please quit that other application, or use a
different port number for this instance of the Broker.
[22/Nov/2004:17:42:31 GMT]
================================================================================
Sun Java(tm) System Message Queue
Sun Microsystems, Inc.
Version: 3.5 SP1 (Build 48-G)
Compile: Thu 01/29/2004
Copyright � 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.4.2_04 Sun Microsystems Inc. C:\Sun\AppServer\jdk\jre
[22/Nov/2004:17:42:31 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:17:42:31 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:17:42:31 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:17:42:31 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:17:42:31 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:17:42:31 GMT] Arguments: -name imqbroker -port 7676 -bgnd -silent
[22/Nov/2004:17:42:31 GMT] [B1004]: Starting the portmapper service using tcp [ 7676, 50, * ] with min threads 1 and max threads of 1
[22/Nov/2004:17:42:31 GMT] [B1060]: Loading persistent data...
[22/Nov/2004:17:42:31 GMT] Using built-in file-based persistent store: C:\Sun\AppServer\domains\domain1\imq\instances\imqbroker\
[22/Nov/2004:17:42:32 GMT] [B1136]: Processing stored transactions
[22/Nov/2004:17:42:32 GMT] [B1013]: Auto Creation of Queues is Enabled
[22/Nov/2004:17:42:32 GMT] [B1004]: Starting the jms service using tcp(host = *, port=0, mode=dedicated) with min threads 10 and max threads of 1000
[22/Nov/2004:17:42:32 GMT] [B1004]: Starting the admin service using tcp(host = *, port=0, mode=dedicated) with min threads 4 and max threads of 10
[22/Nov/2004:17:42:32 GMT] [B1039]: Broker "imqbroker@mono:7676" ready.
[22/Nov/2004:19:26:20 GMT] [B1047]: Shutting down broker...
[22/Nov/2004:19:26:20 GMT] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:19:26:20 GMT] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:19:26:20 GMT] [B1077]: Broadcast good-bye to all connections ...
[22/Nov/2004:19:26:20 GMT] [B1078]: Flushing good-bye messages ...
[22/Nov/2004:19:26:20 GMT] [B1063]: Done
[22/Nov/2004:19:26:20 GMT] [B1048]: Shutdown of broker complete.
jre
[22/Nov/2004:19:12:30 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:19:12:30 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:19:12:30 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:19:12:30 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:19:12:30 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:19:12:30 GMT] Arguments: -name imqbroker -port 7676 -bgnd -silent
[22/Nov/2004:19:12:30 GMT] ERROR Could not start the Broker's portmapper service on port 7676.
This port is already in use by another application -- possibly another
instance of the Broker. Please quit that other application, or use a
different port number for this instance of the Broker.
[22/Nov/2004:19:15:43 GMT]
================================================================================
Sun Java(tm) System Message Queue
Sun Microsystems, Inc.
Version: 3.5 SP1 (Build 48-G)
Compile: Thu 01/29/2004
Copyright � 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.4.2_04 Sun Microsystems Inc. C:\Sun\AppServer\jdk\jre
[22/Nov/2004:19:15:43 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:19:15:43 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:19:15:43 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:19:15:43 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:19:15:43 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:19:15:43 GMT] Arguments: -name imqbroker -port 7678 -bgnd -silent
[22/Nov/2004:19:15:43 GMT] [B1004]: Starting the portmapper service using tcp [ 7678, 50, * ] with min threads 1 and max threads of 1
[22/Nov/2004:19:15:43 GMT] [B1060]: Loading persistent data...
[22/Nov/2004:19:15:43 GMT] Using built-in file-based persistent store: C:\Sun\AppServer\domains\domain1\imq\instances\imqbroker\
[22/Nov/2004:19:15:43 GMT] [B1136]: Processing stored transactions
[22/Nov/2004:19:15:43 GMT] [B1013]: Auto Creation of Queues is Enabled
[22/Nov/2004:19:15:44 GMT] [B1004]: Starting the jms service using tcp(host = *, port=0, mode=dedicated) with min threads 10 and max threads of 1000
[22/Nov/2004:19:15:44 GMT] [B1004]: Starting the admin service using tcp(host = *, port=0, mode=dedicated) with min threads 4 and max threads of 10
[22/Nov/2004:19:15:44 GMT] [B1039]: Broker "imqbroker@mono:7678" ready.
[22/Nov/2004:19:26:21 GMT] [B1047]: Shutting down broker...
[22/Nov/2004:19:26:21 GMT] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:19:26:21 GMT] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:19:26:21 GMT] [B1077]: Broadcast good-bye to all connections ...
[22/Nov/2004:19:26:21 GMT] [B1078]: Flushing good-bye messages ...
[22/Nov/2004:19:26:21 GMT] [B1063]: Done
[22/Nov/2004:19:26:21 GMT] [B1048]: Shutdown of broker complete.
jre
[22/Nov/2004:19:20:56 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:19:20:56 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:19:20:56 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:19:20:56 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:19:20:56 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:19:20:56 GMT] Arguments: -name imqbroker -port 7678 -bgnd -silent
[22/Nov/2004:19:20:56 GMT] ERROR Could not start the Broker's portmapper service on port 7678.
This port is already in use by another application -- possibly another
instance of the Broker. Please quit that other application, or use a
different port number for this instance of the Broker.
[22/Nov/2004:19:21:14 GMT]
================================================================================
Sun Java(tm) System Message Queue
Sun Microsystems, Inc.
Version: 3.5 SP1 (Build 48-G)
Compile: Thu 01/29/2004
Copyright � 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.4.2_04 Sun Microsystems Inc. C:\Sun\AppServer\jdk\jre
[22/Nov/2004:19:21:14 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:19:21:15 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:19:21:15 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:19:21:15 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:19:21:15 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:19:21:15 GMT] Arguments: -name imqbroker -port 7678 -bgnd -silent
[22/Nov/2004:19:21:15 GMT] ERROR Could not start the Broker's portmapper service on port 7678.
This port is already in use by another application -- possibly another
instance of the Broker. Please quit that other application, or use a
different port number for this instance of the Broker.
[22/Nov/2004:21:11:12 GMT]
================================================================================
Sun Java(tm) System Message Queue
Sun Microsystems, Inc.
Version: 3.5 SP1 (Build 48-G)
Compile: Thu 01/29/2004
Copyright � 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.4.2_04 Sun Microsystems Inc. C:\Sun\AppServer\jdk\jre
[22/Nov/2004:21:11:12 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:21:11:13 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:21:11:13 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:21:11:13 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:21:11:13 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:21:11:13 GMT] Arguments: -name imqbroker -port 7678 -bgnd -silent
[22/Nov/2004:21:11:13 GMT] [B1004]: Starting the portmapper service using tcp [ 7678, 50, * ] with min threads 1 and max threads of 1
[22/Nov/2004:21:11:13 GMT] [B1060]: Loading persistent data...
[22/Nov/2004:21:11:13 GMT] Using built-in file-based persistent store: C:\Sun\AppServer\domains\domain1\imq\instances\imqbroker\
[22/Nov/2004:21:11:14 GMT] [B1136]: Processing stored transactions
[22/Nov/2004:21:11:14 GMT] [B1013]: Auto Creation of Queues is Enabled
[22/Nov/2004:21:11:14 GMT] [B1004]: Starting the jms service using tcp(host = *, port=0, mode=dedicated) with min threads 10 and max threads of 1000
[22/Nov/2004:21:11:14 GMT] [B1004]: Starting the admin service using tcp(host = *, port=0, mode=dedicated) with min threads 4 and max threads of 10
[22/Nov/2004:21:11:14 GMT] [B1039]: Broker "imqbroker@mono:7678" ready.
[22/Nov/2004:21:24:10 GMT] [B1047]: Shutting down broker...
[22/Nov/2004:21:24:10 GMT] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:21:24:10 GMT] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:21:24:10 GMT] [B1077]: Broadcast good-bye to all connections ...
[22/Nov/2004:21:24:10 GMT] [B1078]: Flushing good-bye messages ...
[22/Nov/2004:21:24:11 GMT] [B1063]: Done
[22/Nov/2004:21:24:11 GMT] [B1048]: Shutdown of broker complete.
[22/Nov/2004:23:47:09 GMT]
================================================================================
Sun Java(tm) System Message Queue
Sun Microsystems, Inc.
Version: 3.5 SP1 (Build 48-G)
Compile: Thu 01/29/2004
Copyright � 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.4.2_04 Sun Microsystems Inc. C:\Sun\AppServer\jdk\jre
[22/Nov/2004:23:47:09 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[22/Nov/2004:23:47:09 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[22/Nov/2004:23:47:09 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[22/Nov/2004:23:47:09 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[22/Nov/2004:23:47:09 GMT] Java Heap Size: max=194432k, current=16256k
[22/Nov/2004:23:47:09 GMT] Arguments: -name imqbroker -port 7678 -bgnd -silent
[22/Nov/2004:23:47:10 GMT] [B1004]: Starting the portmapper service using tcp [ 7678, 50, * ] with min threads 1 and max threads of 1
[22/Nov/2004:23:47:10 GMT] [B1060]: Loading persistent data...
[22/Nov/2004:23:47:10 GMT] Using built-in file-based persistent store: C:\Sun\AppServer\domains\domain1\imq\instances\imqbroker\
[22/Nov/2004:23:47:10 GMT] [B1136]: Processing stored transactions
[22/Nov/2004:23:47:10 GMT] [B1013]: Auto Creation of Queues is Enabled
[22/Nov/2004:23:47:10 GMT] [B1004]: Starting the jms service using tcp(host = *, port=0, mode=dedicated) with min threads 10 and max threads of 1000
[22/Nov/2004:23:47:11 GMT] [B1004]: Starting the admin service using tcp(host = *, port=0, mode=dedicated) with min threads 4 and max threads of 10
[22/Nov/2004:23:47:11 GMT] [B1039]: Broker "imqbroker@mono:7678" ready.
[22/Nov/2004:23:56:18 GMT] [B1047]: Shutting down broker...
[22/Nov/2004:23:56:18 GMT] [B1007]: Stopping Service admin with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:23:56:18 GMT] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
[22/Nov/2004:23:56:18 GMT] [B1077]: Broadcast good-bye to all connections ...
[22/Nov/2004:23:56:18 GMT] [B1078]: Flushing good-bye messages ...
[22/Nov/2004:23:56:18 GMT] [B1063]: Done
[22/Nov/2004:23:56:18 GMT] [B1048]: Shutdown of broker complete.
[23/Nov/2004:00:19:36 GMT]
================================================================================
Sun Java(tm) System Message Queue
Sun Microsystems, Inc.
Version: 3.5 SP1 (Build 48-G)
Compile: Thu 01/29/2004
Copyright � 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This product includes code licensed from RSA Data Security.
================================================================================
Java Runtime: 1.4.2_04 Sun Microsystems Inc. C:\Sun\AppServer\jdk\jre
[23/Nov/2004:00:19:36 GMT] License: Sun Java(tm) System Message Queue 3.5 SP1 PE License.
[23/Nov/2004:00:19:36 GMT] IMQ_HOME=C:\Sun\AppServer\imq
[23/Nov/2004:00:19:36 GMT] IMQ_VARHOME=C:\Sun\AppServer\domains\domain1\imq
[23/Nov/2004:00:19:36 GMT] Windows XP 5.1 x86 mono (1 cpu) phill
[23/Nov/2004:00:19:36 GMT] Java Heap Size: max=194432k, current=16256k
[23/Nov/2004:00:19:36 GMT] Arguments: -name imqbroker -port 7678 -bgnd -silent
[23/Nov/2004:00:19:36 GMT] [B1004]: Starting the portmapper service using tcp [ 7678, 50, * ] with min threads 1 and max threads of 1
[23/Nov/2004:00:19:36 GMT] [B1060]: Loading persistent data...
[23/Nov/2004:00:19:36 GMT] Using built-in file-based persistent store: C:\Sun\AppServer\domains\domain1\imq\instances\imqbroker\
[23/Nov/2004:00:19:37 GMT] [B1136]: Processing stored transactions
[23/Nov/2004:00:19:37 GMT] [B1013]: Auto Creation of Queues is Enabled
[23/Nov/2004:00:19:37 GMT] [B1004]: Starting the jms service using tcp(host = *, port=0, mode=dedicated) with min threads 10 and max threads of 1000
[23/Nov/2004:00:19:37 GMT] [B1004]: Starting the admin service using tcp(host = *, port=0, mode=dedicated) with min threads 4 and max threads of 10
[23/Nov/2004:00:19:37 GMT] [B1039]: Broker "imqbroker@mono:7678" ready. -
Deploying ejb with Sun Application Server 8
I'm deploying a container-managed entity, my status & my problem is listed below:
Deploytool:
When I verify my entity, I see this error:
Error: Exception [ JDO74033: Cannot deploy application 'LibrarianApp' module 'ejb-jar-ic' with CMP beans: cmp-resource is not defined for this module. The minimum requirement for a cmp-resource is to specify the jndi-name of a jdbc-resource or a persistence-manager-factory-resource to be used with the beans. ] while initializing JDOCodeGenerator. Please check your descriptors and mapping files for consistency
Deploying has not any error but running the application has :
Caught an exception:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:170)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
in CMP Database of my entity, JNDI Name = jndi/MySQL
Sun Java System Application Server Platform Edition 8 Admin Console:
in JDBC Resource JNDI Name: jdbc/MySQL & Pool Name MySQL2
in Connection Pools > MYSQL2 > Data Source Class Name: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
Please Help Me. thxhi
I am working with Sun java application Server 8.
I can able to create application(*.ear),
(Enterprise Java Bean) bean component,
client application
Problem is, i am unable to provide JNDI name for client application
advice needed to provide JNDI name for the client applications
i dont know whats the use of pointbase/cloudscape
(As i am new to this sjaServer 8, i need your advice)
Response to the following mail id
[email protected]
Please do the favour
thank you
Maybe you are looking for
-
Hi, I just want to know if an Asset main number has been created and depreciation has also been posted on it and now if a sub number is to be created within the same main number system wont allow changing the depreciation start date. User requirement
-
PHP causes dreamweaver to crash
When I open a php page it will open fine but if I click any of the php code dreamweaver just freezes. I have turned off validation in preferences but still no help.
-
I am trying to sync songs from my husband's new shuffle from his old ipod. I do not want these songs to go in MY computer--I already have my own playlist. I don't know how to keep his songs separate from mine, using my computer.
-
Would 20 or more CC users have problems on the same LAN?
Sounds like a silly question but I just want to plan ahead. I'm planning on having around 20 CC users at my house for a creative get together and I wondered if we'd run into problems when we all connect to the web on the same private network and boot
-
Distiller does not work properly
I have Distiller for CS6. When open it, it flashes very fast then disappears from the monitor. What might cause the problem.?