Fedora core 6 sun app server won't start
Sun app server 8.2 bundled with creator 2u1 doesn't start. This install was running fine under fc5. Among other things I get the following with pe-start -reset which I think might be the crust of the problem:
"Unable to read system environment. No system environment will be used."
Any help appreciated.
Exported projects to nb5.5 with visual-web pack and after fixing datasources and libraries things are working again. Could not find a solution for Creator2 on Fedora Core 6. Thanks anyway.
Similar Messages
-
Hello,
I've got Sun One Studio and I can't start the Application Server. I have created a domain like this int the command prompt :
asadmin> create-domain path /global/appserver adminport=4848 adminuser xxx adminpassword xxx scdomain
Domain scdomain successfully
But when I start the server, I've got a message :
Le service Sun App Server 7 Admin Server (domain1:admin-server) d�marre.....
Le service Sun App Server 7 Admin Server (domain1:admin-server) n'a pas pu �tre
lanc�.
Le service n'a pas signal� d'erreur.
Vous obtiendrez une aide suppl�mentaire en entrant NET HELPMSG 3534.
C:\Sun\jstudio\AppServer7\domains\domain1\admin-server\bin>net helpmsg 3534
Le service n'a pas signal� d'erreur.
In english, it is said that the server can't have been started. And there isn't any error ...
Whith Sun Studio one, I've got this message :
Could not start the instance
server failed to start: abnormal subprocess termination
Can somenone help me please ?
Thanks in advance.OK thanks caseylou. The server.log file contains that :
[12/Oct/2004:14:29:02] INFO ( 2612): CORE1116: Sun ONE Application Server
[12/Oct/2004:14:29:03] FATAL ( 2612): CORE4005: Internal error: unable to create JVM
[12/Oct/2004:14:29:03] SEVERE ( 2612): CORE4009: Failed to load JVM (check your JRE)
[12/Oct/2004:14:29:03] SEVERE ( 2612): CORE3187: Late initialization failed: Error running init function(late) init-j2ee: unknown error
Sorry, I have created two topics in the forum (J2SE and J2EE) because on the J2SE I have been recommended this forum.
Maybe it is better to continue on the first topic ?
http://forum.java.sun.com/thread.jsp?forum=17&thread=561619&tstart=0&trange=15
Sorry for "flooding". -
J2EE app server won't start on Windows XP Pro
Greetings --
I have been trying to get the J2EE SDK up and
running on my Portable computer but have been
unable to get the application server up and
running. Whenever I try to run it using
j2ee -verbose
I get
Error executing J2EE server ...
(I have included the entire error output below).
If anyone has encountered this problem and has
a fix -- I'd most appreciate it!
Thanks in advance!
NN
Relevent information follows...
******* MY ENVIRONMENT VARIABLES *********
I have set the following environment variables:
1. JAVA_HOME (set to the J2SE installation directory)
2. J2EE_HOME (set to J2EE installation directory)
3. PATH (set to include JAVA_HOME\bin and
J2EE_HOME\bin).
******* MY SYSTEM INFO *********
The following is my OS and system info:
OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 1 Build 2600
Processor(s): 1 Processor(s) Installed.
[01]: x86 Family 15 Model
2 Stepping 7 GenuineIntel
~ 997 Mhz
Total Physical
Memory: 511 MB
******* j2ee -verbose ERROR OUTPUT *********
C:\myjava>j2ee -verbose
No local string for j2ee.listenPort
J2EE server listen port: 1050
No local string for j2ee.naming
Naming service started: 1050
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for idle_resource_threshold_error
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
java.lang.ClassNotFoundException: com.pointbase.xa.xaDataSource
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at com.sun.enterprise.repository.JdbcXAResource.createDataSource(JdbcXAR
esource.java:65)
at com.sun.enterprise.resource.ResourceInstaller.installJdbcXADataSource
s(ResourceInstaller.java:458)
at com.sun.enterprise.resource.ResourceInstaller.installJdbcDataSources(
ResourceInstaller.java:349)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:264)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
No local string for poolmgr.datasourceerror
Error in creating data source object
No local string for jms.start
Starting JMS service...
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for jms.start.failed
Couldn't start JMS service...
javax.jms.JMSException: unable to locate resource bundle: com.sun.jms.service.Lo
calStrings
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:91)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:169)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:268)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
javax.jms.JMSException: unable to locate resource bundle: com.sun.jms.service.Lo
calStrings
at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.jav
a:91)
at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:169)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:268)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException: unable to locate resource bundle: com.sun.jms.servic
e.LocalStrings
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
J2EE server reported the following error: unable to locate resource bundle: com.
sun.jms.service.LocalStrings
Error executing J2EE server ...
java.lang.NoClassDefFoundError: COM/cloudscape/core/AbstractDataSource
at com.sun.jms.service.JMSServiceImpl.stop(JMSServiceImpl.java:1334)
at com.sun.jms.service.JMSServiceImpl.stop(JMSServiceImpl.java:1313)
at com.sun.jms.service.JMSServiceImpl$1.run(JMSServiceImpl.java:107)
C:\myjava>I found the answer (thanks to Aaron Walsh) to this so I'll go ahead answer my own question for posterity (just in case someone else with the same problem stumbles across this post). The problem was that I had copied the j2ee.jar file to JAVA_HOME\jre\lib\ext. Evidently, it was this jar that the Reference Implementation was using and likely it could not find resource files relative to that context.
BOTTOM LINE: DON'T COPY j2ee.jar TO THE EXTENSIONS DIRECTORY OF YOUR JAVA RUNTIME.
Cheers,
NN -
SUN WEB SERVER WON'T START AFTER CHANGING JVM & CLASSPATH
hi all,
i have a sunfire 280r box running solaris 8 which i installed with sun web server 6.0 sp11.
the default java is
root@smartvideo1 # java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)
but this is what i need for my java classes
root@smartvideo1 # /usr/j2se/bin/java -version
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
root@smartvideo1 #
i set the JVM & CLASSPATH settings to /usr/j2se and rebooted the hardware.
now, when i try to start the web server, i get the ff:
[08/Apr/2008:03:23:29] info ( 835): iPlanet-WebServer-Enterprise/6.0SP11 B12/15/2006 03:03
[08/Apr/2008:03:23:29] failure ( 835): Configuration initialization failed: Error running init function load-modules: dlopen of /usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so failed (ld.so.1: ns-httpd: fatal: libjvm.so: open failed: No such file or directory)
would appreciate any help.
thanks :)hi mv,
tried your suggestion of installing sun webserver7 but i got an error, something like "can't use sparcv9.so" (too bad i didn't copy the entire error before uninstalling). may have something to do with patches for solaris8. unfortunately, i don't have access to the patches since my support for the hardware ended many years ago.
was able to get 108434-18 but not 108435-18 which needs an active support account.
Apr 13, 2008 7:32:55 PM com.sun.web.installer.common.dialogs.CustomDirectorySelectionPanel is
DisplayComplete
INFO: Installing Sun Java System Web Server 7.0U2
Apr 13, 2008 7:32:55 PM com.sun.web.installer.web.dialogs.PatchDetectionListener displayWarni
ng
INFO: The following patches need to be installed for the server installation to complete succ
essfully.
Patches to be installed: [108435-18]
Edited by: r3.062167 on Apr 13, 2008 5:16 AM -
Oracle10g on Fedora Core 3 - Universal Installer Won't Start
With all users, environment settings, and files configured as specified, I am attempting to run the Oracle Universal Installer for Oracle10g on Fedora Core 3. Every time I do this I get a series of messages and the installer is never run - please help! The messages are shown below.
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-02-24_12-53-02PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-02-24_12-53-02PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:278)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:714)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:112)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:772)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
I have downloaded and installed the Java Runtime Environment from the Sun website, since I thought this could be the problem, but that didn't help. Any further thoughts...?
Thanks!Last week I installed the 10g (10.0.0.3) on Fedora Core 3 and the oracle instance is up running. ( I just installed Fedora Core 3 with CDs). There is the document I used http://www.puschitz.com/InstallingOracle10g.shtml.
===============================================
Fedora Core release 3 (Heidelberg)
Kernel 2.6.9-1.667 on an i686
login: oracle
Password:
Last login: Mon Feb 28 00:29:53 from home
[oracle@linuxdb ~]$ sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Mon Feb 28 00:31:12 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect system
Enter password:
Connected.
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Prod
PL/SQL Release 10.1.0.3.0 - Production
CORE 10.1.0.3.0 Production
TNS for Linux: Version 10.1.0.3.0 - Production
NLSRTL Version 10.1.0.3.0 - Production
SQL> -
Sun App Server 8.1 and 8.2 could not start
Hi friends, thank for various suggestions. pls i'm having problem with Sun App Server 8.1 and 8.2. I installed Portal 7 on Red Hat Enterprise Linux 3 and also Sun Portal 6 on Suse Linux 9. The problem is that App server keep giving Login exception after using them for a while. The details is given below:
after typing ./asadmin start-domain --user admin domain1. Instead of it to give me the password prompt, it threw the following exception:
INFO: SEC5046: Audit: Authentication refused for [admin]
Login Failed javax.security. auth.login.LoginException: Failed file for login admin
CL1156 could not start the domain domain1.
I always login to the O/S as root.
Any suggestion will be highly appreciated. ThanksThanks very much kedar.mhaswade for your suggestions.
I do not have a regular access to the Internet, I
would have gotten back earlier than this, so i'm
sorry. Anyway, i checked the content of
~/.asadminprefs and the password is not the same with
the one i'm using. I found the default password
supplied by Sun but I don't think this could be the
problem. I'm actually using the App server that is
bundled with Sun Portal 6 and 7 and so i supplied my
own password during installation and i've logged in
several times after installation. It just failed in
one of those logins and had stopped working since. I
always encountered the same problem either when using
Sun Portal 7 or 6 on Red Hat ES 3 and Suse 9
respectively.
I'm posting the content of admin-keyfile as you
requested:
admin;{SSHA}Qf/m4KEBDPojsP1mkjywE5XZA6SPh7i8WQmV/A==;a
sadmin
# Domain User and Password - Do Not Delete Entry
Above
So i will so much appreciate your help and i wouldn't
mind if you could send me your phone number. Thanks.Hi tolulike,
Even if you supplied your own password, we have this developer friendly
feature that has side effects that are at times hard to diagnose. Can you
please
- rename the .asadminprefs file and make sure that there is no .asadminprefs file in your home directory?
- attempt to start the domain.
You should be prompted for the password.
The idea is that when you've got that file and that entry AS_ADMIN_PASSWORD in your home directory, asadmin will read it
from there and you land in this (unfortunate) situation.
Obviously doing this might have some side effects with other domains. This
is because for all domains, asadmin reads this file as a last resort. So,
it might so happen that this file is actually required for functioning of your
other domains.
But now you know when this file is used, so there is no mystery (hopefully).
Let me know if this works.
Thank you.
Kedar -
Integrating Sun App Server with WebSphere MQ
Hi,
I am using Sun App server V8.1 . I also have a websphere MQ v5.3 installed in my system. I want to integrate this MQ with the App server.
I created a queueManager and a Queue in MQ and using the JMSAdmin console of the Mq, i created jndi lookup resources using INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
In the application server side, i created a Resource adapter using the command:
create-resource-adapter-config --property SupportsXA=true:ProviderIntegrationMode=jndi:RMPolicy=OnePerPhysicalConnection:JndiProperties=java.naming.factory.url.pkgs\\=com.ibm.mq.jms.naming,java.naming.factory.initial\\=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url\\=file\\:D\\:\\MQ:LogLevel=finest mqra
Then i deployed this resource adaptor using the command :
deploy name mqra target server "D:\Sun\AppServer\lib\addons\resourceadapters\genericjmsra\genericra.rar"
Using this resource adapter i created a connection pool, connector resource and an admin object using the commands
create-connector-connection-pool raname mqra connectiondefinition javax.jms.QueueConnectionFactory transactionsupport XATransaction property ConnectionFactoryJndiName=MQQCF mymqpool
create-connector-resource --poolname mymqpool jms/MyMqQCF
create-admin-object raname mqra restype javax.jms.Queue --property DestinationJndiName=RTQueue jms/MyMqQueue
After that, i wrote a java code to lookup these resources and put a message into the queue.
This is the snippet of my java code
InitialContext ic = new InitialContext();
QueueConnectionFactory cnxFact = (QueueConnectionFactory)ic.lookup("jms/MyMqQCF");
Queue qu = (Queue)ic.lookup("jms/MyMqQueue");
try {
QueueConnection qConn = cnxFact.createQueueConnection();
QueueSession qSess = qConn.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
QueueSender qSend = qSess.createSender(qu);
TextMessage msg = qSess.createTextMessage();
msg.setText("1");
qSend.send(msg);
qConn.close();
I am getting an exception in the line, QueueConnection qConn = cnxFact.createQueueConnection();
here is the stack trace
java.lang.ClassCastException: com.ibm.mq.jms.MQQueueConnectionFactory
at com.sun.genericra.outbound.ManagedQueueConnectionFactory.createXAConnection(ManagedQueueConnectionFactory.java:45)
at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createPhysicalConnection(AbstractManagedConnectionFactory.java:127)
at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createManagedConnection(AbstractManagedConnectionFactory.java:111)
at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorAllocator.java:90)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedResource(IASNonSharedResourcePool.java:437)
at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:355)
at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:250)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:213)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:174)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:286)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:145)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:121)
at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:69)
at com.sun.genericra.outbound.ConnectionFactory.createQueueConnection(ConnectionFactory.java:101)
Can anybody help???bump
update:
So to avoid this problem I added spring.jar to the server classpath. that got rid of this message but then it started complaining that its missing struts2 core jar..i added that in server classpath as well...I did same for 4 other files and in the end it said 'bean for xwork has already been initialized' (because all these jars are in the application as well).
So I am stuck. if I add all jars to server classpath..it says beans have already been initialized. If I take out the jars from server classpath then it says that stuff is missing (eg. contextLoader.properties missing - orig post)
again, all this goes away when I restart the server..so i am just trying to avoid having to restart server every code change. -
App Server Fails to Start after Installation
Hi,
I've spent a whole day struggling with this, looking through forum discussions and trying out every single suggestion I've come across in the forums. I'm running out of ideas now and really appreciate any help I can get with this problem.
I'm trying to install SJSC2 (also tried with SJSC2u1 with the same outcome) on a new HP notebook (nw9440) running WinXP_sp2. I'm using the default installation done by HP.
My installation path is C:\Java\SunCreator2 (C:\Java\SunCreator2_1 for update 1).
After the installation the App server fails to start up and gives the below error in the server.log.
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d779c9d, pid=5368, tid=5760
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# V [jvm.dll+0x99c9d]
# An error report file with more information is saved as hs_err_pid5368.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
Upon looking at the install.log in the rave_home directory, I noticed the below sequence of errors.
Timeout waiting for domain creator to go to starting state.
Compiler warnings:
line 44: Attribute 'debug-options' outside of element.
line 62: Attribute 'port' outside of element.
line 73: Attribute 'port' outside of element.
line 84: Attribute 'port' outside of element.
line 105: Attribute 'port' outside of element.
line 116: Attribute 'port' outside of element.
line 127: Attribute 'port' outside of element.
line 145: Attribute 'port' outside of element.
line 156: Attribute 'port' outside of element.
CLI156 Could not start the domain creator.
The following script has unexpected output: "C:\Creator2\bin\deploy-ws.bat"
Aug 14, 2006 11:27:33 PM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
Aug 14, 2006 11:27:35 PM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
Aug 14, 2006 11:27:37 PM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
The following script has unexpected output: "C:\Creator2\bin\deploy-ejbs.bat"
Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI137 Command create-jdbc-connection-pool failed.
CLI137 Command create-jdbc-resource failed.
CLI137 Command create-jdbc-connection-pool failed.
CLI137 Command create-jdbc-resource failed.
Aug 14, 2006 11:27:52 PM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
Aug 14, 2006 11:27:53 PM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
Aug 14, 2006 11:27:55 PM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
Aug 14, 2006 11:27:57 PM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
I've tried every workaround I've seen in the forums such as installing under different paths (both with spaces and without spaces), cleaning all the temporary files in the Temp directory, renaming the productregistry in the windows system directory. Each time I get the exact same error in the install.log.
I also tried installing the stand alone SUN App Server 8.1_02_2005Q2 as well as 8.2. I don't seem to have any issue with this installation or running of the stand alone server at all on the same machine.
Really appreciate any help I can get. TIA....
rgds,
KCHi,
After spending more time looking through the forum, I came across the below thread which has worked in my case (though it was suggested for Sol10x86).
http://forum.sun.com/jive/thread.jspa?threadID=62404&messageID=243113
This is the workaround that worked in my case.
> $ cd <Creator_Home>/SunAppServer8/lib
$ mv processLauncher.xml processLauncher.xml.trayIcon
$ cp processLauncher.xml.bak processLauncher.xml
# If you have a domains/creator/config/domain.xml
$ cd ../bin
$ ./asadmin start-domain creator
This started the app server. After that I was able to start and stop app server within the JSC as well.
Only difference between these two xml files seem to be,
processLauncher.xml.trayicon
<main_class classname="com.sun.rave.tray.RavePEMain"/>
processLauncher.xml
<main_class classname="com.sun.enterprise.server.PEMain"/>
Possibly pointing to a bug in the "com.sun.rave.tray.RavePEMain" class.
Thanks for your suggestions guys... and especially to Marco and Greg.
Rgds,
Kc
Message was edited by:
Kc -
After Setting Up SSO Managed Server Won't Start
I am using the Oracle supplied white paper to set up SSO using Active Directory. Following those instructions everything was working and testing correctly until I added the NegotiateIdentityAsserter provider to the list of WLS providers. Now the managed server won't start. The admin server starts without any errors and goes to the RUNNING state. But the Start BI Services command window gets to the wls.alive: prompt and hangs. And hangs. Eventually the window goes away and it may throw an error but I've never seen it. You can login to the WLS console and EM without a problem. Remove the new provider and everything comes up normally. I have looked at the krb5.ini and krb5login.conf files and even rewritten them from scratch without any change in behavior.
While looking for answers I ran into the SPNEGOCheck webapp that Oracle makes available to diagnose problems. It says everything is OK until it parses the krb5login.conf and then complains that the Username associated with SPN in AD is blank and so doesn't match the SPN specified in the krblogin config. But I can't see anything wrong in the files themselves.
from the log:
In section 'libdefaults'
LSA: Found Ticket
LSA: Made NewWeakGlobalRef
LSA: Found PrincipalName
LSA: Made NewWeakGlobalRef
LSA: Found DerValue
LSA: Made NewWeakGlobalRef
LSA: Found EncryptionKey
LSA: Made NewWeakGlobalRef
LSA: Found TicketFlags
LSA: Made NewWeakGlobalRef
LSA: Found KerberosTime
LSA: Made NewWeakGlobalRef
LSA: Found String
LSA: Made NewWeakGlobalRef
LSA: Found DerValue constructor
LSA: Found Ticket constructor
LSA: Found PrincipalName constructor
LSA: Found EncryptionKey constructor
LSA: Found TicketFlags constructor
LSA: Found KerberosTime constructor
LSA: Finished OnLoad processing
Config name: C:\Windows\krb5.ini
KdcAccessibility: reset
KdcAccessibility: reset
Reachable? true
Connection seems to have succeeded.
Parsing section contents 'com.sun.security.jgss.krb5.accept { com.sun.security.auth.module.Krb5LoginModule required principal="[email protected]" keyTab=biwhse1a.keytab useKeyTab=true storeKey=true debug=true;};'
Section name: 'com.sun.security.jgss.krb5.accept'
Getting next NV pair beginning at 'principal="[email protected]" keyTab=biwhse1a.keytab useKeyTab=true storeKey=true debug=true'
NVPair name: 'principal' value: '[email protected]'
NVPair name: 'keyTab' value: 'biwhse1a.keytab'
NVPair name: 'useKeyTab' value: 'true'
NVPair name: 'storeKey' value: 'true'
Got back 4 name/value pairs.
section com.sun.security.jgss.krb5.accept should probably contain a setting for debug=true
Section com.sun.security.jgss.krb5.accept seems OK
The krb5.ini file:
[libdefaults]
default_realm = SRS1.COM
default_tkt_enctypes = des-cbc-crc
default_tgs_enctypes = des-cbc-crc
ticket_lifetime = 600
[realms]
SRS1.COM = {
kdc = 129.58.120.200
admin_server = adc01.srs1.com
default_domain = SRS1.COM
[domain_realm]
.srs1.com = SRS1.COM
[appdefaults]
autologin = true
forward = true
forwardable = true
encrypt = true
The krb5login.conf file:
com.sun.security.jgss.krb5.accept {
com.sun.security.auth.module.Krb5LoginModule required
principal="[email protected]"
keyTab=biwhse1a.keytab
useKeyTab=true
storeKey=true
debug=true;
[D:\] setspn -L bi_kerb_prin
Registered ServicePrincipalNames for CN=bi_kerb_prin,OU=Non-Person Users,OU=WRC Users,DC=srs1,DC=com:
HTTP/biwhse1a.srs1.com
HTTP/biwhse1a
[D:\]
OBIEE 11.1.1.6.2 BP2
Windows Server 2008 SP1Did you try -Djava.security.krb5.conf=<path>/krb5.conf before the %EXTRA_JAVA_PROPERTIES%. in your C:\OBI\user_projects\domains\bifoundation_domain\bin\setDomainEnv.cmd .?
Also change your JAAS config file and try with
com.sun.security.jgss.krb5.initiate {
com.sun.security.auth.module.Krb5LoginModule required
principal="HTTP/[email protected]"
keyTab=biwhse1a.keytab
useKeyTab=true
storeKey=true
debug=true;
com.sun.security.jgss.krb5.accept {
com.sun.security.auth.module.Krb5LoginModule required
principal="HTTP/[email protected]"
keyTab=biwhse1a.keytab
useKeyTab=true
storeKey=true
debug=true;
Now restart and see.
Hope this helps. Pls mark if it does.
Thanks,
SVS
Edited by: SSVS on Mar 17, 2013 11:47 PM -
Sun app server problem using asadmin tool
I have installed sun app server and trying to do the simplemessage tutorial. When I run the
ant create-cfcommand I get the following
[exec] Invalid user or password
[exec] CLI137 Command create-jms-resource failed.I have put an echo line in app-server-ant.xml to see what the command is and it is.
[echo] c:/Sun2/SDK/bin/asadmin.bat create-jms-resource --user admin --passwordfile C:/Sun2/SDK/javaee-5-doc-tutorial-1.0_03/javaeetutorial5/examples/common/admin-password.txt --host localhost --port 4850 --restype javax.jms.ConnectionFactory --enabled=true jms/ConnectionFactoryI have checked the password file and it is
AS_ADMIN_PASSWORD=adminadminAny ideas?
I have checked around about using parameter password but when running this I get an error saying this is not valid and that I should use passwordfile
KelvinYou haven;t specified the exceptions you r getting ........while starting your default server.
if u r getting exception about InetClass then connect your system with LAN/Internet then your problem will be solved becoz i m using same location address as you specified, space doesn't matter at all - i think so, it is running fine........ -
Exceptions trying to run JSF on Sun App Server
Hi!
I have downloaded the Sun App Server and am trying to run the JSF Sample on it. The first page comes up fine, and when I enter data, it processes but does not come back with the response. I get the following errors:
java.lang.ClassNotFoundException: com.sun.faces.application.StateManagerImpl$TreeNode
java.lang.ClassNotFoundException: com.sun.faces.application.WebappLifecycleListener
java.lang.IllegalStateException: No FacesContext is available to process this request.
Not sure if this is the right forum..
ThanksMake sure you started the default server. Try
http://localhost:8080. This will allow you to see if the appserver is running. The first page is a jsp an will run regardless of if the server is running. To start the defaul server look at you windows menu under Sun Microsystems. -
"Message Driven Bean" doesn't work with Sun App Server
Hello all,
i have a little bit problems, running a simple "Message Driven Bean" under the Sun App Server. The deployment of it works fine, but after starting the SUN App Server i get the following error message:
An error occurred during the message-driven beancontainer initialization at runtime. The most common cause for this is that the physical resource(e.g. Queue) from which the message-driven bean is consuming either does not exist or has been configured incorrectly. Another common error is that the message-driven bean implementation class does not correctly implement the required javax.ejb.MessageBean or MessageListener interfaces.
Has anybody a workaround for this problem?
The queue seems to be correctly installed. A simple client programm from the Sun Tutorial (Consumer & Producer) works fine without any Errors or Exceptions.
I am a little bit confused, because the queue seems to work with the client programms but not with a MDB running on the SUN App Server.
Thanks for you help!
Greetings
ManuelHello Mr Manuel!
could you plz help me with the steps for creating a message driven bean using netbeans ver 5.0(with Sun Java� System Application Server Platform Edition 8.2 )
I just know how to work with Session beans & Entity Bean, and am try to learn to work on Message Driven Beans too. there are no proper tutorials where i can find steps for creating these..
I need the steps from the scratch.,like creating QueueConnection Factory & Destination etc..
It will be gr8 if you can help me with this at the earliest .
Thank you
Bye -
Wrong JRE Runtime Lib Path on Win2K--Admin Server Won't Start
Running Sun One Web Server 6.0 SP6 on a Windows 2000 server, I inadvertently entered a typo in the iPlanet Administration Server's Global Settings, "Configure JRE/JDK Paths" link.
In the "JRE Runtime Lib Path" field I typed "jjk1.3.1_03" instead of "jdk1.3.1_03". Now the Sun One web server won't start, so I can't go into the Administrative Server to fix the Jre Runtime Lib Path. I havent' been able to find any file where I can change that erroneous setting either. Is it a Registry entry?
I also tried adding the correct JRE Runtime Lib Path at the end of the Windows PATH environment variable on the server, but that didn't help.Yes we checked the Registry settings and fixed the typo in the path associated with the key NSES_JRE_RUNTIME_LIBPATH. That should have fixed the problem, but the Sun One web server still wouldn't start.
Moved to plan B and removed then reinstalled the Sun One web server. Now it starts and all is well.
Thanks for helping everyone. This also raised the issue for us of whether or not we are entitled to individual support from Sun since we paid for the Sun One web server. According to the web site, the answer is NO - unless we pay $3,000 for a support contract. Other vendors who recommended using Sun One with their products say YES. We're still tracking that down. -
Installing sun apps server 7 on redhat 7.3
Firstly I have redhat 9 so can I install the sunapps server 7 on redhat 9 ?
secondly
can I install sun apps server 7 on atleast redhat 7.3?
the document with sun apps says that I can install sun apps server 7 on 7.2
regards
MishraHey Paul,
I'm having problems just installing SUN ONE AS Standard Edition 7.0 on my Redhat 7.2 as ROOT. Did you not get any problems even starting it. It installed okay, but when I initially ran the script to start it (./asadmin start-appserv)... it kept crapping out. I did notice some JMS errors in the log, but I haven't come across any documentation on possible bugs. Thanks in advance,
Tak. -
Sun app server 8.1 vs 8.2 for jsf 1.1
Currently we have download sun studio creator 2 which comes with sun app server 8.1 as its default server. We want to make our default server in studio creator 2 as app server 8.2, since our production environment is running on 8.2.
Any help will be appreciated.I experienced this error on an application (not jsf), but it was something silly in the end. There may be a bug with JSF in 8.1 but I would just check the obvious before you start delving into the depths of the code.
Are you calling the app with http://localhost/AppA and the posting to http://svr03/AppA ?
Set the web.xml file to point to an HTTP file (leave everything else as is) what happens?
Simon
Maybe you are looking for
-
Additional field in the sales order header Purchase Order Data tab
Hi, I want to add an additional field in the below screen: VAO1 > Go to > Header > Purchase Order Data > Under Sold to party section i want to add an additional field. Is this possible through configuration? Please let me know. Thanks in advance Edit
-
PI 7.1 initial setup problem
Hi, While installing PI 7.1 I started the Netweaver initial setup. At step 338 i got an error message as follows: "Error: ABAP technical system 'PI7 on nwpi71' not found" Any idea how to I can solve this problem.
-
Incomplete query, filtering with a null field
Hi Experts, Very new in the forum and SAPB1 in general and very week in SQL queries. I have the below query SELECT T0.[ItemCode], T1.[ItemName],T0.[U_PKGS],T0.[U_InvNo], T0.[U_File_Number],T0.[LotNumber] AS Garden,T0.[U_Sale_Number],T0.[CreateDate],
-
Replicate event for several dates?
Hi, I'm using the default calendar application in my Nokia E51. Is there a way to copy an event over several days? For example: "Conference 9-17" on Monday-Friday? If I select starting date and finish date - the whole days get booked, not only 9-17 e
-
What's the correct eclipse version shall I use for gyrex 1.3.2?
Hi, I am a new one for Gyrex. And I have followed the wiki page to setup the Gyrex develop environment, but I failed. Some bundles cannot be resolved due to the imcomplete dependencies. Such as: org.eclipse.equinox.registry Missing Constraint: Import