Jdk 1.4 set up
I've tried to set up java 1.4 on Windows 2000. I'm running it in Cygwin. I can run the java command on a .class file and it runs ok, but when I try to run javac on a file, it gives me 'javac command not recognised'. Am I right in thinking it's a PATH thing?
Many thanks for any sugestions how to fix it!
Yep... it's a PATH thing
To get to the path you will need to get to window's enviromenta variables:
control panel>system>advanced>enviromental variables (this is for XP... it's probably similar in 2000?)
in the PATH add something like this:
C:\j2sdk1.4.2\bin
each entry to the PATH should be separated by a ';' (semicolon) so you may need to add one of those too. This is assuming your SDK is installed in a folder called j2sdk1.4.2, which is the default for java 1.4.2
You will also need to set your CLASSPATH if you haven't done that.
Just search the forum, there's plenty of threads about that.
hope this helps
webaf409java
Similar Messages
-
Jdk run time setting to specific installtion
Hi,
Our Solaris installation is with jdk1.5.
To install Oracle Service Registry11g, requires jdk1.6 version. Installed jdk1.6 in other directory of the file system.
Please suggest how to set jdk1.6 specific to OSR installation.
Thanks.Try giving -jreLoc as paaramater when installing
also see the post
http://biemond.blogspot.com/2009/12/using-oracle-service-registry-in-soa.html
We start by downloading OSR and Oracle Weblogic 11G ( 10.3.2 or 10.3.1 ) .
Install Oracle Weblogic and unpack the OSR zip. Open command and set the java home and path.
set JAVA_HOME=c:\oracle\wls1032\jdk160_14_R27.6.5-32
set PATH=%JAVA_HOME%\bin;%PATH%
java -jar oracle-service-registry-11.1.1.jar -
Yes, I know JDK 1.6 is not officially supported by JDeveloper 10.1.3.2.0.....
However up until now stability has been reasonably fair of the IDE - beside the occasional 'out-of-synch' status of JDeveloper, which so it seems still hasn't but fully resolved (and which I am familiar with). When creating a JSR 168 portlet using the wizard, the wizard completes without an error - but the sources never get generated. What I'm seeing is the message: "Building source index for project "Portlets.jpr" on the left-hand side of the statusbar and a progress-bar on the right-hand side with the label: "Scanning sources". This "never" ends and the only thing left to do is restart JDeveloper.
Any ideas whether this is JDK 1.6 related?Have tried this with JDK 1.5 setting, but no luck. I'm guessing this problem is more related to the fact I'm using Windows Vista than JDK 1.6. Last week I was able to generate JSR 168 portlet code on a file system that was pre-Vista formatted. Last weekend I reinstalled my machine and formatted my hard drives using Vista... I'm guessing that somehow this results in problems generated the sources.
Or is this too far fetched...? -
Cannot run BEA WebLogic 8.1 SP 3 with JDK 1.6
Hi,
Im using BEA Weblogic 8.1 SP3 trying to run a sample where a Robot from Kapow Mashup Server is called from a WebService hosted in the server.
The thing is that I keep getting a EJB Exception: : java.lang.NoClassDefFoundError: java/lang/StringBuilder (I attach the full exception below). I realised that by default the server uses the JDK which comes with the software (version 1.4) and that the class java.lang.StringBuilder is only available from JDK 1.5 onwards.
I have JDK 1.6 in my system, so in WebLogic -> Tools -> Application Properties -> JDK Home, I set that folder but still same exception occurs.
Through the Configuration Wizard I create a new “Basic WebLogic Server Domain” and in the step to configure the Java SDK I set the JDK 1.6 folder. However, when I try to start that server I get this error.
JAVA Memory arguments: -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=;C:\bea\WEBLOG~1\server\lib\weblogic_knex_patch.jar;C:\bea\WEBLOG~1\common\lib\log4j.jar;C:\bea\WEBLOG~1\server\lib\debugging.jar;C:\bea\WEBLOG~1\server\lib\knex.jar;C:\bea\WEBLOG~1\javelin\lib\javelin.jar;C:\bea\WEBLOG~1\server\lib\wlw-lang.jar;C:\ARCHIV~1\Java\JDK16~1.0_1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\ant\ant.jar;C:\ARCHIV~1\Java\JDK16~1.0_1\jre\lib\rt.jar;;C:\bea\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient44.jar;C:\bea\WEBLOG~1\server\lib\webserviceclient.jar;C:\bea\WEBLOG~1\server\lib\webserviceclient+ssl.jar;C:\bea\WEBLOG~1\server\lib\xbean.jar;C:\bea\WEBLOG~1\server\lib\wlxbean.jar;C:\bea\WEBLOG~1\server\lib\xqrl.jar;C:\bea\WEBLOG~1\server\lib\netui\netui-compiler.jar;C:\bea\WEBLOG~1\server\lib\wli.jar;C:\bea\WEBLOG~1\server\lib\fop.jar;C:\bea\WEBLOG~1\integration\adapters\sample\lib\sample-eis.jar;
PATH=C:\bea\WEBLOG~1\server\bin;C:\ARCHIV~1\Java\JDK16~1.0_1\jre\bin;C:\ARCHIV~1\Java\JDK16~1.0_1\bin;C:\Archivos de programa\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\HPQ\IAM\bin;C:\Archivos de programa\Java\jdk1.6.0_10\bin;C:\eclipseJava\plugins\org.apache.ant_1.7.0.v200803061910\bin;C:\Archivos de programa\Archivos comunes\Adobe\AGL;c:\Archivos de programa\Microsoft SQL Server\90\Tools\binn\;c:\matlab6p5\bin\win32;C:\Nokia\Update_Manager\bin;C:\Archivos de programa\QuickTime\QTSystem\;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Archivos de programa\Kapow Mashup Server 6.3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\HPQ\IAM\bin;C:\Archivos de programa\Java\jdk1.6.0_10\bin;C:\eclipseJava\plugins\org.apache.ant_1.7.0.v200803061910\bin;C:\bea\WEBLOG~1\server\bin\oci920_8
* To start WebLogic Server, use a username and *
=== Debugging ===
This window is necessary for debugging code using WebLogic Workshop
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
Listening for transport dt_socket at address: 8453
Starting WLS with line:
C:\ARCHIV~1\Java\JDK16~1.0_1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -Dplatform.home=C:\bea\WEBLOG~1 -Dwls.home=C:\bea\WEBLOG~1\server -Dwli.home=C:\bea\WEBLOG~1\integration -Dlog4j.configuration=file:C:\bea\WEBLOG~1\common\lib\workshopLogCfg.xml -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled= -Dweblogic.security.SSL.ignoreHostnameVerify=false -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogic.Name=myserver -Djava.security.policy=C:\bea\WEBLOG~1\server\lib\weblogic.policy weblogic.Server
Listening for transport dt_socket at address: 8453
<27-abr-2009 11H22' CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 11.0-b15 from Sun Microsystems Inc.>
<27-abr-2009 11H22' CEST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<27-abr-2009 11H22' CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic XMLX Module 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic Integration 8.1 SP3 Wed Jun 30 14:05:38 PDT 2004 405464>
Stopping the Weblogic Workshop debugger...
Debugger Stopped.
Stopping Pointbase server...
Pointbase server stopped.
If I modify the settings of this new domain an pick a BEA Supplied SDKs, everything works just fine.
Someone can give a hand on that? It seems like Bea WebLogic 8.1 and JDK 1.6 are not compatible. Completely stacked here.
Regards.
Full Exception
EJB Exception: : java.lang.NoClassDefFoundError: java/lang/StringBuilder
at robosuite.wizard.jws5a1dbbea00000001.ApiKapowIN.toString(ApiKapowIN.java:141)
at java.lang.String.valueOf(String.java:2131)
at java.lang.StringBuffer.append(StringBuffer.java:370)
at com.bea.wlw.runtime.core.context.WlwThreadContext.logInvoke(WlwThreadContext.java:363)
at com.bea.wlw.runtime.core.context.WlwThreadContext.startInvocation(WlwThreadContext.java:608)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:414)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:248)
at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContainerBean.java:198)
at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerBean.java:103)
at com.bea.wlwgen.StatelessContainer_ly05hg_ELOImpl.invoke(StatelessContainer_ly05hg_ELOImpl.java:153)
at com.bea.wlwgen.GenericStatelessSLSBContAdpt.invokeOnBean(GenericStatelessSLSBContAdpt.java:62)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:153)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:54)
at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:160)
at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:100)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Dispatcher.java:49)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executePostRequest(HttpServerHelper.java:713)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doPost(HttpServer.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)Even if it is a very naive question but I just cannot get it worked, what do you mean by using jdk 1.5 on client side?
I guess client side is completely out of WLS so the jdk to be used on the client side is not set in the environment.
However, the Exception Im getting is on the server side, when it tries to run the code automatically generated from Kapow Mashup Server 6.3. That code is embedded in a jar file, but it seems it makes a call to the java.lang.StringBuilder class which as said before, it is only available from jdk 1.5 onwards.
Should I contact Kapow Mashup Server support to see how the sample code is generated or I am missing something?
Regards. -
German character set issues on Solaris
Hi,
I am facing an issue with German character settings with my Java application on a solaris box.
When I run my application on the box, and I pass an input file with German special characters they get converted as ?. However, other normal English characters are formed properly.
When I run the same application on another Solaris box with a different JRE, the German characters are formed properly.
I understand that there is a difference in the archiecture between the 2 boxes ie.e
64 bit SPARC machine v/s 32 bit x86 machine
the JRE
1.4.2_03(64bit) v/s 1.4.1_01
I am tryinbg to evaludate further differences between the 2 environments to pinpoint the issue, and get this resolved on the 1st box.
Can anyone provide me any inputs?
LavinWhen you read the file, please point out what character set using. For example:
FileInputStream fstream = new FileInputStream(url.getFile());
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in, Charset.forName("ISO-8859-1")));
br.readLine();
This link possibly can help you.
http://www.velocityreviews.com/forums/t126128-jdk-14-character-set-change.html -
Error "need to place tarball in the right location" jre & jdk upgrade
Using pacaur to upgrade seom AUR packages - namely jre and jdk Iget this set of errors, ad infinitum:
Due to a change in how Oracle handles the Java SE License Agreement
you are required to:
1) accept the license and download the tarball (jre-7u4-linux-x64.tar.gz) yourself:
http://www.oracle.com/technetwork/java/javase/downloads/jre-7u4-download-1591157.html
2) move it to $startdir (/tmp/pacaurtmp-larry/jre/)
-> If saved in ~/Desktop/, ~/Downloads/ or /tmp/, it will be auto-moved for you
-> Press any key to continue..
==> ERROR: You need to place the tarball in the right location
-> Press any key to retry (or Ctrl-C to cancel)..
==> ERROR: You need to place the tarball in the right location
I have downloaded the java tarball and placed it in the correct directory. Still get same errors as above,
any ideas why?Thanks for your offering. I have a bit of house cleaning and rearranging due
to my knowing I bought the CS4 software and had installed it and thinking
things would work as before I did not realize that by buying and installing
another software program Proshow Producer on an external HD and then
learning from the company that it had to be on C:/ to work properly. That
forced moving other things around, like CS2, CS3 and CS4 and leaving CS on
C:/ then reinstalling Producer as CS works fine for the pictures used in
Producer and all related files on C: as all my other working photos had to
move with the software!! With 5 and a half terabits on 6 external HD's I got
careless and did not properly set things set up as I should have in
anticipation of my current problem and Adobe's programers, not being mind
readers programmed things to look on C: when CS2,3, and 4 lived elsewhere.
It's all a mess but I do have my serial numbers and did discover, thanks to
your Creative Suite Cleaner Tool offering I found a link to Adobe's original
CS4 trial files that I was told by Adobe were no longer available due to CS6
and I can re-download CS4 there and use it since at the moment my CS4 is
hiding from me. I think a clean re-installation should work before running
the 'cleaner' with its' gottchas. I shall send a later follw up when things
are successfully reloaded. If you think of anything else of value, I would
certainly appreciate your knowledge!
Fred Kirby -
[SOLVED] jdk6 JAVA_HOME overriding jdk JAVA_HOME
Placing this here for future reference to others having the same problem
Symptoms:
jdk6-compat installed alongside jdk
$JAVA_HOME still defined as /opt/java6 upon login
Problem:
in /etc/profile it uses:
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi
which causes jdk6.sh to be sourced after jdk.sh
Solution:
Set your locale, aka LANG to something like en_US.UTF-8 before it performs the above code block
Why?
Setting the proper local will tell the shell to expand * globs in the expected alphanumeric order that the jdk6-compat AUR package intended.The compiler with the JDK is called javac and the JVM is invoked with java. You'll find both under the bin directory of your SDK installation.
The JAVA_HOME variable points to your JDK directoryso it'll be the path that you've given. The PATH variable should point to the bin directory under JAVA_HOME so that you can run javac and java and the CLASSPATH variable should be '.' unless you need to add anything else ( like Tomcat's servlet-api.jar).
This link[1] should help you out loads.
[1] http://ist.berkeley.edu/as/ag/technology/howto/install-java-sdk-win.html
Edited by: nogoodatcoding on Oct 20, 2007 10:39 PM -
How do I do server side sorting in AD with JDK 1.4.2
In JDK 1.6, I'm able to use SortControl to sort the results from AD on the server side.
Here is my code that works for JDK 1.6:
//Set Search Controls
SearchControls searchControls = new SearchControls();
searchControls.setSearchScope(SearchControls.SUBTREE_SCOPE);
// Limits the result data for each object
searchControls.setReturningAttributes(SEARCH_LIST);
searchControls.setTimeLimit(100000);
// Setting Sort Controls if sorting was set
if(sortSearch != null){
Control[] ctls = new Control[] {new SortControl(new String [] {sortSearch}, Control.CRITICAL)};
ctx.setRequestControls(ctls);
//Searching off the base of the tree
NamingEnumeration ldapResults = ctx.search("", filter, searchControls);I want to do the same sorting in JDK 1.4.2
In that JDK, the SortControl class doesn't exist. Does anyone have a work around for sorting on older JDK versions?
ThanksThanks adler_steven for the help
Here is the page where you can download the booster pack jar file
[http://java.sun.com/products/jndi/downloads/index.html]
The needed jar file is called ldapbp.jar -
Installing JDK and JRE, how?
I am new to Java. So new in fact that after 6 months I still have not managed to accomplish any of the basics concerning JAVA and I am in desperate need to get it to function. Perhaps you can help? On my XP I have downloaded the JDK and successfully set a path, but not a single program ran after it has gone through the compiler? Huh? I just don't get it! So, I have moved on a little bit and I am working off my Vista. I have learnt that the JRE and JDK are not the one and the same. I need BOTH if I want to start programming. I have the JRE 6 installed and working fine but I cannot even download the JDK! What is going on, does everybody encounter these problems or just me? Once, if ever, it is down loaded how do I set the path on Vista? Furthermore, would I need anything more other than the JRE and JDK? I really need help here. Why is JAVA being so problematic and why isn't there a nice and easy starting point? All I want to do is program.
Yep, 6 months is a heck of a long time, but it has not been continuous! I have a second degree in maths to complete. Free time is rare and I have had so much bad advice from people who thought they knew what they were doing. I hope here to make up lost time and get the right advice which I need!
-
What is the difference between JDK and J2ee
Could someone explain, in simple terms, what is the difference between JDK and J2ee. I am trying to understand the difference.
THanksCould someone explain, in simple terms, what is the
difference between JDK and J2ee. I am trying to
understand the difference.You can practice on this one first. What's the difference between chalk and cheese? No just kidding.
A JDK is a set of tools for Java development including compiler, runtime system and standard libraries. J2EE is the enterprise version of the Java technology platform (it's one of three). To use it you download the proper JDK's. -
Unable to Launch Application error while starting IR
Dear friends
I am not a BASIS trained person, but wearing different caps because I am the only SAP engineer in our company and so learning on the job.
I have installed a new server that has (SAP ECC 6.0, EP and PI). This is an IDES version. The operating system is Windows Server 2003 R2 (64 Bit).
The menu System -> Status says that Software Component SAP_BASIS is Release 700.
The ECC part is working ok, since I have been using many custom and standard tables, Bapis etc.,
However, when I give transaction code "SXMB_IFR" to start PI, it opens the browser with a message at the top saying "You need to install Javau2122 WebStart 1.4.2. "
However, I have installed j2sdk1.4.2_17-x64 and entered the environment variable path "C:\j2sdk1.4.2_17-x64".
When I try to click on 'Integration Repository', it tries to start 'Java Web Start window and after a while fails with a message 'Unable to launch the application'.
I searched SDN and other blogs and tried suggestions like,
selecting Control Panel -> Java and removing temporary internet files. But this didn't help.
I have installed another server on a 32 bit system and that one doesn't have any issues. The main difference with this one is that it is a 64 bit server and has (ECC, EP and PI) installed on the same server.
I would appreciate any feedback or suggestions.
Thanks
RamDear Ram
install JDK then
first set your environment variable like this... upto ur java bin folder.
JAVE_HOME C:\Program Files\Java\jre6\bin
then run your java webstart . goto preferences and there make proxy as none
now start IR again.. it will start.. if it fails again then take 1-2 more trial to start . It will open.
IN SAP XI/PI, java webstart is used to cache fat clients like IR and ID on local machines. So you need to make JWS proxy as NONE and then run IR or ID. with in 1-2 attemt it will cache all the required files.
then after wards it will run smoothly.
good luck
--sandeep -
Getting error in creating a new project for UI5
Hello ,
I installed eclipse and added this plugin :
https://tools.hana.ondemand.com/juno
But when all process is done completely on creating a project i am getting this error:Dear All,
Thanks Valter Araujo.
I was also getting same error but now it is working. initially JDK compiler was set 1.4 but in my system 1.7 was there. so just i have made JDK compiler 1.7.
Please follow the below steps for correct setting-
Window Menu->Preference ->Compiler->JDK Compiler
Choose the compiler version as you have installed in system
Regard,
Pappu. -
Install on vista with Oracle Lite Multiuser Service - SERVICE_START_PENDIN
Hi all,
I'm trying to install app server 10.1.3 on Vista, but on Configuration assistant screen, it stops at BPEL process manager configuration manager ,
error in oraInstall.err:
C:\Users\victoria\AppData\Local\Temp>echo updating ODBC.ini
updating ODBC.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>echo updating ODBCINST.ini
updating ODBCINST.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>echo updating POLITE.ini
updating POLITE.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>exit
Oracle JAAS [Mon May 18 08:36:05 GMT 2009] admin password is changed successfully
opmnctl: starting opmn and all managed processes...
OliteService reports the following status:
The service is installed.
OliteService reports the following status:
The service start pending.
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_START_PENDING
Acceptable Control Code : (0x0)
installaction.log:
BUILD SUCCESSFUL
Total time: 3 minutes 35 seconds
C:\product\10.1.3.1\OracleAS_1\bpel\samples>ENDLOCAL
BUILD SUCCESSFUL
Total time: 4 minutes 43 seconds
Exit: 0
TASK: oracle.tip.install.tasks.UpdateConfigFiles
Updating configuration files ...
Exit: 0
TASK: oracle.tip.install.tasks.RegisterOlite
Registering Olite ...
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OB_HOME=C:\product\10.1.3.1\OracleAS_1\bpel
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_LIB=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_BIN=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set PATH=C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\oracle\product\10.2.0\db_1\bin;C:\app\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\product\10.1.3.1\OracleAS_1\MOBILE\sdk\bin;C:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\server
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set CLASSPATH=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olite40.jar;C:\product\10.1.3.1\OracleAS_1\MOBILE\Sdk\bin\OLITE40.JAR;
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /stop
OliteService reports the following status:
The service stop is pending.
OliteService reports the following status:
The service is stopped.
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_STOPPED
Acceptable Control Code : (0x0)
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /remove
OliteService reports the following status:
The service is removed.
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /install
OliteService reports the following status:
The service is installed.
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /start
OliteService reports the following status:
The service start pending.
OliteService reports the following status:
The service is running...
port = 1531
wdir = C:\Windows\system32
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_RUNNING
Acceptable Control Code : (0x1) SERVICE_ACCEPT_STOP
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>mkdir "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite"
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>del /f "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb"
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>"C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\createdb.exe" orabpel "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb" manager
Database C:\PRODUCT\10.1.3.1\ORACLEAS_1\BPEL\SYSTEM\DATABASE\OLITE\ORABPEL.odb created (VolID = 1736).
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>exit 0
Could Not Find C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb
Oracle Lite CREATEDB Version 10.2.0.2.0.
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Exit: 0
TASK: oracle.tip.install.tasks.DeployApps
Deploy applications and adapters
Port value is 6003
Buildfile: bpminstall.xml
init-midtier:
Trying to override old definition of datatype echoproperties
common_update_server.xml:
Adding shared library apache.junit ...
Adding shared library oracle.db.lite ...
Adding shared library apache.commons 10.1.3 ...
Adding shared library apache.jdom ...
Adding shared library apache.slide ...
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://victoria-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_admin_client_script_sl.txt
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
update_server.xml:
restart.container:
Stopping home container ...
opmnctl: stopping opmn managed processes...
================================================================================
opmn id=victoria-PC:6200
no processes or applications matched this request
Restarting home container ...
opmnctl: starting opmn managed processes...
================================================================================
opmn id=victoria-PC:6200
0 of 1 processes started.
ias-instance id=oapp1013.victoria-PC
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
default_group/home/default_group/
Error
--> Process (index=1,uid=503452990,pid=3000)
failed to start a managed process after the maximum retry limit
Log:
C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log
init-midtier:
Setting up the dehydration store [olite]...
dehydrationStore:
Configuring data sources for olite dehydration store ...
Deploying ORABPEL Applications...
deploy-applications:
Deploying Oracle BPEL Process Manager ...
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Updating jar: C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib\orabpel.ear
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://my-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
Please advise what's wrong?
thanks
andrewThe following procedure describes the steps required to deploy the DbAdapter.rar file using admin_client.jar:
1. Copy the following libraries from server.xml in an OC4J_SOA container to a server.xml file for a new
container:
oracle.bpel.common
apache.junit
oracle.db.lite
apache.commons
apache.jdom
apache.slide
For example, for oracle.bpel.common, copy the following extract from one server.xml to another and
do the same for all other libraries:
<shared-library name="oracle.bpel.common" version="10.1.3">
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/classes"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-common.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-thirdparty.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bpm-infra.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wdk.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/connector15.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-exts.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-ant.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/ant_1.6.5.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bipres.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bicmn.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/uix2.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/jewt4.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/regexp.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/share.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jdk/lib/tools.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/ldapjclnt10.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/schema"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/config"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/bpm-services.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wfapi.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/fndctx.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/phaos.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/pushapi.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/oracle_http_client.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_api_v3.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/wasp.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_core.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/saaj.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxm.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/builtin_serialization.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/core_services_client.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxrpc.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rl.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rulesdk.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/webdavrc.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/jr_dav.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/webservices/lib/wsif.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/oraesb.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/bpm-ide-common.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rdbms/jlib/xdb.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/ide.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/javatools.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/xmleditor.jar"/>
<import-shared-library name="oracle.dms"/>
<import-shared-library name="oracle.jdbc"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.jwsdl"/>
<import-shared-library name="soap"/>
<import-shared-library name="oracle.ws.client"/>
<import-shared-library name="oracle.toplink"/>
<import-shared-library name="apache.junit"/>
<import-shared-library name="oracle.db.lite"/>
<import-shared-library name="apache.commons.logging"/>
<import-shared-library name="oracle.cache"/>
<import-shared-library name="apache.commons"/>
<import-shared-library name="apache.slide"/>
<import-shared-library name="apache.jdom"/>
</shared-library>
2. Restart the container to make sure that server.xml was updated correctly.
3. From the configtools.log file find the opmn port number, for example:
deployer:oc4j:opmn://dimak.au.oracle.com:6012/home
dimak.au.oracle.com - is the machine name and
6012 - port number
4. Launch a new command prompt
and set path and classpath, for example:
set PATH=$ORACLE_HOME\jdk\bin;%PATH%
set classpath=.
where in the classpath there is only one entry - the dot, which stands for the current directory.
5. change directory to the following:
$ORACLE_HOME\j2ee\home
and run the following command (written all on one line) to deploy the DbAdapter:
java -jar admin_client.jar deployer:oc4j:opmn://dimak.au.oracle.com:6012/test oc4jadmin
manager1 -deploy -file $ORACLE_HOME\integration\esb\lib\DBAdapter.rar -deploymentName
DbAdapter2 -parent default
where
* dimak.au.oracle.com should be substituted with your machine name
* 6012 should be substituted with your port which you found in step 3
* test is the name of the container you want to deploy the adapter to
* manager1 should be substituted with your oc4jadmin password
* $ORACLE_HOME\integration\esb\lib\DBAdapter.rar is the location of the DBAdapter.rar file
* deploymentName DbAdapter2 - should be different from DbAdapter, as that name is already used in the OC4J_SOA container. -
How to get Java source in applet stack trace to debug Java security manager
How can I get line numbers for Java source in stack traces for my applet? I'm having a problem with my code-signing certificate. On one of my applets, I consistently get a NullPointerException inside the security dialog code in the JDK. As a result, either the "trust this applet" dialog never appears, or even though it appears, it defaults to untrusted because of the exception, so I can't access any local files (and that's a bit of a problem for an applet whose sole purpose is to upload files to our server). I unzipped src.zip in my JDK directory and set the debug flag for my Ant <javac> task as well as set debuglevel to "lines." Anything else? Here's the trace that I'm getting so far. See that after the NullPointerException it assumes that the user has denied permission. If I could read this Java source maybe I could figure out why it hates my code-signing certificate (jarsigner, BTW, never complains when I verify my jar).
security: Blacklist file not found or revocation check is disabled
security: Accessing keys and certificate in Mozilla user profile: null
security: Loading Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loading Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loaded Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA has been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: Start checking trusted extension for this certificate
security: Start comparing to jurisdiction list with this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
java.lang.NullPointerException
at com.sun.deploy.ui.UIFactory.showSecurityDialog(Unknown Source)
at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
at com.sun.deploy.security.X509Util.showSecurityDialog(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.getTrustedCodeSources(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$700(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
security: User has denied the priviledges to the code
security: Adding certificate in Deployment denied certificate store
security: Added certificate in Deployment denied certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA has been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: Start checking trusted extension for this certificate
security: Start comparing to jurisdiction list with this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment denied certificate storeRats, now that I look at the stack trace and compare to what's in the JDK srce.zip, it appears that most of this code is not part of the JDK source. I don't see any com/sun/deploy, etc.
-
Remote Connection Issue in Oracle JRockit
Hi,
I Tried configuring Jrockit and integrating weblogic server with it.
I was successfull in monitoring the locally deployed app through integrated weblogic in JRMC 4.0.
Please suggest if the following steps mentioned are proper or not.
1) Installed JRMC 4.0 .
2. Configured in default domain/bin folder of Weblogic server setDomainEnv.cmd as follows:-(Configuring oracle Jrockit in Weblogic since i have to use Jrockit JVM instead of Sun JDK Hot Spot)
set BEA_JAVA_HOME=C:\Program Files\Java\jrmc-4.0.0-1.6.0
set SUN_JAVA_HOME=D:\Oracle\Middleware\jdk160_18
if "%JAVA_VENDOR%"=="Oracle" (
set JAVA_HOME=%BEA_JAVA_HOME%
) else (
if "%JAVA_VENDOR%"=="Sun" (
set JAVA_HOME=%SUN_JAVA_HOME%
) else (
set JAVA_VENDOR=Oracle
set JAVA_HOME=C:\Program Files\Java\jrmc-4.0.0-1.6.0
3.Inturn i modified Java_Options in my local weblogic server startWebLogic.cmd and Remote weblogic server startWebLogic.cmd as follows:-
Local weblogic server startWebLogic.cmd :-
set SAVE_JAVA_OPTIONS="-Djava.rmi.server.hostname=ZSLW521 -Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true"
export JAVA_OPTIONS
Remote weblogic server startWebLogic.cmd :-
set SAVE_JAVA_OPTIONS="-Djava.rmi.server.hostname=ZSLW577 -Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true"
export JAVA_OPTIONS
4. My Oracle Jrockit Start parameters are as follows:-
C:\Program Files\Java\jrmc-4.0.0-1.6.0\bin>java -Xmanagement:port=7091,ssl=false,authenticate=false,autodiscovery=true
and even i am getting the status as follows in command prompt:
[INFO ][mgmnt ] Remote JMX connector started at address zslw577:7091
[INFO ][mgmnt ] Local JMX connector started
[INFO ][mgmnt ] JDP autodiscovery started at address 232.192.1.212:7095
Iin jrmc4.0 UI i am getting JDP (JRockit Discovered protocal)as follows:-
1. Discovered --> JDP --> zslw577:zsl.local and
zslw51
2.But the Problem is that in the tabbed menu
Discovered-->LOACL-->Getting Local JRockit Weblogic server Instance and Not Remote Server Weblogic Server Instance
is when i am trying to establish a connection :-
HOST:zslw521
PORT:7091
1.And testing the connection giving me : Unable to Connect
Even If I want To test The JDP of Remote and Local JVM Instances by right clicking and selecting the option of START CONSOLE
Could not open Management Console for zslw577.zsl.local.
com.jrockit.mc.rjmx.ConnectionException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
java.net.ConnectException: Connection refused: connect]
com.jrockit.mc.rjmx.ConnectionException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
java.net.ConnectException: Connection refused: connect]
at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:63)
at com.jrockit.mc.console.ui.actions.StartConsole$1.preConnect(StartConsole.java:39)
at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
java.net.ConnectException: Connection refused: connect]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:593)
at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:145)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:157)
at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:95)
at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:61)
... 3 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
... 12 more
Caused by: java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:228)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:594)
at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:146)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:158)
... 5 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.<init>(Socket.java:372)
at java.net.Socket.<init>(Socket.java:186)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:593)
at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:145)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:157)
... 5 more
Thanks in advance
Regards
RKI had the same problem, but adding:
-Djava.rmi.server.hostname=my_hostname
to the remote WebLogic Server start script that I want to monitor solves the problem.
In my case, my WLS runs on OEL 5, and I monitor it via JRMC (R28.0.0-679) on Windows XP):
# Start JRockit MngSrv to enable JRMC monitoring:
JR_XMNG="-Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true"
export JR_XMNG
JAVA_OPTIONS="-Djava.rmi.server.hostname=your_hostname ${JAVA_OPTIONS}"
export JAVA_OPTIONS
JAVA_OPTIONS="${JAVA_OPTIONS} ${JR_XMNG}"
export JAVA_OPTIONS
Edited by: George Moykin on 2010-7-14 12:15
Maybe you are looking for
-
How can I get clean MT LION install to use my backup?
Hi, I have a 3 year old imac that was running like crap. I upgraded to 4 gigs of ram, erased the hard drive and did a clean install of Mountain Lion. Before cleaning the hard drive, I had time machine do a backup onto an external USB 1 tb hard driv
-
Error while uploading stock using Mb1c and migo
Hi Following error is showing,while uploading stock using Mb1c and migo Return code 8 is not permitted with BAdI 'FAGL_PERIOD_CHECK' Can anyone help me?/ Thanks
-
Read all rows in static table defined in the adobe form using webdynproABAP
Hi all, The requirement is i have to display the 5 empty rows using adobe forms in the table format and retrieve the data from that 5 rows after user enter some value and post it in the database table. This is the part of my requirement. I have done
-
ASSERTION_FAILED in XD01,XD02 while maintaining Industry in Marketing tab
While creating a new customer (XD01) or changing an existing customer (XD02), in the Marketing tab, Industry field, when a value is maintained, it results in runtime error ASSERTION_FAILED. This occurs in line: assert condition lv_ind_sector_type is
-
Inaccurate White Balance Of 808 In Low Light - Any...
I find the white balance and exposure of the Pureview 808 in indoor low light shots to be erratic, mostly inaccurate in most shooting modes. Although the predecessor N8 produces a noisier and darker image that is lacking in clarity (in low light), I