Start Oracle Application Server in Debug mode
We have oracle application server 10g with oc4j. How do we configure App server to start in debug mode so remote debugging from different machine can be done.
I am new Oracle Application Sever. OC4j is java container and it starts automatical when ORacleAServer starts.
Thanks,
MS
MadanShah, how did you start Oracle Application server? Let us say, you start it with opmnctl. In order to do java remote debugging with the oc4j process inside the OAS, you have to add the java remote debugging option to the "java-options" in the $ORACLE_HOME/opmn/config/opmn.xml.
<ias-component id="OC4J">
<process-type id="home" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5050 -Xrs -server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true"/>
</category>
The "-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5050" is what I added. After starting OAS, you can connect to the oc4j process by selecting port 5050 using a java remote debugger that is included in any major IDE, like Jdeveloper. For more information, search for "remote debug" in the online help of Jdeveloper.
Similar Messages
-
Starting SOA Suite server in debug mode
Hello,
anyone knows how to start soa suite server on debug mode?
it basically oc4j server started from opmn. is there anyway i can pass the "-ojvm -XXdebug,port4000,detached,quiet" to opmn?
Rudisolved..!!!
http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/sysprops.htm#CHDCFADJ -
Can not Start Oracle Application Server ORB process
I have just installed Oracle Application Server (OAS) on my
machine running Windows NT 4.0 Workstation. When I logon to the
OAS manager and tried to start ORB, I got below error message:
Please wait while the command is being processed on host ssoh_x
YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
Starting ORB processes...Returning filename D:
\orant\orb\admin\.event
waiting for ORB to be ready...
YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
ORB is not responding. Please restart manually...
I have tried to re-install OAS for the second time. But I still
got the same problem.
I plan to use the OAS, together with Oracle Internet Commerce
Server (ICS) to develop an e-commerce project. I am yet to
download and install the ICS. I don't have any Oracle databases
installed in my machine. I'm using MS SQL Server 7.0 instead.
Please advised me on how to configure the ORB so that I'll be
able to start the application server.
nullHi,
Sock Hoon (guest) wrote:
: I have just installed Oracle Application Server (OAS) on my
: machine running Windows NT 4.0 Workstation. When I logon to the
OAS don't run on Win NT with installed service pack 4.
Go back to service pack 3 or apply patch from Developer 6.0 to
OAS.
: OAS manager and tried to start ORB, I got below error message:
: Please wait while the command is being processed on host ssoh_x
: YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
: Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
: Starting ORB processes...Returning filename D:
: \orant\orb\admin\.event
: waiting for ORB to be ready...
: YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
: Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
: ORB is not responding. Please restart manually...
: I have tried to re-install OAS for the second time. But I still
: got the same problem.
: I plan to use the OAS, together with Oracle Internet Commerce
: Server (ICS) to develop an e-commerce project. I am yet to
: download and install the ICS. I don't have any Oracle databases
: installed in my machine. I'm using MS SQL Server 7.0 instead.
: Please advised me on how to configure the ORB so that I'll be
: able to start the application server.
Best regards Andrew
null -
Error starting Oracle Application server
Hi I installed Oracle application server 10g. I successfully installed it. But when i stopped the opmn and emctl process and now when i am trying to start i am able to successfully start but when i type the URL of OAS Admin console. I get following error:
500 Internal Server Error
java.lang.NoClassDefFoundError: oracle/sysman/eml/app/Console at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2283) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:568)
Can any one please help me resolve this issue at the earliest?Hi,
Now I'm just thinking with U because error 500 can be result of different reasons. I think (I'm not sure)at this situation it has to do with java version.
AIX 5.3 has java version 1.4.2. .
Would U like to go $ORACLE_HOME\jdk\jre\bin\ then just type ./java -full version or java version.
Which result U 'll get.
also type in which java
moreover can U give me the output of the env command.
the last step before U start any as process just do the following
ps -ef | grep (owner of your as)
if U 'll find any process just kill it kill -15 process id if it does not help then hard kill with -9
try to set your environement variable well then start your opmn components again per-process to see which process is going wrong.
Let me know,
Regards
Hamdy -
Starting Oracle Application Server as a particular user under windows
Hi All,
I am wondering if there is any way of starting the Oracle Application Server with a users default operating system environment variables set.
The reason I ask this, is that we have deployed a webapp which contains a piece of software which needs to be run on the command line for generating reports using the reports 6i client (rwcli60). We have had issues with this in regards to the application not finding a proper service under Oracle Application Server.
Our company then had to revert going back to a Apache/Tomcat setting and deploying the same web app on the tomcat server. Originally we were getting the same error. As a consequence we decided to change the user who runs tomcat as the same user who runs the oracle reports 6i server. This worked.
Also of note is that when this was done, the tomcat server has ALL the environment settings as the os user. This can easily be seen by using the Runtime.exec("cmd /c set") command and printing its outputs. However executing the same command withan Oracle App Server results in a dramatically reduced environment to the logged in user who started the app server.
Any help would be most helpful.
Cheers
RodneyHi All,
From much research and experimenting to get this to work I looked at the java.lang.Runtime class and noticed that seperate processes can be started using this very important Java class.
The first thing that I experimented with was in regards to seeing the environment OC4J runs against. Using the java.lang.Runtime class I executed a standard "cmd /c set" command in my Windows environment, and noticed that Oracle Application Server uses its own environment and not a standard windows login environment for its OC4J containers. Apache Tomcat on the other hand uses the standard user login environment.
So to get the application to be able to work properly we needed to override the particular environment the process needed to be able to get it to work. There is a exec command which allows you to override completely the environment for a process you would like to run. This method call does not in any way shape or form change the standard OC4J environment. This was done by executing the same "set" but with the overriden environment. Note that no environment variables from the OC4J container are carried into this new environment.
Cheers
Rodney -
Starting Oracle Application Server
I've installed OAS 408 on an NT box running service pack 5. When I go to the server manager page I select "All" and then select the start button. I get the following. Any ideas about the "BADFRAME"?
Thanks!
Please wait while the command is being processed on host ...
Starting ORB process...
waiting for ORB to be ready...
The command completed successfully on host pionex.
oassrv: Starting wrb service 0
ConfigProvider Server accepting requests...
oassrv: Starting wrb service 1
Log Server is accepting requests now...
oassrv: Starting wrb service 2
PANIC: YS::ERROR::BADFRAME in oassrv at line 66 of m:\ntoasopt072599\ows\srchome\ys\src\ys\yse.c
abnormal program termination
OWS-08820: Unable to start oassrv process 'oassrv'.
Initialization Failure- Exiting OAS...
Execute STOP of all the OAS Processes from the OAS Manager
nullWhile installing OAS 4081, did you follow the work around given in 'Release Notes for Oracle Application Server 4.0.8.1' published in www.olab.com.
We also had similar problems. After following the procedure given in the release notes, we were able to start all processes.
null -
Unable to start Oracle Application Server processes
I am having the same problem that a number of people have
mentioned concerning ORA-20214 Unable to start OAS processes ...
The problem seems related to Windows NT 4.0 SP4. One developer
mentioned a specific Oracle Bug #768386 that had something to do
with the yt40.dll. Does anyone know how I can get this patch?
Has anyone gotten OAS to work on SP4 without this patch? Thanks
for any assistance you can provide.
nullDear James, Anirudh,
Right now I have installed this two syned version.
Oracle Application Server SOA suite 10.1.3.1.0
JDev 10.1.3.1.0
Problem is, I have deployed complete Application server, But I am receiving the following errors.
*No OC4J process up for AS instance identified by domain:
opmn-orabpel+oc4j-anne-8888-default*
1. Actually i gave instance name as --> orabpel
username as --> oc4jadmin
password --> welcome1
But when I trying to connect server with mentioned instance name, I am not able to connect. Is there any specification to set instance name in SOA suite 10.1.3.1.0. Also please suggest how to start my Application server.
2. My doubt is while creating Application server connection from JDEV what we have to select
1. Standalone OC4J 10g 10.1.3
2. Oracle Application Server 10g 10.1.3
3. From the beginning itself my application server status was down. I cant able to understand the under laying issues.
Please suggest me..
Thanks,
Rajesh -
How to start Oracle Application Server 10g on Linux
Hi,
I have installed the Oracle Appliacion server and Infrastructure server on Linux. Both I have installed under with Diff. folder
Can some one please tell me how to start / stop Appliacion server and Infrastructure server on Linux
We are going to use the these with Oracle EBS 11.5.10.2 .
Oracle EBS 11.5.10.2 installed in the same Linux server under diff. folder
Can some one please guide me.
Thanks,You can do as rizla said or go another route.
We setup profiles to use for all of the oracle homes. Then in the scripts we call the profiles. Easier to migrate and manage in my opinion if you have multiple oracle homes. You can then use profiles when ssh'd into the boxes, too. Both ways will work.
Example:
Script which you can chkconfig.
#!/bin/sh
# oracle_collabInfra
# This shell script takes care of starting and stopping Oracle Collab Infra instance.
#chkconfig: 345 96 14
# Source function library.
. /etc/rc.d/init.d/functions
RETVAL=0
start () {
echo $"Starting Collab Suite on the Infra instance..."
echo $"Starting Listener..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl start"
sleep 10
echo $"Starting Metadata Repository..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
startup;
exit;
sleep 10
echo $"Starting Enterprise Manager Application Server Control..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl start iasconsole"
sleep 5
echo $"Starting Infra OID and OC4J_Security processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OID"
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OC4J_Security"
echo $"Starting Infra HTTP_Server processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=HTTP_Server"
return $RETVAL
stop () {
echo $"Stopping Collab Suite on the Infra instance..."
echo $"Stopping all Infra OPMN managed processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl stopall"
sleep 5
echo $"Stopping Enterprise Manager Application Server Control..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl stop iasconsole"
sleep 10
echo $"Stopping Metadata Repository..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
shutdown immediate;
exit;
sleep 10
echo $"Stopping Listener..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl stop"
return $RETVAL
restart () {
stop
start
RETVAL=$?
return $RETVAL
# See how we were called.
case "$1" in
start)
start
stop)
stop
restart)
restart
echo $"Usage: $0 {start|stop|restart}"
RETVAL=1
esac
exit $RETVAL
profile:
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/collabInfra
export ORACLE_SID=orcl
export TMP=/tmp
export TMPDIR=/tmp
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/kerberos/bin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/backup_restore
unset USERNAME -
OIM error while starting Oracle Application server 10133
getting an error and when i start OracleAppServer10133 and whn http://localhost:7777/xlWebApp was hit on browser its giving the system error
and the log is
ERROR,08 Dec 2009 15:32:53,776,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUtilityFactory/getPropertyValue encounter some problems: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.lookupHome(Unknown Source)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.getHome(Unknown Source)
at Thor.API.tcUtilityFactory.getUnauthenticatedOperations(Unknown Source)
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at com.thortech.xl.webclient.actions.tcWebAppSettingsAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
at tjspIndex.jspService(_tjspIndex.java:111)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.AuthenticationException: Not authorized
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:99)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:287)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
... 40 more
ERROR,08 Dec 2009 15:32:53,795,[XELLERATE.WEBAPP],Class/Method: tcWebAppSettingsAction/execute encounter some problems: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized
Thor.API.Exceptions.tcAPIException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at com.thortech.xl.webclient.actions.tcWebAppSettingsAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
at tjspIndex.jspService(_tjspIndex.java:111)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
ERROR,08 Dec 2009 15:35:00,097,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUtilityFactory/tcUtilityFactory(Hashtable env, tcSignatureMessage poUserIDMessage) encounter some problems: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
com.thortech.xl.security.tcLoginException: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
at Thor.API.Security.LoginHandler.oracleLoginHandler.handleOracleClientLogin(Unknown Source)
at Thor.API.Security.LoginHandler.oracleLoginHandler.login(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
ERROR,08 Dec 2009 15:35:00,097,[XELLERATE.SERVER],Class/Method: QuartzWrapper/execute encounter some problems: com.thortech.xl.security.tcLoginException: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
Thor.API.Exceptions.tcAPIException: com.thortech.xl.security.tcLoginException: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)Seem that is a problem in starting DB instance phase, specificly for DBMS instance (you need to check detailed DB starting log in run directory).
For Run Directory, check this link:
http://www.sapdb.org/7.4/htmhelp/ff/2d823b572b844ee10000000a11402f/frameset.htm
For DB Log Files:
http://www.sapdb.org/7.4/htmhelp/9c/2d04073493af41844be62f15d252f3/content.htm
Is a Local SAP System? -
Start weblogic server in debug mode through command prompt
Hi,
Please help me in starting the weblogic server in debug mode through command prompt.I am using weblogic 10.3.6 app server.
ThanksHi,
To debug weblogic startup issues you can pass the below jvm arguments:
-Dweblogic.slc=true
-Dweblogic.debug.DebugServerLifeCycle=true
Debug options are available in weblogic based on the subsystem, such as security, jms, jdbc, deployment..etc
You can refer to :
https://blogs.oracle.com/vijaya/entry/weblogic_web_service_debug_flags
Thanks,
Sharmela -
Oracle Application Server-Unable to start "WebCache" process.
Hello,
Using "Oracle Application Server" 10g. Right Now, I am getting below error while starting oracle application server by using below commands.
./opmnctl startall ( To start entire oracle service modules)
./opmnctl startproc process-type=WebCache
Both commands giving below error.
./opmnctl startproc process-type=WebCache
opmnctl: starting opmn managed processes...
================================================================================
opmn id=warlock3:6200
0 of 1 processes started.
ias-instance id=ias_admin.warlock3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
WebCache/WebCache/WebCache
Error
--> Process (pid=250340)
failed to start a managed process after the maximum retry limit
Log:
/oracle/ora10gas/opmn/logs/WebCache~WebCache~1
Also, WebCache event log is showing below message.
[28/Sep/2010:13:23:30 -0530] [notification 9610] [ecid: -] The server is exiting.
[28/Sep/2010:13:23:30 -0530] [alert 9000] [ecid: -] Process 250338 exit(1) at 890:main.c [Build 10.1.2.0.2 050802]
[28/Sep/2010:13:23:32 -0530] [notification 9612] [ecid: -] OracleAS Web Cache 10g (10.1.2), Build 10.1.2.0.2 050802
[28/Sep/2010:13:23:32 -0530] [notification 9403] [ecid: -] Maximum number of file/socket descriptors set to 900.
[28/Sep/2010:13:23:32 -0530] [notification 13002] [ecid: -] Maximum allowed incoming connections are 700
[28/Sep/2010:13:23:32 -0530] [alert 13305] [ecid: -] Failed to assign port 7777: Address already in use
[28/Sep/2010:13:23:32 -0530] [alert 9707] [ecid: -] Failed to start the server.
[28/Sep/2010:13:23:32 -0530] [alert 9609] [ecid: -] The server process could not initialize.
[28/Sep/2010:13:23:32 -0530] [notification 9610] [ecid: -] The server is exiting.
[28/Sep/2010:13:23:32 -0530] [alert 9000] [ecid: -] Process 250340 exit(1) at 890:main.c [Build 10.1.2.0.2 050802]
Kindly let me know how to solve this issue.
Regards,
Nishith N.Vyas.Hi,
I have not experience with Oracle Names resolution, but did you start the server "NAMESCTL> START" ? (I'm not sure)
On the client, the SQLNET.ORA file contains an entry that lists onames first in the NAMES.DIRECTORY_PATH parameter ?
e.g.: NAMES.DIRECTORY_PATH=(onames, tnsnames, hostname)
There are some messages on the listener.log file ?
Cheers -
How to start server in debug mode by default
Hi,
Whenever the server starts it does not start in debug mode.
One has to manually start the "SDM" and "Server0" in the debug mode.
Is there a way I can make the server start in debug mode for the first time itself.
regards,
SaurabhHi Saurabh,
You can start the server in debug mode using config tool. Just open cofig tool (/usr/sap/<SYS ID>/JC<SYS NR>/j2ee/configtool/configtool.bat).
Click on the your instance. Then under the tab Servers Debug check Debuggable and also Enable Debug mode.
Restart the engine now.
However a word of caution: Starting the server in debug mode decreases the system performance. You should only start the dev server in debug mode.
Hope this helps.
Regards
Sidharth -
Oracle application server 10g -remote debugging
We have oracle application server 10g with oc4j. How do we configure App server to start in debug mode so remote debugging from different machine can be done.
i configured remote debugging options in opmn.xml .in the jdeveloper i attached to JPDA .when i start remote debugging i have given hostname as localhost and portnumber as 5000.
i am getting this error
Debugger attempting to connect to remote process at localhost 5000......................
Debugger unable to connect to remote process.
I have done already remote debugging using oc4j stadalone app server.but this is the first time i am trying to connect with oracle application server 10g
opmn.xml
<ias-component id="OC4J">
<process-type id="home" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000 -Xdebug -Xnoagent -Djava.compiler=NONE -Xms512m -Xmx1024m -Xss128k "/>
<data id="oc4j-options" value="-userThreads -properties -out log/out.log -err log/err.log"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true"/>
</category>
<category id="restart-parameters">
<data id="no-reverseping-failed-ping-limit" value="2"/>
<data id="reverseping-failed-ping-limit" value="10"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="120"/>
<restart timeout="720" retry="2"/>
<port id="ajp" range="3301-3400"/>
<port id="rmi" range="3201-3300"/>
<port id="jms" range="3701-3800"/>
<process-set id="default_island" numprocs="1"/>
</process-type>
</ias-component>Please refer
Re: Remote debugging with OC4J -
Unable to start report service on Oracle application server 10g
Hello,
I tried starting services on Oracle application Server 10g using opmnctl startall but got the error below while starting the report service :
linux_thin> opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=linux_thin:6200
6 of 7 processes started.
ias-instance id=oracle10g_Forms.linux_thin
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
rep_gtb_service29/ReportsServer/rep_gtb_service29
Error
--> Process (pid=10049)
failed to start a managed process after the maximum retry limit
Log:
/u01/oracle10g_Forms/opmn/logs/rep_gtb_service29~ReportsServer~rep_gtb_servi
ce29~1
linux_thin>
Kindly assis on how to resolve this issueHello,
I tried starting services on Oracle application Server 10g using opmnctl startall but got the error below while starting the report service :
linux_thin> opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=linux_thin:6200
6 of 7 processes started.
ias-instance id=oracle10g_Forms.linux_thin
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
rep_gtb_service29/ReportsServer/rep_gtb_service29
Error
--> Process (pid=10049)
failed to start a managed process after the maximum retry limit
Log:
/u01/oracle10g_Forms/opmn/logs/rep_gtb_service29~ReportsServer~rep_gtb_servi
ce29~1
linux_thin>
Kindly assis on how to resolve this issue -
Oracle application server 10.1.3 not starting after crash
Hi, I've been struggling with starting up application server 10.1.3 on Windows XP Professional SP2 following a system crash (power outage). When we restarted the machine we noted that the database wasn't coming up because our redo logs were full. We backed up the database with RMAN (freeing the logs) and the database started without a problem.
We then tried to log into application server control from the website but were faced with a connection error. It is definitely the correct page as it was bookmarked on the server. I cannot start application server from the command line using opmnctl. Here is the output:
C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl status
Processes in Instance: appserv.MSRSFR
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
OC4J | home | N/A | Down
ASG | ASG | N/A | Down
C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
11:32:13.78
C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl startall
opmnctl: starting opmn and all managed processes...
==================================================
opmn id=msrsfr:6200
0 of 1 processes started.
ias-instance id=appserv.MSRSFR
++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/home/default_group/
Error
--> Process (index=1,uid=1339952132,pid=2136)
failed to start a managed process after the maximum retry limit
Log:
C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
11:32:39.12
C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
07/12/30 11:32:22 Start process
07/12/30 11:32:24 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
07/12/30 11:32:24 Fatal error: server exiting
07/12/30 11:32:26 Start process
07/12/30 11:32:28 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
07/12/30 11:32:28 Fatal error: server exiting
07/12/30 11:32:30 Start process
07/12/30 11:32:32 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
07/12/30 11:32:32 Fatal error: server exiting
C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: Notice the /'s versus standard windows \'s. The actual file is empty (contains only blank spaces).
I'm not sure where to go from here, I've tried stopping the oracle services manually and starting them up in various orders. We have the following services running:
Oracle-appservProcessManager Started
OracleDBConsoleTSTONE Started
OracleJobSchedulerTSTONE Disabled
OracleOraDb10g_home1iSQL*Plus Started
OracleOraDb10g_home1TNSListener Started
OracleServiceTSTONE Started
I'm sort of at a loss for where to go from here, help would be much appreciated!
Thanks,
RezaHere you have it.
<?xml version="1.0" standalone='yes'?>
<oc4j-connectors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
espaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oc4j-connectors-10
_0.xsd" schema-major-version="10" schema-minor-version="0" >
<connector name="datasources" path="datasources.rar">
</connector>
<connector name="OracleASjms" path="OracleASjms.rar">
<config-property name="lookupMethod" value="resourceProvider"/>
<config-property name="resourceProviderName" value="oc4jjms"/>
<adminobject-config location="OracleASjms/Queues">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tQueueImpl</adminobject-class>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
<adminobject-config location="OracleASjms/MyQueue1">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tQueueImpl</adminobject-class>
<config-property name="jndiName" value="jms/demoQueue"/>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
<adminobject-config location="OracleASjms/Topics">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tTopicImpl</adminobject-class>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
<adminobject-config location="OracleASjms/MyTopic1">
<adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
tTopicImpl</adminobject-class>
<config-property name="jndiName" value="jms/demoTopic"/>
<config-property name="resourceProviderName" value="oc4j
jms"/>
</adminobject-config>
</connector>
</oc4j-connectors>
Maybe you are looking for
-
What's the easiest way to have a message box?
Hey, i'm making this game and i have one frame and i have and one panel inside, and when the user completes the game i want a message box to popup saying "Congratulations, You Won!" At the moment when the user wins the game, i've just put a "System.o
-
Hi, In my company they are planning to implement ARIS with SAP Solution Manager. I am trying to get some information regarding this. What are the benefits we get if we integrate ARIS with SAP solution manager and what are the pre-requisites
-
I have G4 tower but Im thinking of buying one of the new Mac Book Pros they just came out with. I have heard how the towers are better then the Mac Book Pros for logic. But I was wondering if the Mac Book Pros are bigger and faster then my G4 wouldnt
-
Odbc client impact question 8.1.7 / Windows 2008 r2 64X
howdy all , i have several questions which might have been documented , but not marked as supported so maybe someone could answer just a few of my questions here goes : - we have an oracle 8.1.7 (p2 ) database with support running on linux 2.4 - the
-
Hello All, We are doing Combined Upgrade and Unicode Conversion from 4.6C to ECC 6.0. We have listed all the Z programs and we need to do unicode conversion check for the same. Hence we have exported the Z programs and imported the same into our IDES