Error in RJVMFinder.findOrCreate(RJVMFinder.java:199)
Hello,
I am getting an java.io.IOException: Empty server reply; No available router to
destination at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199) in
Weblogic 8.1
The whole exception is as follows.
<<MSAExecCmdTh> DYTNOH15T1006004013--0: <External> <DYTNOH15T1006004013--0> <ErrStr>
javax.naming.CommunicationException. Root exception is java.net.ConnectException:
t3://hurricane:7001: Destination unreachable; nested exception is:
java.io.IOException: Empty server reply; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:296)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.ciena.ems.component.apserver.JNDIUtil.getJNDIInitialContext(JNDIUtil.java:80)
at com.ciena.ems.server.msa.MSAManager.getContext(MSAManager.java:1940)
at com.ciena.ems.server.msa.MSAMediatorFactory.main(MSAMediatorFactory.java:161)>
getJNDIInitialContext in JNDIUtil.java is obtained as in code,
static public javax.naming.Context getJNDIInitialContext(String url,
String user, String password) throws NamingException
String key = url + "^" + user + "^" + password;
Object context = icContexts.get(key);
if (context == null)
Hashtable h = new Hashtable();
// define the initial context
h.put(Context.INITIAL_CONTEXT_FACTORY, icContextFactory);
// add the provider url information
if (url == null) {
h.put(Context.PROVIDER_URL, icProviderUrl);
} else {
h.put(Context.PROVIDER_URL, url);
// set default security
if (icSecurityPrincipal != null)
h.put(Context.SECURITY_PRINCIPAL, icSecurityPrincipal);
if (icSecurityCredentials != null)
h.put(Context.SECURITY_CREDENTIALS, icSecurityCredentials);
// now override the security with passed data
if (user != null)
h.put(Context.SECURITY_PRINCIPAL, user);
if (password == null)
password = "";
h.put(Context.SECURITY_CREDENTIALS, password);
Debug.D1("JNDIUtil: " + (String) h.get(Context.PROVIDER_URL));
context = new InitialContext(h);
icContexts.put(key, context);
Before calling the above method, url is set to t3://localhost:7001, user - system
and password - weblogic
Could anyone put a light on how to get rid of this exception?
Thanks
Lakshmi
and what does this error message mean??
The package was installed accordingly to "Java(tm) Communications API Linux Installation Instructions":
$ls /usr/lib/libLinuxSerialParallel.so
/usr/lib/libLinuxSerialParallel.so
$env|grep CLASS
CLASSPATH=<..skipped..>:/opt/commapi/jar/comm.jar:/opt/commapi/jar/commtest.jar
$ ls /opt/jdk1.5.0_04/jre/lib/javax.comm.properties
/opt/jdk1.5.0_04/jre/lib/javax.comm.properties
What else does it need?
Similar Messages
-
Error reading zip file in Java 6
We have a bespoke installer program that fails, intermittently, in Java 6 on Windows. After installing some files, it then fails with a stack trace like this:
java.util.zip.ZipException: error reading zip file
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at com.XXXX.trent.installer.Installer.writeStreamToFile(Unknown Source)
at com.XXXX.trent.installer.Installer.installFile(Unknown Source)
at com.XXXX.trent.installer.PatchFileInstaller.installFile(Unknown Source)
at com.XXXX.trent.installer.PatchFileInstaller.installFiles(Unknown Source)
at com.XXXX.trent.installer.UpgradeInstaller$TpfAction.run(Unknown Source)
at com.XXXX.trent.installer.UpgradeInstaller.runActions(Unknown Source)
at com.XXXX.trent.installer.UpgradeInstaller.install(Unknown Source)
at com.XXXX.trent.installer.TrentInstall$SoftwareInstallStage.install(Unknown Source)
at com.XXXX.trent.installer.TrentInstall$UpgradeInstallWorker.install(Unknown Source)
at com.XXXX.trent.installer.PatchInstall$InstallWorker.construct(Unknown Source)
at com.XXXX.trent.utils.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)The same code works in Java 5 on the same environments that it now fails in Java 6 (1.6.0_16).
Any ideas?
Thanks.gimbal2 wrote:
it is not weird, it is a bug in the application. Don't let the upgrade from Java 5 to Java 6 make you believe otherwise.It's a singularly bad exception message though. I would have thought that something from java.util might be a bit more explicit about what the problem is.
Winston -
Problem with JDK 6 update 5 - Error Message says cant find java compiler
Hi i am a complete beginner to programming and i am having trouble with the latest java development kit. jdk 6 update 5.
The problem is i have set the path and the program cant find my compiler.
I have installed the latest java development kit 6 update 5 on my windows xp machine.
I have created a simple program as shown below:
class Hello
public static void main(String[] args)
System.out.println("Hello from java");
saved the file to my desktop as Hello.java
I have set the path variable like so:
Go to control panel then click system icon then click advanced tab then click environmental variables.
Now in system variables the path is shown as this - %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_05\bin;C:\Program Files\QuickTime\QTSystem\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\
I then add this to the end;C:\Program Files\Java\jdk1.6.0_05\bin
This is the location to the things like compiler, applet viewer etc.
No in the command prompt i type javac Hello.java and i get this error message:
C:\> javac Hello.java
javac: file not found: Hello.java
Usage: javac <options> <source files>
use -help for a list of possible options
The jdk is installed properly im sure but it can find my compiler.
What mistake have i made in setting the path because im guessing that is related to the problem?
Could someone out there please help me?
Thank You
Rafeeqsaved the file to my desktop as Hello.java
C:\> javac Hello.javaC:\ is not the desktop!
The jdk is installed properly im sure but it can find my compiler.Of course it can! It just can't find the file you are trying to compile, because that's not in the root directory.
I suggest you make a directory C:\java and save your source file there rather than on the desktop. In the command prompt, enter cd \java to make it the current working directory and then enter javac Hello.java.
@Pravin: The question is about compiling, not running. CLASSPATH has nothing to do with this problem.
db -
HELP Needed with this error: Exception in thread "main" java.lang.NoClass
Folks,
I am having a problem connecting to my MSDE SQL 2000 DB on a WindowsXP pro. environment. I am learning Java and writing a small test prgm to connect the the database. The code compiles ok, but when I try to execute it i keep getting this error:
"Exception in thread "main" java.lang.NoClassDefFoundError: Test1"
I am using the Microsoft jdbc driver and my CLASSPATH is setup correctly, I've also noticed that several people have complained about this error, but have not seen any solutions....can someone help ?
Here is the one of the test programs that I am using:
import java.sql.*;
* Microsoft SQL Server JDBC test program
public class Test1 {
public Test1() throws Exception {
// Get connection
DriverManager.registerDriver(new
com.microsoft.jdbc.sqlserver.SQLServerDriver());
Connection connection = DriverManager.getConnection(
"jdbc:microsoft:sqlserver://LAPTOP01:1433","sa","sqladmin");
if (connection != null) {
System.out.println();
System.out.println("Successfully connected");
System.out.println();
// Meta data
DatabaseMetaData meta = connection.getMetaData();
System.out.println("\nDriver Information");
System.out.println("Driver Name: "
+ meta.getDriverName());
System.out.println("Driver Version: "
+ meta.getDriverVersion());
System.out.println("\nDatabase Information ");
System.out.println("Database Name: "
+ meta.getDatabaseProductName());
System.out.println("Database Version: "+
meta.getDatabaseProductVersion());
} // Test
public static void main (String args[]) throws Exception {
Test1 test = new Test1();I want to say that there was nothing wrong
with my classpath config., I am still not sure why
that didn't work, there is what I did to resolved
this issue.You can say that all you like but if you are getting NoClassDefFound errors, that's because the class associated with the error is not in your classpath.
(For future reference: you will find it easier to solve problems if you assume that the problem is your fault, instead of trying to blame something else. It almost always is your fault -- at least that's been my experience.)
1. I had to set my DB connection protocol to TCP/IP
(this was not the default), this was done by running
the
file "svrnetcn.exe" and then in the SQL Server Network
Utility window, enable TCP/IP and set the port to
1433.Irrelevant to the classpath problem.
2. I then copied all three of the Microsoft JDBC
driver files to the ..\jre\lib\ext dir of my jdk
installed dir.The classpath always includes all jar files in this directory. That's why doing that fixed your problem. My bet is that you didn't have the jar file containing the driver in your classpath before, you just had the directory containing that jar file.
3. Updated my OS path to located these files
and....BINGO! (that simple)Unnecessary for solving classpath problems.
4. Took a crash course on JDBC & basic Java and now I
have created my database, all tables, scripts,
stored procedures and can read/write and do all kinds
of neat stuff.All's well that ends well. After a few months you'll wonder what all the fuss was about. -
Error while performing SSO with java application
hi ALL ,
I got rhe following error when i call a java application in portal using ticket logon sso
Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
com.sap.test.TicketVerifierException: Request does not contain cookies
at com.sap.test.TicketVerifierServlet.getSSOCookie(TicketVerifierServlet.java:149)
at com.sap.test.TicketVerifierServlet.getUserFromRequest(TicketVerifierServlet.java:94)
at com.sap.test.TicketVerifierServlet.doPost(TicketVerifierServlet.java:80)
at com.sap.test.TicketVerifierServlet.doGet(TicketVerifierServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)Hi Sarang,
It seems you are following the two basic pre-req.
It may be now possible that your browser might be not allowing cookies. Which browser are u using? Version etc?
Right now u can try two things:
1) When you have logged into portal, type the following command in the adress bar "javascript:alert(document.cookie)". This will give u a popup displaying the cookies formed when logged into portal
2) Use some software like HTTPWatch or ieHeaders and find out the details. It will give you all the cookie details etc.
You should be able to see the JSESSIONID, MYSAPSSO2 cookies...Let me know the result of above..
Regards
Gaurav -
An unexpected error has been detected by Java Runtime Environment
Hi there,
I am trying to run my application in java and suddenly java started giving me the bellow error:
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d81bd10, pid=1500, tid=3624
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0x5bd10]
# An error report file with more information is saved as:
# G:\My Documents\UCY\Graduate\Final Year Project\Persona\Testing\hs_err_pid1500.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
I do not believe that this is a problem in my code as this was working before.
Also the system works fine for about 20 iterations of the same code and then displays this error
I also try to uninstall and reinstall java but with no luck.
I am also attaching the log file that java has saved some information.
Thanks a lot for your help in advance.
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d81bd10, pid=1500, tid=3624
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0x5bd10]
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x0aaa0c00): VMThread [stack: 0x0ab30000,0x0ab80000] [id=3624]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000050
Registers:
EAX=0x00000000, EBX=0x003abcec, ECX=0x072d0106, EDX=0x00000000
ESP=0x0ab7f5bc, EBP=0x003abc60, ESI=0x06b29bc8, EDI=0x06b29bc8
EIP=0x6d81bd10, EFLAGS=0x00010246
Top of Stack: (sp=0x0ab7f5bc)
0x0ab7f5bc: 06b29bc8 06b29bc8 00000000 6d940820
0x0ab7f5cc: 6d7dcc8b 06b29bc8 0ab7f618 0ab7f618
0x0ab7f5dc: 00000002 003aa9f8 6d86cd11 06b29c45
0x0ab7f5ec: 003abab8 6d86cae1 003abcb0 6d83c5a3
0x0ab7f5fc: 0ab7f618 00000000 003aaa50 06b29c45
0x0ab7f60c: 6d86c927 0ab7f618 00000000 6d99f718
0x0ab7f61c: 06b29c45 00000000 6d8676c3 06b29c45
0x0ab7f62c: 06b29c45 00000000 0ab7f748 00000000
Instructions: (pc=0x6d81bd10)
0x6d81bd00: 08 07 c1 e8 02 25 fe ff ff 3f 5e 59 c3 8b 11 56
0x6d81bd10: ff 52 50 5e 59 c3 cc cc cc cc cc cc cc cc cc cc
Stack: [0x0ab30000,0x0ab80000], sp=0x0ab7f5bc, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x5bd10]
VM_Operation (0x0090f410): GenCollectForAllocation, mode: safepoint, requested by thread 0x003a6400
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0aade000 JavaThread "ԁ쀌 ፐڙ寠ڙрڙ焈ښ寠ڙаڙ˰ڙБ耀注ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䙛Ǡڙ桀涛؂쀌 ፐڙ寠ڙ֐ڙ煨ښ寠ڙրڙрڙБ耀歨ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䑛Ǡڙ桀涛܃쀐 ፐڙ寠ڙ۠ڙ燈ښ寠ڙېڙ֐ڙБ耀毈ښ㿿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䉛Ǡڙ桀涛ࠀ쀌 ፐڙ寠ڙ࠰ڙ爨ښ寠ڙࠠڙ۠ڙБ耀䡐ۂ氨ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ卛Ǡڙ桀涛ँ쀌 ፐڙ寠ڙঀڙ犈ښ寠ڙ॰ڙ࠰ڙБ耀窰ں涨ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䥛Ǡڙ桀涛ਂ쀌 ፐڙ寠ڙૐڙ狨ښ寠ڙીڙঀڙБ耀毸ہ欈ښ翿 daemon [_thread_blocked, id=3244, stack(0x0ae00000,0x0ae50000)]
0x0aad4400 JavaThread "" [_thread_blocked, id=1788, stack(0x0adb0000,0x0ae00000)]
0x0aac6c00
[error occurred during error reporting (printing all threads), id 0xc0000005]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x003a5ab0/0x00002710] Threads_lock - owner thread: 0x0aaa0c00
[0x003a5c50/0x000026d0] Heap_lock - owner thread: 0x003a6400
Heap
def new generation total 960K, used 64K [0x02990000, 0x02a90000, 0x02e70000)
eden space 896K, 0% used [0x02990000, 0x02990000, 0x02a70000)
from space 64K, 100% used [0x02a70000, 0x02a80000, 0x02a80000)
to space 64K, 0% used [0x02a80000, 0x02a80000, 0x02a90000)
tenured generation total 4224K, used 4223K [0x02e70000, 0x03290000, 0x06990000)
the space 4224K, 99% used [0x02e70000, 0x0328fc38, 0x031a2200, 0x03290000)
compacting perm gen total 12288K, used 4879K [0x06990000, 0x07590000, 0x0a990000)
the space 12288K, 39% used [0x06990000, 0x06e53cc0, 0x06e51200, 0x07590000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00423000 C:\Program Files\Java\jre1.6.0_06\bin\javaw.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0_06\bin\msvcr71.dll
0x6d7c0000 - 0x6da10000 C:\Program Files\Java\jre1.6.0_06\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6bd00000 - 0x6bd0d000 C:\WINDOWS\system32\SYNCOR11.DLL
0x6d270000 - 0x6d278000 C:\Program Files\Java\jre1.6.0_06\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d360000 - 0x6d389000 C:\Program Files\Java\jre1.6.0_06\bin\jdwp.dll
0x6d6c0000 - 0x6d6c6000 C:\Program Files\Java\jre1.6.0_06\bin\npt.dll
0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0_06\bin\verify.dll
0x6d310000 - 0x6d32f000 C:\Program Files\Java\jre1.6.0_06\bin\java.dll
0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0_06\bin\zip.dll
0x6d1e0000 - 0x6d1e7000 C:\Program Files\Java\jre1.6.0_06\bin\dt_socket.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1578
java_command: TestingResults
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\j2sdk_nb\j2sdk1.4.2
CLASSPATH=.;C:\TomCat\webapps\Profiling;C:\TomCat\common\lib\servlet-api.jar;C:\TomCat\common\lib\jsp-api.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip
PATH=C:\Program Files\Java\jre1.6.0_06\bin\client;C:\Program Files\Java\jre1.6.0_06\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\jwsdp-1.3\jwsdp-shared\bin;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin
USERNAME=maria
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 13 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 523632k(50496k free), swap 882224k(299028k free)
vm_info: Java HotSpot(TM) Client VM (10.0-b22) for windows-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 01:22:05 by "java_re" with MS VC++ 7.1
time: Sun Jun 15 19:09:27 2008
elapsed time: 105 seconds
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Hi there,
I am trying to run my application in java and suddenly java started giving me the bellow error:
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d81bd10, pid=1500, tid=3624
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0x5bd10]
# An error report file with more information is saved as:
# G:\My Documents\UCY\Graduate\Final Year Project\Persona\Testing\hs_err_pid1500.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
I do not believe that this is a problem in my code as this was working before.
Also the system works fine for about 20 iterations of the same code and then displays this error
I also try to uninstall and reinstall java but with no luck.
I am also attaching the log file that java has saved some information.
Thanks a lot for your help in advance.
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d81bd10, pid=1500, tid=3624
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0x5bd10]
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x0aaa0c00): VMThread [stack: 0x0ab30000,0x0ab80000] [id=3624]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000050
Registers:
EAX=0x00000000, EBX=0x003abcec, ECX=0x072d0106, EDX=0x00000000
ESP=0x0ab7f5bc, EBP=0x003abc60, ESI=0x06b29bc8, EDI=0x06b29bc8
EIP=0x6d81bd10, EFLAGS=0x00010246
Top of Stack: (sp=0x0ab7f5bc)
0x0ab7f5bc: 06b29bc8 06b29bc8 00000000 6d940820
0x0ab7f5cc: 6d7dcc8b 06b29bc8 0ab7f618 0ab7f618
0x0ab7f5dc: 00000002 003aa9f8 6d86cd11 06b29c45
0x0ab7f5ec: 003abab8 6d86cae1 003abcb0 6d83c5a3
0x0ab7f5fc: 0ab7f618 00000000 003aaa50 06b29c45
0x0ab7f60c: 6d86c927 0ab7f618 00000000 6d99f718
0x0ab7f61c: 06b29c45 00000000 6d8676c3 06b29c45
0x0ab7f62c: 06b29c45 00000000 0ab7f748 00000000
Instructions: (pc=0x6d81bd10)
0x6d81bd00: 08 07 c1 e8 02 25 fe ff ff 3f 5e 59 c3 8b 11 56
0x6d81bd10: ff 52 50 5e 59 c3 cc cc cc cc cc cc cc cc cc cc
Stack: [0x0ab30000,0x0ab80000], sp=0x0ab7f5bc, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x5bd10]
VM_Operation (0x0090f410): GenCollectForAllocation, mode: safepoint, requested by thread 0x003a6400
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0aade000 JavaThread "ԁ쀌 ፐڙ寠ڙрڙ焈ښ寠ڙаڙ˰ڙБ耀注ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䙛Ǡڙ桀涛؂쀌 ፐڙ寠ڙ֐ڙ煨ښ寠ڙրڙрڙБ耀歨ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䑛Ǡڙ桀涛܃쀐 ፐڙ寠ڙ۠ڙ燈ښ寠ڙېڙ֐ڙБ耀毈ښ㿿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䉛Ǡڙ桀涛ࠀ쀌 ፐڙ寠ڙ࠰ڙ爨ښ寠ڙࠠڙ۠ڙБ耀䡐ۂ氨ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ卛Ǡڙ桀涛ँ쀌 ፐڙ寠ڙঀڙ犈ښ寠ڙ॰ڙ࠰ڙБ耀窰ں涨ښ翿媸ڙ啐ڙ噰ڙ嗨ڙ在ڙɘڙ䥛Ǡڙ桀涛ਂ쀌 ፐڙ寠ڙૐڙ狨ښ寠ڙીڙঀڙБ耀毸ہ欈ښ翿 daemon [_thread_blocked, id=3244, stack(0x0ae00000,0x0ae50000)]
0x0aad4400 JavaThread "" [_thread_blocked, id=1788, stack(0x0adb0000,0x0ae00000)]
0x0aac6c00
[error occurred during error reporting (printing all threads), id 0xc0000005]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x003a5ab0/0x00002710] Threads_lock - owner thread: 0x0aaa0c00
[0x003a5c50/0x000026d0] Heap_lock - owner thread: 0x003a6400
Heap
def new generation total 960K, used 64K [0x02990000, 0x02a90000, 0x02e70000)
eden space 896K, 0% used [0x02990000, 0x02990000, 0x02a70000)
from space 64K, 100% used [0x02a70000, 0x02a80000, 0x02a80000)
to space 64K, 0% used [0x02a80000, 0x02a80000, 0x02a90000)
tenured generation total 4224K, used 4223K [0x02e70000, 0x03290000, 0x06990000)
the space 4224K, 99% used [0x02e70000, 0x0328fc38, 0x031a2200, 0x03290000)
compacting perm gen total 12288K, used 4879K [0x06990000, 0x07590000, 0x0a990000)
the space 12288K, 39% used [0x06990000, 0x06e53cc0, 0x06e51200, 0x07590000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00423000 C:\Program Files\Java\jre1.6.0_06\bin\javaw.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0_06\bin\msvcr71.dll
0x6d7c0000 - 0x6da10000 C:\Program Files\Java\jre1.6.0_06\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6bd00000 - 0x6bd0d000 C:\WINDOWS\system32\SYNCOR11.DLL
0x6d270000 - 0x6d278000 C:\Program Files\Java\jre1.6.0_06\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d360000 - 0x6d389000 C:\Program Files\Java\jre1.6.0_06\bin\jdwp.dll
0x6d6c0000 - 0x6d6c6000 C:\Program Files\Java\jre1.6.0_06\bin\npt.dll
0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0_06\bin\verify.dll
0x6d310000 - 0x6d32f000 C:\Program Files\Java\jre1.6.0_06\bin\java.dll
0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0_06\bin\zip.dll
0x6d1e0000 - 0x6d1e7000 C:\Program Files\Java\jre1.6.0_06\bin\dt_socket.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1578
java_command: TestingResults
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\j2sdk_nb\j2sdk1.4.2
CLASSPATH=.;C:\TomCat\webapps\Profiling;C:\TomCat\common\lib\servlet-api.jar;C:\TomCat\common\lib\jsp-api.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip
PATH=C:\Program Files\Java\jre1.6.0_06\bin\client;C:\Program Files\Java\jre1.6.0_06\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\jwsdp-1.3\jwsdp-shared\bin;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin
USERNAME=maria
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 13 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 523632k(50496k free), swap 882224k(299028k free)
vm_info: Java HotSpot(TM) Client VM (10.0-b22) for windows-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 01:22:05 by "java_re" with MS VC++ 7.1
time: Sun Jun 15 19:09:27 2008
elapsed time: 105 seconds
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -
Error in executing servlet JSPRunner: java.lang.NullPointerException
I have some problems with my jsp files.
I am using iAS6sp4 and iWS 6 on W2K.
I created a EJB jar file and an empty WAR file (No JSP, Servlet, just web.xml & ias-web.xml) and pack them into a ear file for deployment. It was successful.
Then I copy some jsp files to <iasinstall>/ias6/ias/APPS/<app name>/<war name>
and restart the ias and iws server.
When I try the URL: "http://myserver/NASApp/<app name>/myjsp.jsp", I got this error message from kjs.
JSPRunner: init
Exception: SERVLET-execution_failed: Error in executing servlet JSPRunner: java.lang.NullPointerException
My jsp didn't include any java code, just pure htm code. I want to give it a test. But even though I tried with a proper jsp i still got this message. pls advise.
AlanHi,
I got this working. Here are the steps that I followed and the output...
Steps
1. Deployed the helloworld application
2. Invoked the application to see if it works fine
3. Copied the myjsp.jsp to the C:\iPlanet\ias6\ias\APPS\helloworld\helloworld directory
4. Shutdown the iAS and iWS and started again
5. Invoked the .jsp file by typing http://sundts2.india.sun.com:81/NASApp/helloworld/myjsp.jsp in the browser.
Output of KJS
[16/Mar/2002 14:46:06:5] info: ENGINE-ready: ready: 10819
**********Registered ebnls interceptor ...!
[16/Mar/2002 14:46:22:4] info: --------------------------------------
[16/Mar/2002 14:46:22:4] info: JSPRunner: init
[16/Mar/2002 14:46:22:4] info: --------------------------------------
[16/Mar/2002 14:46:26:4] info: --------------------------------------
[16/Mar/2002 14:46:26:4] info: jsp.APPS.helloworld.myjsp: init
[16/Mar/2002 14:46:26:4] info: --------------------------------------
The myjsp.jsp coding is...
<HTML>
<BODY>
<H1>This is a .jsp file for testing</H1>
</BODY>
</HTML>
I believe the problem in your case must be that the .jsp file has been placed in a directory where iAS is not able to recognise. I'm sure this will help. Please feel free to raise questions on this.
Regards
Ganesh .R
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support -
Error while deploying ECO for Java
Hi
I got this error while deploying ECO for JAVA
I chose manual deplyoment
I specified the location of the jar file, app name, display name
and left the rest of the options unticked
after i clicked on the apply button
OAS returns me this error message:
Error!: 1
which is not very helpful
thanks
nullHI..
Did you check with the note that has been mentioned in the log file??
Thanks
Gopal
Message was edited by:
Gopalakrishnan -
Jdevloper11g Release 1: Error while running Bean in java
Hello ,
I am getting error while running my HRFacadeClient.java
[EclipseLink/JPA Client] Adding Java options: -javaagent:C:\Oracle\Middleware\jdeveloper\..\modules\org.eclipse.persistence_1.1.0.0_2-1.jar
"C:\Program Files\Java\jdk1.6.0_29\bin\javaw.exe" -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_APP\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_APP\EJBModel\classes;C:\Oracle\Middleware\modules\com.oracle.toplink_1.1.0.0_11-1-1-6-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.2.0.0_2-3.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.1.0.0_2-0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.1.0.0_1-2.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.3.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-4-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -javaagent:C:\Oracle\Middleware\jdeveloper\..\modules\org.eclipse.persistence_1.1.0.0_2-1.jar oracle.HRFacadeClient
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : C:\Oracle\Middleware\jdeveloper\..\modules\org.eclipse.persistence_1.1.0.0_2-1.jar
Process exited with exit code 1.
plz help me to solve this issue.If you have addition error detail or stack-traces, please consider posting those.
Verify that you have not unintentionally corrupted your project XML files, especially by editing them with a rogue editor, e.g. Windows Notepad is known to add a BOM to a file if you save as UTF-8. -
Error when I deployed the java EAR application in NWDS 7.1
HI All,
I got the error when I deployed the java EAR application in NWDS 7.1 version..help me out...........................................
com.sap.ide.eclipse.deployer.api.APIException: DeployException,cause=[ERROR CODE DPL.DCAPI.1023] AuthorizationException.
Reason: , An error occurred during the deployer retrieval. Cause =[ERROR CODE DPL.DC.3151] The user LJ4PJW could not be authorized, because doesn't own the (com.sap.engine.interfaces.security.ServiceAccessPermission dc) permission for deploy controller. at com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl.java:62)
Thanks
CostaThe user LJ4PJW could not be authorized, *because doesn't own the* (com.sap.engine.interfaces.security.ServiceAccessPermission dc) *permission for deploy controller. a*t com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl.java:62)
The user is not have proper authorizations. Use some other administrators user id which has all admin roles and authorizations assigned and try to deploy.
Regards,
Ravi -
Hi , when i try to run my program, i keep getting the error msg:
Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
I have tried the following:
trying to initailise the JTextField at the start.
Using getName works if i use it within the loop after setting the name.
Does anybody know what i am doing wrong please?
public class clsMember extends JPanel implements ActionListener {
private JButton jbtnLog;
private String surname;
private JTextField txtItem;
public clsMember() {
super(new SpringLayout());
makeInterface();
surname = txtItem.getName("Surname").toString();
private void makeInterface() {
//code omitted
for (int i = 0; i < numpairs; i++) {
JLabel l = new JLabel(strLabels, JLabel.LEADING);
this.add(l);
//if the array item is salutation create a combobox
if (strLabels[i] == "Salutation") {
jcomSalutation = new JComboBox(strSalutation);
jcomSalutation.setSelectedIndex(0);
this.add(jcomSalutation);
} else {
txtItem = new JTextField(10);
l.setLabelFor(txtItem);
txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
this.add(txtItem);
//code omittedIf i have a loop that creates the jtextfields such as
txtItem = new JTextField(10);
l.setLabelFor(txtItem);
txtItem.setName(strLabels.replaceAll(" ", ""));
this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
How is it possible for me to writeString surname = surnamejtextfield.getText(); -
All -
I'm new to consuming web services in JDeveloper. I'm using Oracle JDEV 10.1.3.3/OC4J. I'm using this version since it is compatible with Oracle EBS 12.1.3. My intent is to pull data from our third party recruitment app (Success Factors) and load that data into Oracle HRIS. I'm already doing this through a .NET application. I'm converting it to be a Java Concurrent Program in EBS. The code listed below is a stub call to verify I'm on the right track. I created a JDeveloper Web Services proxy project. I'm testing it locally on my windows desktop. When I'm able to consume the service successfully, then I'll think about moving it to the EBS server.
I'm getting the following error when I invoke the following service:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
End point is: https://api4.successfactors.com/sfapi/v1/soap?wsdl
Any help/assistance would be much appreciated.
Below is my code and output of my test:
package emsc.oracle.apps.emscper.sfapi.proxy;
import HTTPClient.HTTPConnection;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.IsValidSession;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.IsValidSessionResponse;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Login;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LoginResponse;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LoginResult;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Logout;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.LogoutResponse;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.SFCredential;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.SFParameter;
import emsc.oracle.apps.emscper.sfapi.proxy.types.sfobject_sfapi_successfactors_com.Error;
import java.io.File;
import javax.xml.rpc.ServiceFactory;
import java.util.ArrayList;
import java.util.List;
import java.util.Date;
import javax.xml.ws.BindingProvider;
import javax.xml.soap.SOAPException;
import java.util.Map;
import oracle.security.ssl.OracleSSLCredential;
public class SFAPITest {
// Declare members:
private String companyId;
private String userName;
private String password;
private String developerKey;
private Date effDt;
private String greaterThanEffDt;
private String lessThanEffDt;
// Declare constants:
final static private String breakLine = "+---------------------------------------------------------------------------+";
final static private String format = "yyyy-mm-dd";
private enum ReqId {
PrimaryReq(25),
PrimaryReqCEO(26),
EmCarePrimary(27),
RTI(28),
EmCareClinical(29);
private int reqId;
private ReqId() {
private ReqId(int value) {
reqId = value;
public int getReqId() {
return reqId;
// Getters and Setters:
protected String getCompanyId() {
return this.companyId;
protected void setCompanyId(String value) {
this.companyId = value;
protected String getUserName() {
return this.userName;
protected void setUserName(String value) {
this.userName = value;
protected String getPassword() {
return this.password;
protected void setPassword(String value) {
this.password = value;
protected String getDeveloperKey() {
return this.developerKey;
protected void setDeveloperKey(String value) {
this.developerKey = value;
protected Date getEffDt() {
return this.effDt;
protected void setEffDt(Date value) {
this.effDt = value;
protected String getGreaterThanEffDt() {
return this.greaterThanEffDt;
protected void setGreaterThanEffDt(String value) {
this.greaterThanEffDt = value;
protected String getLessThanEffDt() {
return this.lessThanEffDt;
protected void setLessThanEffDt(String value) {
this.lessThanEffDt = value;
public void runProgram()
SFAPIService mySFAPIService;
String CompletionText = "";
String effDtStr2 = null;
/* Code your program logic here.
* Use getJDBCConnection method to get the connection object for any
* JDBC operations.
* Use CpContext provided commit,rollback methods to commit/rollback
* data base transactions.
* Don't forget to release the connection before returning from this
* method.
/* Call setCompletion method to set the request completion status and
* completion text.
* Status values are ReqCompletion.NORMAL,ReqCompletion.WARNING,
* ReqCompletion.ERROR.
* Use Completion text message of length 240 characters. If it is more
* than 240 then full string will appear in log file and truncated 240
* characters will be used as request completion text.
try
ServiceFactory factory = ServiceFactory.newInstance();
mySFAPIService = (emsc.oracle.apps.emscper.sfapi.proxy.SFAPIService)factory.loadService(emsc.oracle.apps.emscper.sfapi.proxy.SFAPIService.class);
SFAPI api = mySFAPIService.getSFAPI();
/// SFAPI api = new SFAPI();
//Map<String, Object> requestContext = ((BindingProvider) api).getRequestContext();
//requestContext.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true);
System.out.println("ServiceName => " + mySFAPIService.getServiceName().toString());
System.out.println("End Point => " + mySFAPIService.getServiceName().toString());
System.out.println(breakLine);
// Authentication: Login to SFAPI:
SFCredential credential = new SFCredential();
// Fake credentials being passed in for this post:
credential.setCompanyId("XXX");
credential.setUsername("XXX");
credential.setPassword("XXX");
credential.setDeveloperKey("XXX");
HTTPConnection httpsConnection = null;
OracleSSLCredential _credential = new OracleSSLCredential();
_credential.setWallet("\\\\\\C:\\Program Files\\Java\\jdk1.6.0_33\\jre\\lib\\security", "ParkEstes3");
/*System.setProperty("javax.net.ssl.trustStore","C:\\\\\OraHome_1\\jdev\\jdevbin\\jdk\\jre\\lib\\security\\keystore");
System.setProperty("javax.net.ssl.trustStorePassword","changeit");
System.out.println(System.getProperty("javax.net.ssl.trustStore"));*/
// SFParameter: Define a generic SFParameter List. This is a necessary parameter
// to invoking calls in SFAPI:
/*System.setProperty("javax.net.ssl.keyStore",
"file:\\\C:\\jdk1.4.1\\jre\\lib\\security\\client.keystore");
System.setProperty("javax.net.ssl.keyStorePassword","welcome"); */
/* System.setProperty("oracle.net.wallet_location",
"(SOURCE=(METHOD=file)(METHOD_DATA=(DIRECTORY=\\\C:\Users\dparrish\Oracle\WALLETS)))"); // (2) */
File kstore = new File("C:\\OraHome_1\\jdev\\jdevbin\\jdk\\jre\\lib\\security\\jssecacerts");
boolean exists = kstore.exists();
if (!exists) {
System.out.println("Keystore does not exist");
else {
System.out.println("Keystore does exist");
System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
//System.setProperty("proxySet", "false");
//System.setProperty("http.proxyHost", "127.0.0.1");
//System.setProperty("http.proxyPort", "8080");
System.out.println(kstore.getAbsolutePath());
List<SFParameter> lst = new ArrayList<SFParameter>();
SFParameter param = new SFParameter();
param.setName("");
param.setValue("");
lst.add(param);
SFParameter[] sfParam = lst.toArray(new SFParameter[lst.size()]);
Login login = new Login();
try {
login.setCredential(credential);
System.out.println("1");
login.setParam(sfParam);
System.out.println("2");
LoginResponse loginResponse = new LoginResponse();
LoginResult loginResult = new LoginResult();
try {
loginResponse = api.login(login);
catch (Exception e ) {
System.out.println(e.getMessage());
System.out.println("3");
try {
loginResult = loginResponse.getResult();
catch (Exception e ) {
System.out.println(e.getMessage());
System.out.println("4");
IsValidSession vs = new IsValidSession();
IsValidSessionResponse isValidSessionResponse = api.isValidSession(vs);
System.out.println("5");
if (isValidSessionResponse.isResult()) {
System.out.println("Session is valid");
System.out.println("Result => " + loginResult.getSessionId());
System.out.println(breakLine);
Logout logout = new Logout();
LogoutResponse logoutResponse = api.logout(logout);
if (logoutResponse.isResult()) {
System.out.println("Logout of SFAPI Successful");
else {
System.out.println("Logout of SFAPI Unsuccessful");
else {
System.out.println("Session is invalid");
List<Error> errors = new ArrayList<Error>();
for (int i = 0; i < loginResult.getError().length; i++) {
errors.add(loginResult.getError()[i]);
for (int i = 0; i < errors.size(); i++) {
System.out.println("Error Indice => " + i);
System.out.println("Error Code: => " + errors.get(i).getErrorCode());
System.out.println("Error Message: => " + errors.get(i).getErrorMessage());
System.out.println(breakLine);
} // end for loop of SFObject errors
} // end InvalidSession
catch (Exception e)
System.out.println("Session Credential Exception");
System.out.println("Exception => " + e.getMessage());
System.out.println(breakLine);
catch (Exception e)
System.out.println("Parameter List Exception");
System.out.println("Exception => " + e.getMessage());
System.out.println(breakLine);
} // end runProgram
// Constructor:
public SFAPITest() {
} // end constructor
public static void main (String args[]) {
try
SFAPITest test = new SFAPITest();
test.runProgram();
catch (Exception e) {
System.out.println("main exception => " + e.getMessage());
} // SFAPITest
Here is the output with trace:
WARNING: Unable to connect to URL: https://api4.successfactors.com:443/sfapi/v1/soap due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
Session Credential Exception
Exception => ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: String index out of range: -7
+---------------------------------------------------------------------------+
Process exited with exit code 0.The other end is throwing back a programming error.
That might be because you are sending incorrect data and the other end fails to validate it.
You might be able to guess based on your C# code. But, since you are using soap one generic solution is available to you.
- Get an http proxy interceptor like wireshark.
- Run it while your C# app runs, collect the http requests from that.
- Run it while running your java code, collect the http requests from that.
Compare the two. -
Error could not access a java object field called allowAppDataInServContext after Applying Security
After applying the security patch 12-26 I am getting the error "Could not access a java object field called allowAppDataInServContext". When I removed the update the error goes away. When I read the update it returns.
The error states it occurred in the following line: cfapplication name="somename" clientmanagement="No" sessionmanagement="Yes" setclientcookies="Yes"Is it a linux server? Look at the following, second comment.
http://blogs.coldfusion.com/post.cfm/coldfusion-security-update
^_^
EDIT: Also, http://www.shilpikhariwal.com/2012/12/security-hotfix-for-coldfusion-9-and.html -
Solution manager4.0 error at point of import java dump.
hi gurus,
While installing solution manager 4.0, I am getting error at point of import java dump.
for any suggestions appreciated.
OS : windows 2003 server
Sql : SQL 2005 server
log file:
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
Nov 7, 2007 2:49:22 PM com.sap.inst.jload.Jload main
INFO: Jload -sec DSM,jdbc/pool/DSM,
MEMSRV407/sapmnt/DSM/SYS/global/security/data/SecStore.properties,
MEMSRV407/sapmnt/DSM/SYS/global/security/data/SecStore.key -dataDir D:/SAP_Solution_Manager4.0_SP2/Javacomponents\JAVA_EXPORT\JDMP -job C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\IMPORT.XML -log jload.log
Nov 7, 2007 2:49:35 PM com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
Nov 7, 2007 2:49:35 PM com.sap.inst.jload.Jload logStackTrace
SEVERE: java.sql.SQLException: [NWMss][SQLServer JDBC Driver][NWMss][SQLServer JDBC Driver]The requested instance is either invalid or not running.
at com.sap.nwmss.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.sap.nwmss.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
at com.sap.nwmss.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseConnection.connect(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseConnection.open(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseDriver.connect(Unknown Source)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:522)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:276)
at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)
at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)
at com.sap.inst.jload.Jload.main(Jload.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Thanks
RamanaHI,
You are using java 1.4.2_13... which is ok but i would recomend to use 1.4.2_09.. and download your export cd's again.
Thanks,
will fix it. -
When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
ERROR
Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
STEPS
The issue can be reproduced at will with the following steps:
1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
2) Created dnd.param file in SIebel server SDQCOnnector folder.
3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
6) Configured the Siebel components for EDQ integration.
7) Realtime EDQ jobs are running.
8) Create a new Account
Env details are
On : 8.2.2.14 [IP2014] version, Client Functionality
EDQ 11.1.1.7.4
IBM JDK 1.7 32 bit
Using Open UI
Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
Regards
Monoj Dey
9007554589Hi Monoj,
A few questions:
- What OS is Siebel running on?
- What version of the Siebel connector are you using?
- Which libdnd.so file are you using?
- What's the contents of your dnd.parms file?
thanks,
Nick
Maybe you are looking for
-
Restriction of addition of Schedule lines to a sales order/scheduling agrmt
Dear Gurus, I need to restrict addition of new schedule lines to a scheduling agreement till all the goods in the previous schedule line have been delivered. I tried applying a delivery block at the SL line level ( in the SL category). But to my surp
-
Want to show UIX Media Model link in new page using jdev1012
Hi, I hope you can help me. I have a read only table in uix page there's a Column of type ORDDOC here is my code for this column: <column> <columnHeader> <styledText text="${bindings.Doc.label}" styleClass="DefaultFont"/> </columnHeader> <contents> <
-
My email provider has changed and I have a new one. I amended this on my computer under my Apple iTunes account without any difficulty and it was authenticated. However, I still have the original email appearing on my iphone 4s and ipad2 and I cannot
-
UNKNOWN ERROR on email tab during Sync Setup
Hello, I am trying to get Firefox on my iPad and in order to do this I need to set up a sync account but can not get passed even the first step. When the window tries to verify my email it reads: Unknown Error. I've tried various emails, capitalizing
-
I have been using iTunes since it came out and I have to say, there have been very few errors. However a few days ago I started to notice many errors on the iTunes Store. Songs that cant be bought and show error. Sessions times out. When you are on a