Integrate p6SPY with Sun Java System Application Server 7 ...?
Dear PALs,
Let me know how can I Integrate p6SPY (w3.p6spy.com) with "Sun Java System Application Server 7 2004Q2" on Windows ?
When I try to follow the steps given at http://www.p6spy.com/documentation/install.htm#unspec ,my server throws
INFO ( 1820): JMS5035: Timed out after 30000 milliseconds while trying to verify if the JMS service startup succeeded.
INFO ( 1820): JMS5036: More details may be available in the log file for the JMS service broker instance domain1_server1. Please refer to the JMS provider documentation for the exact location of this log file.
[27/Dec/2004:18:37:35] SEVERE ( 1820): JMS5024: JMS service startup failed.
[27/Dec/2004:18:37:35] SEVERE ( 1820): CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [NARAYANA:7676]. - cause: java.net.ConnectException: Connection refused: connect
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:224)
at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
Caused by: com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [NARAYANA:7676]. - cause: java.net.ConnectException: Connection refused: connect
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:231)
... 2 more
expecting sagacious reply......
thanks,
SIMPLEbnm
Hi,
You can set the p6SPY on Sun Java System Application Server as follows.
Create a connection pool using Admin Console, please don't specify any database vendor. Then use the following properties.
Data Source Class Name : com.p6spy.engine.spy.P6DataSource
Resource Type : javax.sql.DataSource
and then provide the following property.
user, password and url. Make sure you add the p6spy.jar and properties file to the classpath.
Try to ping the connection pool, and it should work.
Similar Messages
-
ColdFusion compatibility with Sun Java System Application Server
Background: A vendor that is doing a project for our
department told us that ColdFusion MX 6.1 is not compatible with
Sun Java System Application Server Enterprise Edition 8.1 and
beyond. Since we are migrating our server environment to this
release of Sun Java System Application Server Enterprise Edition,
we face a difficult situation in that our ColdFusion applications
will no longer run. Thus, we would like Adobe to answer a couple
questions which will help us determine what course of action we
ought to take.
Q: Will applications we developed using ColdFusion MX 6.1 run
on Sun Java System Application Server Enterprise Edition 8.1? Below
is a detailed description of the Sun Java System Application Server
Enterprise Edition we intend to migrate to.
Q: Is Adobe aware of any compatibility issues with this
configuration?
Q: What is Adobe's support commitment regarding future
releases of ColdFusion MX and Sun Java System Application Server
Enterprise Edition? Does Adobe intend to continue support this
environment?
Configuration: Sun Java System Application Server Enterprise
Edition 8.1_02 (build b24-p11)
Below is the specification levels for the 8.1 server
(J2EE1.4), note it can use J2SE 1.4.2_06 or 5.0 as the JAVA
runtime.
J2EE 1.4 compatible
Components: J2SE 1.4.2_06 or J2SE 5.0
Application and Application Client
Enterprise JavaBeans (EJB) 2.1
Java Servlet 2.4
JavaServer Pages(JSP) 2.0
J2EE Connector Architecture 1.5
JMX 1.2
JMS 1.1
Java Naming and Directory Interface (JNDI) 1.2
and Java Transaction API (JTA) 1.0
Web Services:Java Web Services Developer Pack 1.5
Java APIs for XML Registries (JAXR) 1.0
Java API for XML-based Remote Procedure Calls (JAX-RPC) 1.1
SOAP With Attachments API for Java (SAAJ) 1.2
WS-I Basic Profile 1.0
Other:J2EE Deployment 1.1
J2EE Management 1.0
Java API for XML Processing (JAXP) 1.2
JavaMail 1.3
Java Authentication and Authorization Service (JAAS) 1.0
Java Authorization Contract for Containers (JACC) 1.0First of all, is there a reason why you are using jRockit?
Since the issue appeared after upgrading the windows, the issue would potentially be in the interaction between JVM and OS.
Also, there were some issues related to memory leak that were fixed in AS 8.2.
May be you should try with a Sun JVM and AS 8.2. -
Solaris 10 Install - with Sun Java System Application Server (8.2)
Hi guys:
What is the reason for Solaris 10 to be installed with the Sun Java System Application Server (8.2). It is a really old version and gets in the way when I install GlassFish 2.1.1
How does on avoid getting it in the install, and how does Sun stop adding it to the distribution?
Thanks
LeonidHi guys:
What is the reason for Solaris 10 to be installed with the Sun Java System Application Server (8.2). It is a really old version and gets in the way when I install GlassFish 2.1.1
How does on avoid getting it in the install, and how does Sun stop adding it to the distribution?
Thanks
Leonid -
Apache,IIS integration with Sun Java System Application Server
Hi,
Is any one know the way to connect Sun Appserver with IIS and Apace server.
Edited by: shiju707 on Oct 10, 2007 8:22 PMI'm also looking at the same solution of how to configure IIS as the front end for the Sun Java System Application Server 9.1. I went though the following document from Sun, but still unable to configure the IIS as the front end of the application server.
http://docs.sun.com/app/docs/doc/819-3679/abdhq?a=view
After i have configured the IIS, the ISAPI filter shown the status down for the Sun Load balancer plugin.
Did anyone have any idea of how can i configure IIS to working the Sun Java System Application Server 9.1? -
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. -
How can I run a servlet with Sun Java System Application Server PE 8?
I've created a package with a TestServlet.class inside, used the deploytool to create a WAR and deployed this using the autodeploy folder.
The filestructure has been generated and I find the TestServlet.class in
[installdir]\domains\domain1\applications\j2ee-modules\testProject\WEB-INF\classes\[packagefolderstructure]\TestServlet.class.
The context root is working fine, but I have no clue how I can run the servlet directly via the URL.
I've tried many things like
http://localhost:8080/testProject/TestServlet
http://localhost:8080/testProject/servlet/TestServlet
http://localhost:8080/testProject/servlet/[packagenamewithpoints]TestServlet
http://localhost:8080/testProject/servlet/[packagenamewithslashes]TestServlet
etc etc
Can somebody tell me please how to write URLs to deployed servlets? Or send me an example url and xml descriptor files?
Thanks a lot in advance!in web.xml use servlet mapping
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/doit</url-pattern>
</servlet-mapping>then use http://localhost:8080/testProject/doit -
Configuration of Sun Java System Application Server PE 8.2
Hello,
I want to start learning Enterprise JavaBean with Sun Java System Application Server PE 8.2. Pls, can any person let me know how to set the CLASSPATH.
Again, I would be happy if I'm introduced to the site where I can learn how to use it.
ThanksSJSAS PE 8.1
http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-21-119173-18-1 -
Regarding Sun Java System Application Server Issue with JVM
Regarding Sun Java System Application Server Issue with JVM
Hi
I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
PWC6199: Generated servlet error:
[javac] javac: invalid target release: 1.5
[javac] Usage: javac
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath Specify where to find user class files
[javac] -sourcepath Specify where to find input source files
[javac] -bootclasspath Override location of bootstrap class files
[javac] -extdirs Override location of installed extensions
[javac] -d Specify where to place generated class files
[javac] -encoding Specify character encoding used by source files
[javac] -source Provide source compatibility with specified release
[javac] -target Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
I have cheked jvm version on both system the only difference is :
Solaris points to jdk 1.5.0_09
Windows point to jdk1.5.0_05
Even i tried to run blank jsp also but again i got the same error.
Can any help me to sort out the problem or give me any idea so i can do something by my own.
Thanks in Advance
GaganDo you have ANT installed and available?
Thanks,
Kedar -
How to configure Sun Java System Application Server Enterprise Edition 8.1
hi all,
How to configure Sun Java System Application Server Enterprise Edition 8.1 to my IDE..( jstudio)
I have installed jes for my windows system.. so that i have removed platform version of Application Server..
I try to add the Enterprise application Server (Sun Java System Application Server Enterprise Edition 8.1) to JStudio IDE..
but i couldn't;Configuring your IDE to integrate with Sun App Server is something you probably will have to ask in some sort of JStudio forum. Other than for Netbeans, Eclipse, or possibly IntelliJ IDEA, you might not have much luck answering an IDE question here. I could be wrong though. Maybe somebody will have an answer for you and set me straight.
-
Problem in starting Sun Java System Application Server
Hi,
Recently I installed SJSAS 8.1 on my machine (Windoes 2000), before that I was working on SJSAS8.0 and it was working file. But with 8.1 when I try to "Start Default Server". I get the following error on the console:
Starting Domain domain1, please wait.
Log redirected to D:\netbeans-4.1beta\SunAppServer8.1\domains\domain1\logs\server.log.
Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1.
Press any key to continue . . .
The contents of server.log are:
[#|2005-03-29T15:07:14.242+0530|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
D:/Java/jdk1.5\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/logs/server.log
-Djava.endorsed.dirs=D:/netbeans-4.1beta/SunAppServer8.1/lib/endorsed
-Djava.security.policy=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/server.policy
-Djava.security.auth.login.config=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=D:/Java/jdk1.5/jre/lib/ext;D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-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.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-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=D:/netbeans-4.1beta/SunAppServer8.1/config
-Djava.library.path=D:\Java\jdk1.5\jre\bin\client;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\Java\jdk1.5\bin;.;D:\WINNT\system32;D:\WINNT;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;D:\Java\jdk1.5\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
D:/Java/jdk1.5/lib/tools.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/appserv-rt.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\activation.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\admin-cli.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-admin.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-cmp.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-ext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-jstl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-rt1.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-upgrade.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-launcher.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-logging.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\dom.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee-svc.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jax-qname.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote_optional.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\mail.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\relaxngDatatype.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\rmissl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xalan.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xercesImpl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xsdlib.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/install/applications/jmsra/imqjmsra.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/jaxm-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/fscontext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/ant/lib/ant.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbclient.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
*** EXITING ERROR:
Can't create Java VM
I guess I have searched every possible discussion/bug database/forums on this topic but unable to find a solution, please help.
Regards
NitinReply please.
Thanks in advance.
amyt -
How to install Sun Java System Application Server PE 9 in debian
Hi,
I have ubuntu installed on my system. I wanted to install the Sun Java System Application Server PE 9 on it. I didn't see any debian package for it on Sun's downloads. I downloaded the linux version and tried to install it. I got the following result...
root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
This application needs version 1.5 or higher of the Java(TM) 2 Runtime
Environment. If the required Java(TM) 2 Runtime Environment is not installed,
you can download it from the following website:
http://java.sun.com/j2se
Or if you already have the required Java(TM) 2 Runtime Environment
installed, try rerunning this application with the following usage:
'java_ee_sdk-5-linux.bin' -javahome <Java(TM) installation directory>
root@vineet:/usr/src# ./java_ee_sdk-5-linux.bin -javahome /usr/lib/j2re1.5-sun
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Launching Java(TM) 2 Runtime Environment...
Error: There are no files requiring installation.
Deleting temporary files...
Any suggestions will be highly appreciated.
Thanks,
VineetHi,
I have ubuntu installed on my system. I wanted to
install the Sun Java System Application Server PE 9
on it. I didn't see any debian package for it on
Sun's downloads. I downloaded the linux version and
tried to install it. I got the following result...
root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Error: Could not find the required version of the
Java(TM) 2 Runtime Environment.
This application needs version 1.5 or higher of the
Java(TM) 2 Runtime
Environment. If the required Java(TM) 2 Runtime
Environment is not installed,
you can download it from the following website:
http://java.sun.com/j2se
f you already have the required Java(TM) 2 Runtime
Environment
installed, try rerunning this application with the
following usage:
'java_ee_sdk-5-linux.bin' -javahome <Java(TM)
installation directory>
oot@vineet:/usr/src# ./java_ee_sdk-5-linux.bin
-javahome /usr/lib/j2re1.5-sun
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Launching Java(TM) 2 Runtime Environment...
Error: There are no files requiring installation.
Deleting temporary files...
Any suggestions will be highly appreciated.
Thanks,
VineetDo you have java 5 sdk on your machine (Or at the very least java 5 re) ?
Have you tried the command that they gave ? -
Sun Java System Application Server into Netbean 6.1
Hi , I am new to Java community,
I like to lean J2EE so I downloaded
jdk-1_5_0_16-windows-i586-p and installed
then I installed
java-tools-bundle-update5-windows
I am trying to do the initial setup and do the sample
The Java EE 5 Tutorial
See this tutorial for information on building and deploying Java EE 5 applications.
When I try to register the Sun Java System Application Server into Netbean 6.1
I could not I have warning, says
Provide a valid server installation location
But I gave, C:\Sun\AppServer
If you guys can give any light on this appreciatedIt doesn't sound like you have installed a Java EE (formerly J2EE) application server. Your download of "jdk-1_5_0_16-windows-i586-p" is Java Standard Edition, which you need, but you also need an implementation of Java Enterprise Edition. The [Sun Java System Application Server|http://developers.sun.com/appserver/] is certainly a valid Java EE implementation, but I don't see in your steps where you downloaded that. There are several types of NetBeans downloads ("bundles") you can perform and I believe that one or more bundles (such as "All" and "Web & Java EE") includes GlassFish as part of the download. I recommend using the GlassFish Java EE implementation that comes with NetBeans 6.1 for learning how to use Java EE with NetBeans. Alternatively, you can download GlassFish separately at [https://glassfish.dev.java.net/|https://glassfish.dev.java.net/].
-
Sun Java System Application Server could not start
Hi
I have installed JDK1.5 Update1 + netbeans 5.5 with the JBOSS bundle and added the Sun Java System Application Server 9.1.02.
I am creating the EJB-JMS application described at
http://www.netbeans.org/kb/55/ejb30.html
All the steps are followed properly, but while running the project i get the error
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
D:\MyNBProjects\EJBAPP1\nbproject\build-impl.xml:183: Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
See the server log for details.
BUILD FAILED (total time: 5 minutes 3 seconds)Hi Roman,
Sorry for the long wait....
In the mean time I have downloaded NB6.1 (final Release) and JDK 1.6.0_04,added the sjsas-9_1_02 to NB6.1, all are in D:\javak (where previous setup of NB5.5 and jdk1.5 and SJSAS-9_1_02 is AS IS in D:\java)
Current Scenario:
Product Version: NetBeans IDE 6.1 (Build 200805300101)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: D:\Documents and Settings\kedar\.netbeans\6.1
Now, when i try to Run the SAME code i get the following error:
Created dir: D:\ProjectsNB\EJBAPP1\dist
Building jar: D:\ProjectsNB\EJBAPP1\dist\EJBAPP1.ear
post-dist:
dist:
pre-run-deploy:
Initial deploying EJBAPP1 to D:\ProjectsNB\EJBAPP1\dist\gfdeploy
Error during incremental deploy: java.lang.NullPointerException
Start registering the project's server resources
Finished registering server resources
java.lang.NullPointerException
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.getFileArchive(DirectoryDeploymentFacility.java:264)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:168)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
java.lang.IllegalStateException: cannot find FileArchive class...
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Deployment error:
cannot find FileArchive class...
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: java.lang.IllegalStateException: cannot find FileArchive class...
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:194)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
... 16 more
Caused by: java.lang.IllegalStateException: cannot find FileArchive class...
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
... 20 more
BUILD FAILED (total time: 9 seconds)
Thanks,
Kedar. -
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 -
SOAP on Sun Java System Application Server 9
I am running the Sun Java System Application Server 9 (SJSAS). My goal is to have SOAP running on the server to handle incoming messages. I cannot find the answers to the following critical questions anywhere.
1. Should I be creating my own soap client/server with the javax.xml.soap package, using some utility that might come bundled with SJSAS that I don't know about, or using something like Apache AXIS?
2. Whatever I use, how should it be deployed to the application server? AXIS comes as a bunch of jar files, but to deploy a web service to SJSAS requires a war. Instructions for other application servers for using AXIS seem not to apply for SJSAS for this reason.
3. After I get the server installed, how do I actually connect that to any of the rest of the code on my server. For instance, would I put the actual business logic to query the persistence layer in a stateless session bean and then somehow reference the methods in that bean to compose the return message to go to the client?
If anybody knows of or is willing to create a tutorial to achieve this goal on SJSAS and has a place to post it, that would probably be a great contribution to the information available online. If I am missing such a tutorial, I apologize and would be glad to have it pointed out to me. Any assistance with actually deploying soap for SJSAS would be tremendously helpful. There is a lot of why to use it, when to use it, what the spec is, and so on online. There is precious little how to use it and even less how to deploy it. Thank you for any help.
Ryanthe sun java system application server 8 and 9 comes with certutil and pk12util (http://www.mozilla.org/projects/security/pki/nss/tools/pk12util.html) programes. using them you can import them
or check on google how to conver pk12 certs to NSS format.
another option is to open the certificate in Internet explorer and save to cer format and then convert.
Maybe you are looking for
-
Design Concern for XI Scenario!
Hi All, Do you have any design solutions for following scenarios with respect to BPM,Adapaters and sync/async flow: 1. JSP - > XI---->DB 2. JSP<--->SAPR/3<->XI<--->DB 3. DB-->XI->JSP 4. JSP<->XI<--->DB Appreciated your time! Will get you reward! Tha
-
Screen Sharing (video resolution?)
I have tried Screen Sharing both to a bigger monitor and a smaller one. Sharing to a smaller monitor seems problematic because the mouse becomes hyper sensitive. It's near impossible controlling the mouse. Sharing to a bigger monitor the mouse works
-
Enterprise Manager 10g Access Without DB Login
Hello All -- I am working on a large EBS implementation and we are running Enterprise Manager 10g Grid Control. I would like to be able to see database performance through EM, but there is a problem (isn't there always.) 1. EM monitoring like this re
-
Oracle Text Search of HTML Text region
I am using Oracle Text as a search tool in my application. It will search text that is in my Oracle tables, but I would also like it to be able to search APEX regions, such as 'HTML Text' regions. For example, I have a title in a HTML Text region. Is
-
Applications do not appear in Azure Active Directory console
Hello, In the past couple of days I've been experiencing some issues regarding the "Applications" section in the AAD console. Normally, the list of Applications will include all my registered apps and additional applications that my organization uses