Rendering java-parameters with JavaWebStart
Hi,
how can I render java-parameters like -Xms128m to JavaWebStart?
Note, this has to be done within the jnlp-file, the client must not have to do anything!!!
I suppose you've read the Developers guide, if you have you'll know that nothind is said, so I suppose nothing could be done.
Realize to that th -X parameters of the VM are not garanteed to be implemented on al the VM, Sun usually does but third partys are not forced to implement them, so the client may hav a VM not hable to undestand them.
Abraham.
Similar Messages
-
Overwrite java parameters with environment variables or other mechanism???
I am using several java programs on my machine. Each of them uses some deeply nested startup script so I have no chance to modify the parameters of the java command.
I would need to change certain parameters though, e.g. the heap size or certain system properties.
Is there a way to do this by e.g. setting environment variables or modifying a user-specific configuration file?
I am using jdk 1.5.0_06 on Linux (Ubuntu).Well the ones I am dealing with do not, unfortunately.
I am also interested in a general way to tune the JVM settings without modifying each and every call statement.
Surely there must be some mechanism to achieve this?? -
JAVA parameters with Config tool
Hi,
I am new to working with the JAVA stack.
Could you please reveal us on the general parameters that we configure with the Config tool.
I have already referred the SNOTE: 723909 which describes all the parameters. But we need the details of the
parameters that are changed frequently with the JAVA stack administration.
Any link to the document would be more helpful.
Thanks & Regards
DVRKNo interview questions.
That info is widely available.
Read the "Rules of Engagement"
Regards
Juan -
Query parameters with the same name and different values
According to HTTP, multiple query or post parameters with the
same name and different values are permitted. They are transfered
over the wire in the following format -
name1=val1&name1=val2&name1=val3
The problem is that I can't see anyway of assigning multiple
parameters with the same name and different values to the request
object of mx.rpc.http.HTTPService. I have tried using the
flash.utils.Dictionary object as it does strict key comparison but
that doesn't work too. I have tried setting an array of values to a
property of the request object but that sends the request to the
server in the following format -
name1=val1,val2,val3
The java servlet engines throw exceptions when they see this.
Any help would be greatly appreciated.If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
release.
wrote:
I have an html select box that contains several values, and multiple
selection is enabled. When my code runs as a remote portlet, the
following is showing up in the soap monitor when I select multiple
values and submit the form:
<urn:interactionParams>
<urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
<urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
<urn:formParameters
name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
<urn:value>true</urn:value>
</urn:formParameters>
<urn:formParameters
name="P62005wlw-select_key:{actionForm.selectedEmployees}">
<urn:value>beatest1</urn:value>
</urn:formParameters>
In this case, I selected beatest1 and beatest2, but only beatest1 comes
through to the remote portlet. Is this a known bug, and, if so, is
there a patch or workaround available?
Thanks in advance,
Andy -
Passing multiple URL parameters with same name
Hi,
I have a question which is not entirely related to Java. But although its related HTTP calls, so I thought I might get some ideas here.
Background:
I am making HTTP URL call from SAP ABAP code. Its pretty much similar to Java (creating URL connection, setting HTTP headers, connecting, receiving response and everything)
For example,
http://service_server:8080/a7/extension.services.SearchRequirements.a7x?RequestStatus=CR&RequestStatus=RR
Now, this service_server runs a query to database where it uses both these values of "RequestStatus" to form 'OR' condition for a field.
Issue:
When I run this URL from browser, it shows XML response containing results for both values. In short, this is the ideal response.
(I am using getParameterValues(string) at service_server to read multiple values for same parameter)
But when I see response in SAP system, I see that it is returning data for only one value of 'RequestStatus'.
I checked the logs of service_server, and I see that it has received only one parameter, not two.
Question:
It seems like SAP systems web server is truncating both parameters with same name and passing just one of them to outside server(??)
Is there any configuration at Web Server side or any HTTP headers to be set so as to avoid this?
Can anybody suggest something on this?I managed to resolve this issue by using HTTP 'Post' method to send the data.
CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL
EXPORTING
URL = L_URL
IMPORTING
CLIENT = L_HTTP_CLIENT
EXCEPTIONS
ARGUMENT_NOT_FOUND = 1
PLUGIN_NOT_ACTIVE = 2
INTERNAL_ERROR = 3
OTHERS = 4 .
"STEP-2 : AUTHENTICATE HTTP CLIENT
CALL METHOD L_HTTP_CLIENT->AUTHENTICATE
EXPORTING
USERNAME = 'name'
PASSWORD = 'password'.
"STEP-3 : SET HTTP HEADERS
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
EXPORTING NAME = 'Accept'
VALUE = 'text/xml'.
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
EXPORTING NAME = '~request_method'
VALUE = 'POST' .
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_CONTENT_TYPE
EXPORTING CONTENT_TYPE = 'application/x-www-form-urlencoded' .
"SETTING REQUEST DATA FOR 'POST' METHOD
IF L_PARAMS_STRING IS NOT INITIAL.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = L_PARAMS_STRING
IMPORTING
BUFFER = L_PARAMS_XSTRING
EXCEPTIONS
FAILED = 1
OTHERS = 2.
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_DATA
EXPORTING DATA = L_PARAMS_XSTRING .
ENDIF.
"STEP-4 : SEND HTTP REQUEST
CALL METHOD L_HTTP_CLIENT->SEND
EXCEPTIONS
HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2.
"STEP-5 : GET HTTP RESPONSE
CALL METHOD L_HTTP_CLIENT->RECEIVE
EXCEPTIONS
HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2
HTTP_PROCESSING_FAILED = 3.
"STEP-6 : READ RESPONSE DATA
CALL METHOD L_HTTP_CLIENT->RESPONSE->GET_CDATA
RECEIVING DATA = L_RESULT .
"STEP-7 : CLOSE CONNECTION
CALL METHOD L_HTTP_CLIENT->CLOSE
EXCEPTIONS
HTTP_INVALID_STATE = 1
OTHERS = 2 .
{code} -
Using Java Dictionary With Oracle
Can Someone tell how can i configure my java dictionary with oracle...Currently if a create a table from my IDE and then deploy it it deploys to the Default SAP DB ...how do i directrly create tables in oracle by just specifying the Deploy option ...
And further on I want my web Dynpro application to talk with oracle db..how do i acheive this..
Please Help!!Hi,
Does this mean that the additional features of The Java Dictionary (bufferring etc ) can only be implemented if we ONLY connect to the SAP DB---- YES
If I have to utilize the services of Java Dictionary in my application i can only use The SAP DB database -- YES
You deploy a dictionary project to create a table in the DB.
When it is a DB created and used by Web AS ,it is possible to create tables in that DB with dictionary project using the standard connection parameters specified in visual admin.
Java Dictionary purpose is to create a DB abstraction by providing a standard interface to create tables whatever the DB used by WebAS maybe.
Regards
Bharathwaj
Edited by: Bharathwaj R - Hope this makes it clear ! -
Urgent please ! How to invoke java method with diffrent argument types?
Hi,
I am new to JNI.
I had gone through documentation but it is not of much help.
Can any one help me out how to invoke the below java method,
// Java class file
public class JavaClassFile
public int myJavaMethod(String[] strArray, MyClass[] myClassArray, long time, int[] ids)
// implementation of method
return 0;
// C++ file with Invokation API and invokes the myJavaMethod Java method
int main()
jclass cls_str = env->FindClass("java/lang/String");
jclass cls_MyClass = env->FindClass("MyClass");
long myLong = 2332323232;
int intArray[] = {232, 323, 32, 77 };
jclass cls_JavaClassFile = env->FindClass("JavaClassFile");
jmethodID mid_myJavaMethod = env->GetMethodID( cls_JavaClassFile, "myJavaMethod", "([Ljava/lang/String;[LMyClass;J[I)I");
// invoking the java method
//jint returnValue = env->CallIntMethod( cls_JavaClassFile, mid_myJavaMethod, stringArray, myClassArray, myLong, intArray ); --- (1)
//jint returnValue = env->CallIntMethodA( cls_JavaClassFile, mid_myJavaMethod, ...........); --- (2)
//jint returnValue = env->CallIntMethodV( cls_JavaClassFile, mid_myJavaMethod, ...........); --- (3)
Can any one tell me what is the correct way of invoking the above Java method of (1), (2) and (3) and how ?
The statement (1) is compilable but throws error at runtime, why ?
How can I use statements (2) and (3) over here ?
Thanks for any sort help.
warm and best regards.You are missing some steps.
When you invoke a java method from C++, the parameters have to be java parameters, no C++ parameters.
For example, your code appears to me as thogh it is trying to pass a (C++) array of ints into a java method. No can do.
You have to construct a java in array and fill it in with values.
Here's a code snippet:
jintArray intArray = env->NewIntArray(10); // Ten elments
There are also jni functions for getting and setting array "regions".
If you are going to really do this stuff, I suggest a resource:
essential JNI by Rob Gordon
There is a chapter devoted to arrays and strings. -
XSQL Command-Line, parameters with blanks
Is it possible to use XSQL Command-Line with parameters containing blanks (space characters).
In an URL parameter spaces can be encoded with "+" or "%20", but this does'nt seem to work with XSQL Command-Line parameters.
-- PeterI can't make this work on Unix (solaris), but I can see it is a shell script problem, not a XSQL problem.
The normal syntax for Unix shell script would be
$ script.sh foo="one two"
but the standard Oracle-supplied xsql unix shell script sets environment and passes all command-line parameters to the java program with
oracle.xml.xsql.XSQLCommandLine $*
and thereby the quotes disappear.
The problem is not really big, since I could just do
oracle.xml.xsql.XSQLCommandLine test.xsql "foo=one two"
after setting classpath. Anyway, if anybody knows how to make the xsql script work with quoted parameters, let me know.
-- Peter -
How to rset Java parameters in config tool
Hello,
My Java server got down after i changed some parameters in Java Heap Memory settings. I did not note down the default values also. I would like to know how to revert into default Java parameters in config tool? Is there any way ?
Regards,
Sankaranarayanan.GHello,
Thanks lot for your reply. Yes i changed JavaHeap memory settings as per the note 723909.
i attached the dev_server0 log
trc file: "E:\usr\sap\PID\DVEBMGS10\work\dev_server0", trc level: 1, release: "700"
node name : ID106859350
pid : 5668
system name : PID
system nr. : 10
started at : Wed Nov 05 08:13:19 2008
arguments :
arg[00] : E:\usr\sap\PID\DVEBMGS10\exe\jlaunch.exe
arg[01] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[02] : -DSAPINFO=PID_10_server
arg[03] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[04] : -DSAPSTART=1
arg[05] : -DCONNECT_PORT=1247
arg[06] : -DSAPSYSTEM=10
arg[07] : -DSAPSYSTEMNAME=PID
arg[08] : -DSAPMYNAME=DUSLEXPID01_PID_10
arg[09] : -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[10] : -DFRFC_FALLBACK=ON
arg[11] : -DFRFC_FALLBACK_HOST=localhost
[Thr 3864] Wed Nov 05 08:13:19 2008
[Thr 3864] *** WARNING => INFO: Unknown property [instance.box.number=PIDDVEBMGS10duslexpid01] [jstartxx.c 841]
[Thr 3864] *** WARNING => INFO: Unknown property [instance.en.host=DUSLEXPID01] [jstartxx.c 841]
[Thr 3864] *** WARNING => INFO: Unknown property [instance.en.port=3220] [jstartxx.c 841]
[Thr 3864] *** WARNING => INFO: Unknown property [instance.system.id=10] [jstartxx.c 841]
JStartupReadInstanceProperties: read instance properties [E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties]
-> ms host : DUSLEXPID01
-> ms port : 3920
-> OS libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Instance properties
-> ms host : DUSLEXPID01
-> ms port : 3920
-> os libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Bootstrap nodes
-> [00] bootstrap : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] bootstrap_ID10685930 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [02] bootstrap_ID10685935 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Worker nodes
-> [00] ID106859300 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] ID106859350 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
[Thr 3864] JLaunchRequestQueueInit: create named pipe for ipc
[Thr 3864] JLaunchRequestQueueInit: create pipe listener thread
[Thr 6104] JLaunchRequestFunc: Thread 6104 started as listener thread for np messages.
[Thr 4612] WaitSyncSemThread: Thread 4612 started as semaphore monitor thread.
[Thr 3864] NiInit3: NI already initialized; param 'maxHandles' ignored (1;10002)
[Thr 3864] CPIC (version=700.2006.09.13)
[Thr 3864] [Node: server0] java home is set by profile parameter
Java Home: D:\j2sdk1.4.2_17-x64
[Thr 3864] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
JStartupIReadSection: read node properties [ID106859350]
-> node name : server0
-> node type : server
-> node execute : yes
-> jlaunch parameters :
-> java path : D:\j2sdk1.4.2_17-x64
-> java parameters : -Djco.jarm=1 -XX:MaxPermSize=512M -XX:PermSize=512M -XX:NewSize=341M -XX:MaxNewSize=341M -XX:DisableExplicitGC -verbose:gc -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> java vm version : 1.4.2_17-b06
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
-> java vm type : server
-> java vm cpu : amd64
-> heap size : 2048M
-> init heap size : 2048M
-> root path : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\server0
-> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> OS libs path : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
-> shutdown class : com.sap.engine.boot.Start
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 51021
-> shutdown timeout : 120000
[Thr 3864] JLaunchISetDebugMode: set debug mode [no]
[Thr 3536] JLaunchIStartFunc: Thread 3536 started as Java VM thread.
[Thr 3536] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
Java Parameters: -Xss2m
JHVM_LoadJavaVM: VM Arguments of node [server0]
-> stack : 1048576 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: vfprintf
-> arg[ 3]: -Djco.jarm=1
-> arg[ 4]: -XX:MaxPermSize=512M
-> arg[ 5]: -XX:PermSize=512M
-> arg[ 6]: -XX:NewSize=341M
-> arg[ 7]: -XX:MaxNewSize=341M
-> arg[ 8]: -XX:+DisableExplicitGC
-> arg[ 9]: -verbose:gc
-> arg[ 10]: -XX:+PrintGCDetails
-> arg[ 11]: -XX:+PrintGCTimeStamps
-> arg[ 12]: -Djava.awt.headless=true
-> arg[ 13]: -Dsun.io.useCanonCaches=false
-> arg[ 14]: -XX:SoftRefLRUPolicyMSPerMB=1
-> arg[ 15]: -XX:SurvivorRatio=2
-> arg[ 16]: -XX:TargetSurvivorRatio=90
-> arg[ 17]: -Djava.security.policy=./java.policy
-> arg[ 18]: -Djava.security.egd=file:/dev/urandom
-> arg[ 19]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-> arg[ 20]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-> arg[ 21]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> arg[ 22]: -Dsys.global.dir=E:\usr\sap\PID\SYS\global
-> arg[ 23]: -Dapplication.home=E:\usr\sap\PID\DVEBMGS10\exe
-> arg[ 24]: -Djava.class.path=E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> arg[ 25]: -Djava.library.path=D:\j2sdk1.4.2_17-x64\jre\bin\server;D:\j2sdk1.4.2_17-x64\jre\bin;D:\j2sdk1.4.2_17-x64\bin;E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\j2sdk1.4.2_17-x64\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;E:\usr\sap\PID\SYS\exe\uc\NTAMD64
-> arg[ 26]: -Dmemory.manager=2048M
-> arg[ 27]: -Xmx2048M
-> arg[ 28]: -Xms2048M
-> arg[ 29]: -DLoadBalanceRestricted=no
-> arg[ 30]: -Djstartup.mode=JCONTROL
-> arg[ 31]: -Djstartup.ownProcessId=5668
-> arg[ 32]: -Djstartup.ownHardwareId=J1559017989
-> arg[ 33]: -Djstartup.whoami=server
-> arg[ 34]: -Djstartup.debuggable=no
-> arg[ 35]: -Xss2m
-> arg[ 36]: -DSAPINFO=PID_10_server
-> arg[ 37]: -DSAPSTART=1
-> arg[ 38]: -DCONNECT_PORT=1247
-> arg[ 39]: -DSAPSYSTEM=10
-> arg[ 40]: -DSAPSYSTEMNAME=PID
-> arg[ 41]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 42]: -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
-> arg[ 43]: -DFRFC_FALLBACK=ON
-> arg[ 44]: -DFRFC_FALLBACK_HOST=localhost
-> arg[ 45]: -DSAPSTARTUP=1
-> arg[ 46]: -DSAPSYSTEM=10
-> arg[ 47]: -DSAPSYSTEMNAME=PID
-> arg[ 48]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 49]: -DSAPDBHOST=DUSLEXPID01
-> arg[ 50]: -Dj2ee.dbhost=DUSLEXPID01
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
[Thr 3536] JHVM_LoadJavaVM: Java VM created OK.
JHVM_BuildArgumentList: main method arguments of node [server0]
[Thr 3556] Wed Nov 05 08:13:20 2008
[Thr 3556] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 3556] Wed Nov 05 08:13:21 2008
[Thr 3556] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 3556] JLaunchISetClusterId: set cluster id 106859350
[Thr 3556] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 3556] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
Wed Nov 05 08:13:32 2008
12.818: [GC 12.818: [DefNew: 174592K->13493K(261888K), 0.3011959 secs] 174592K->13493K(2009856K), 0.3016334 secs]
Wed Nov 05 08:13:36 2008
17.613: [GC 17.614: [DefNew
Wed Nov 05 08:13:37 2008
: 188085K->15910K(261888K), 0.3665850 secs] 188085K->15910K(2009856K), 0.3666646 secs]
Wed Nov 05 08:13:44 2008
25.621: [GC 25.621: [DefNew: 190502K->19406K(261888K), 0.0765912 secs] 190502K->19406K(2009856K), 0.0766663 secs]
Wed Nov 05 08:13:55 2008
35.983: [GC 35.983: [DefNew: 193998K->19906K(261888K), 0.0519434 secs] 193998K->19906K(2009856K), 0.0519957 secs]
Wed Nov 05 08:14:00 2008
41.061: [GC 41.061: [DefNew: 194498K->27970K(261888K), 0.1282647 secs] 194498K->27970K(2009856K), 0.1283732 secs]
[Thr 3560] Wed Nov 05 08:14:01 2008
[Thr 3560] JLaunchIExitJava: exit hook is called (rc = -11113)
[Thr 3560] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
[Thr 3560] JLaunchCloseProgram: good bye (exitcode = -11113)
trc file: "E:\usr\sap\PID\DVEBMGS10\work\dev_server0", trc level: 1, release: "700"
node name : ID106859350
pid : 4832
system name : PID
system nr. : 10
started at : Wed Nov 05 08:14:04 2008
arguments :
arg[00] : E:\usr\sap\PID\DVEBMGS10\exe\jlaunch.exe
arg[01] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[02] : -DSAPINFO=PID_10_server
arg[03] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[04] : -DSAPSTART=1
arg[05] : -DCONNECT_PORT=1247
arg[06] : -DSAPSYSTEM=10
arg[07] : -DSAPSYSTEMNAME=PID
arg[08] : -DSAPMYNAME=DUSLEXPID01_PID_10
arg[09] : -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[10] : -DFRFC_FALLBACK=ON
arg[11] : -DFRFC_FALLBACK_HOST=localhost
[Thr 4748] Wed Nov 05 08:14:04 2008
[Thr 4748] *** WARNING => INFO: Unknown property [instance.box.number=PIDDVEBMGS10duslexpid01] [jstartxx.c 841]
[Thr 4748] *** WARNING => INFO: Unknown property [instance.en.host=DUSLEXPID01] [jstartxx.c 841]
[Thr 4748] *** WARNING => INFO: Unknown property [instance.en.port=3220] [jstartxx.c 841]
[Thr 4748] *** WARNING => INFO: Unknown property [instance.system.id=10] [jstartxx.c 841]
JStartupReadInstanceProperties: read instance properties [E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties]
-> ms host : DUSLEXPID01
-> ms port : 3920
-> OS libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Instance properties
-> ms host : DUSLEXPID01
-> ms port : 3920
-> os libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Bootstrap nodes
-> [00] bootstrap : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] bootstrap_ID10685930 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [02] bootstrap_ID10685935 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Worker nodes
-> [00] ID106859300 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] ID106859350 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
[Thr 4748] JLaunchRequestQueueInit: create named pipe for ipc
[Thr 4748] JLaunchRequestQueueInit: create pipe listener thread
[Thr 5852] JLaunchRequestFunc: Thread 5852 started as listener thread for np messages.
[Thr 5200] WaitSyncSemThread: Thread 5200 started as semaphore monitor thread.
[Thr 4748] NiInit3: NI already initialized; param 'maxHandles' ignored (1;10002)
[Thr 4748] CPIC (version=700.2006.09.13)
[Thr 4748] [Node: server0] java home is set by profile parameter
Java Home: D:\j2sdk1.4.2_17-x64
[Thr 4748] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
JStartupIReadSection: read node properties [ID106859350]
-> node name : server0
-> node type : server
-> node execute : yes
-> jlaunch parameters :
-> java path : D:\j2sdk1.4.2_17-x64
-> java parameters : -Djco.jarm=1 -XX:MaxPermSize=512M -XX:PermSize=512M -XX:NewSize=341M -XX:MaxNewSize=341M -XX:DisableExplicitGC -verbose:gc -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> java vm version : 1.4.2_17-b06
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
-> java vm type : server
-> java vm cpu : amd64
-> heap size : 2048M
-> init heap size : 2048M
-> root path : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\server0
-> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> OS libs path : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
-> shutdown class : com.sap.engine.boot.Start
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 51021
-> shutdown timeout : 120000
[Thr 4748] JLaunchISetDebugMode: set debug mode [no]
[Thr 4076] JLaunchIStartFunc: Thread 4076 started as Java VM thread.
[Thr 4076] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
Java Parameters: -Xss2m
JHVM_LoadJavaVM: VM Arguments of node [server0]
-> stack : 1048576 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: vfprintf
-> arg[ 3]: -Djco.jarm=1
-> arg[ 4]: -XX:MaxPermSize=512M
-> arg[ 5]: -XX:PermSize=512M
-> arg[ 6]: -XX:NewSize=341M
-> arg[ 7]: -XX:MaxNewSize=341M
-> arg[ 8]: -XX:+DisableExplicitGC
-> arg[ 9]: -verbose:gc
-> arg[ 10]: -XX:+PrintGCDetails
-> arg[ 11]: -XX:+PrintGCTimeStamps
-> arg[ 12]: -Djava.awt.headless=true
-> arg[ 13]: -Dsun.io.useCanonCaches=false
-> arg[ 14]: -XX:SoftRefLRUPolicyMSPerMB=1
-> arg[ 15]: -XX:SurvivorRatio=2
-> arg[ 16]: -XX:TargetSurvivorRatio=90
-> arg[ 17]: -Djava.security.policy=./java.policy
-> arg[ 18]: -Djava.security.egd=file:/dev/urandom
-> arg[ 19]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-> arg[ 20]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-> arg[ 21]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> arg[ 22]: -Dsys.global.dir=E:\usr\sap\PID\SYS\global
-> arg[ 23]: -Dapplication.home=E:\usr\sap\PID\DVEBMGS10\exe
-> arg[ 24]: -Djava.class.path=E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> arg[ 25]: -Djava.library.path=D:\j2sdk1.4.2_17-x64\jre\bin\server;D:\j2sdk1.4.2_17-x64\jre\bin;D:\j2sdk1.4.2_17-x64\bin;E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\j2sdk1.4.2_17-x64\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;E:\usr\sap\PID\SYS\exe\uc\NTAMD64
-> arg[ 26]: -Dmemory.manager=2048M
-> arg[ 27]: -Xmx2048M
-> arg[ 28]: -Xms2048M
-> arg[ 29]: -DLoadBalanceRestricted=no
-> arg[ 30]: -Djstartup.mode=JCONTROL
-> arg[ 31]: -Djstartup.ownProcessId=4832
-> arg[ 32]: -Djstartup.ownHardwareId=J1559017989
-> arg[ 33]: -Djstartup.whoami=server
-> arg[ 34]: -Djstartup.debuggable=no
-> arg[ 35]: -Xss2m
-> arg[ 36]: -DSAPINFO=PID_10_server
-> arg[ 37]: -DSAPSTART=1
-> arg[ 38]: -DCONNECT_PORT=1247
-> arg[ 39]: -DSAPSYSTEM=10
-> arg[ 40]: -DSAPSYSTEMNAME=PID
-> arg[ 41]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 42]: -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
-> arg[ 43]: -DFRFC_FALLBACK=ON
-> arg[ 44]: -DFRFC_FALLBACK_HOST=localhost
-> arg[ 45]: -DSAPSTARTUP=1
-> arg[ 46]: -DSAPSYSTEM=10
-> arg[ 47]: -DSAPSYSTEMNAME=PID
-> arg[ 48]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 49]: -DSAPDBHOST=DUSLEXPID01
-> arg[ 50]: -Dj2ee.dbhost=DUSLEXPID01
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
[Thr 4076] JHVM_LoadJavaVM: Java VM created OK.
JHVM_BuildArgumentList: main method arguments of node [server0]
[Thr 3496] Wed Nov 05 08:14:05 2008
[Thr 3496] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 3496] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 3496] JLaunchISetClusterId: set cluster id 106859350
[Thr 3496] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 3496] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
Wed Nov 05 08:14:10 2008
6.041: [GC 6.041: [DefNew: 174592K->13335K(261888K), 0.1211930 secs] 174592K->13335K(2009856K), 0.1215843 secs]
Wed Nov 05 08:14:14 2008
9.883: [GC 9.883: [DefNew: 187927K->15890K(261888K), 0.0979547 secs] 187927K->15890K(2009856K), 0.0980789 secs]
Wed Nov 05 08:14:21 2008
17.430: [GC 17.430: [DefNew: 190482K->19358K(261888K), 0.0930447 secs] 190482K->19358K(2009856K), 0.0930765 secs]
Wed Nov 05 08:14:32 2008
27.978: [GC 27.978: [DefNew: 193950K->19860K(261888K), 0.0579395 secs] 193950K->19860K(2009856K), 0.0580111 secs]
Wed Nov 05 08:14:37 2008
33.029: [GC 33.029: [DefNew: 194452K->27786K(261888K), 0.1155328 secs] 194452K->27786K(2009856K), 0.1156287 secs]
[Thr 2848] Wed Nov 05 08:14:38 2008
[Thr 2848] JLaunchIExitJava: exit hook is called (rc = -11113)
[Thr 2848] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
[Thr 2848] JLaunchCloseProgram: good bye (exitcode = -11113)
trc file: "E:\usr\sap\PID\DVEBMGS10\work\dev_server0", trc level: 1, release: "700"
node name : ID106859350
pid : 4556
system name : PID
system nr. : 10
started at : Wed Nov 05 08:14:39 2008
arguments :
arg[00] : E:\usr\sap\PID\DVEBMGS10\exe\jlaunch.exe
arg[01] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[02] : -DSAPINFO=PID_10_server
arg[03] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[04] : -DSAPSTART=1
arg[05] : -DCONNECT_PORT=1247
arg[06] : -DSAPSYSTEM=10
arg[07] : -DSAPSYSTEMNAME=PID
arg[08] : -DSAPMYNAME=DUSLEXPID01_PID_10
arg[09] : -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[10] : -DFRFC_FALLBACK=ON
arg[11] : -DFRFC_FALLBACK_HOST=localhost
[Thr 4332] Wed Nov 05 08:14:39 2008
[Thr 4332] *** WARNING => INFO: Unknown property [instance.box.number=PIDDVEBMGS10duslexpid01] [jstartxx.c 841]
[Thr 4332] *** WARNING => INFO: Unknown property [instance.en.host=DUSLEXPID01] [jstartxx.c 841]
[Thr 4332] *** WARNING => INFO: Unknown property [instance.en.port=3220] [jstartxx.c 841]
[Thr 4332] *** WARNING => INFO: Unknown property [instance.system.id=10] [jstartxx.c 841]
JStartupReadInstanceProperties: read instance properties [E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties]
-> ms host : DUSLEXPID01
-> ms port : 3920
-> OS libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Instance properties
-> ms host : DUSLEXPID01
-> ms port : 3920
-> os libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Bootstrap nodes
-> [00] bootstrap : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] bootstrap_ID10685930 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [02] bootstrap_ID10685935 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Worker nodes
-> [00] ID106859300 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] ID106859350 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
[Thr 4332] JLaunchRequestQueueInit: create named pipe for ipc
[Thr 4332] JLaunchRequestQueueInit: create pipe listener thread
[Thr 1764] JLaunchRequestFunc: Thread 1764 started as listener thread for np messages.
[Thr 2972] WaitSyncSemThread: Thread 2972 started as semaphore monitor thread.
[Thr 4332] NiInit3: NI already initialized; param 'maxHandles' ignored (1;10002)
[Thr 4332] CPIC (version=700.2006.09.13)
[Thr 4332] [Node: server0] java home is set by profile parameter
Java Home: D:\j2sdk1.4.2_17-x64
[Thr 4332] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
JStartupIReadSection: read node properties [ID106859350]
-> node name : server0
-> node type : server
-> node execute : yes
-> jlaunch parameters :
-> java path : D:\j2sdk1.4.2_17-x64
-> java parameters : -Djco.jarm=1 -XX:MaxPermSize=512M -XX:PermSize=512M -XX:NewSize=341M -XX:MaxNewSize=341M -XX:DisableExplicitGC -verbose:gc -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> java vm version : 1.4.2_17-b06
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
-> java vm type : server
-> java vm cpu : amd64
-> heap size : 2048M
-> init heap size : 2048M
-> root path : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\server0
-> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> OS libs path : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
-> shutdown class : com.sap.engine.boot.Start
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 51021
-> shutdown timeout : 120000
[Thr 4332] JLaunchISetDebugMode: set debug mode [no]
[Thr 5364] JLaunchIStartFunc: Thread 5364 started as Java VM thread.
[Thr 5364] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
Java Parameters: -Xss2m
JHVM_LoadJavaVM: VM Arguments of node [server0]
-> stack : 1048576 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: vfprintf
-> arg[ 3]: -Djco.jarm=1
-> arg[ 4]: -XX:MaxPermSize=512M
-> arg[ 5]: -XX:PermSize=512M
-> arg[ 6]: -XX:NewSize=341M
-> arg[ 7]: -XX:MaxNewSize=341M
-> arg[ 8]: -XX:+DisableExplicitGC
-> arg[ 9]: -verbose:gc
-> arg[ 10]: -XX:+PrintGCDetails
-> arg[ 11]: -XX:+PrintGCTimeStamps
-> arg[ 12]: -Djava.awt.headless=true
-> arg[ 13]: -Dsun.io.useCanonCaches=false
-> arg[ 14]: -XX:SoftRefLRUPolicyMSPerMB=1
-> arg[ 15]: -XX:SurvivorRatio=2
-> arg[ 16]: -XX:TargetSurvivorRatio=90
-> arg[ 17]: -Djava.security.policy=./java.policy
-> arg[ 18]: -Djava.security.egd=file:/dev/urandom
-> arg[ 19]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-> arg[ 20]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-> arg[ 21]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> arg[ 22]: -Dsys.global.dir=E:\usr\sap\PID\SYS\global
-> arg[ 23]: -Dapplication.home=E:\usr\sap\PID\DVEBMGS10\exe
-> arg[ 24]: -Djava.class.path=E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> arg[ 25]: -Djava.library.path=D:\j2sdk1.4.2_17-x64\jre\bin\server;D:\j2sdk1.4.2_17-x64\jre\bin;D:\j2sdk1.4.2_17-x64\bin;E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\j2sdk1.4.2_17-x64\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;E:\usr\sap\PID\SYS\exe\uc\NTAMD64
-> arg[ 26]: -Dmemory.manager=2048M
-> arg[ 27]: -Xmx2048M
-> arg[ 28]: -Xms2048M
-> arg[ 29]: -DLoadBalanceRestricted=no
-> arg[ 30]: -Djstartup.mode=JCONTROL
-> arg[ 31]: -Djstartup.ownProcessId=4556
-> arg[ 32]: -Djstartup.ownHardwareId=J1559017989
-> arg[ 33]: -Djstartup.whoami=server
-> arg[ 34]: -Djstartup.debuggable=no
-> arg[ 35]: -Xss2m
-> arg[ 36]: -DSAPINFO=PID_10_server
-> arg[ 37]: -DSAPSTART=1
-> arg[ 38]: -DCONNECT_PORT=1247
-> arg[ 39]: -DSAPSYSTEM=10
-> arg[ 40]: -DSAPSYSTEMNAME=PID
-> arg[ 41]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 42]: -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
-> arg[ 43]: -DFRFC_FALLBACK=ON
-> arg[ 44]: -DFRFC_FALLBACK_HOST=localhost
-> arg[ 45]: -DSAPSTARTUP=1
-> arg[ 46]: -DSAPSYSTEM=10
-> arg[ 47]: -DSAPSYSTEMNAME=PID
-> arg[ 48]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 49]: -DSAPDBHOST=DUSLEXPID01
-> arg[ 50]: -Dj2ee.dbhost=DUSLEXPID01
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
[Thr 5364] JHVM_LoadJavaVM: Java VM created OK.
JHVM_BuildArgumentList: main method arguments of node [server0]
[Thr 2276] Wed Nov 05 08:14:40 2008
[Thr 2276] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 2276] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 2276] JLaunchISetClusterId: set cluster id 106859350
[Thr 2276] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 2276] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
Wed Nov 05 08:14:45 2008
6.149: [GC 6.149: [DefNew: 174592K->12572K(261888K), 0.1167197 secs] 174592K->12572K(2009856K), 0.1173636 secs]
Wed Nov 05 08:14:50 2008
11.033: [GC 11.033: [DefNew: 187164K->16026K(261888K), 0.3094818 secs] 187164K->16026K(2009856K), 0.3096690 secs]
Wed Nov 05 08:14:54 2008
15.113: [GC 15.113: [DefNew: 190618K->20238K(261888K), 0.0939458 secs] 190618K->20238K(2009856K), 0.0941899 secs]
Wed Nov 05 08:15:03 2008
23.451: [GC 23.451: [DefNew: 194830K->20577K(261888K), 0.0593913 secs] 194830K->20577K(2009856K), 0.0595215 secs]
Wed Nov 05 08:15:10 2008
30.771: [GC 30.772: [DefNew: 195169K->23221K(261888K), 0.0654910 secs] 195169K->23221K(2009856K), 0.0655797 secs]
Wed Nov 05 08:15:14 2008
35.442: [GC 35.442: [DefNew
Wed Nov 05 08:15:15 2008
: 197813K->28542K(261888K), 0.1275143 secs] 197813K->28542K(2009856K), 0.1276902 secs]
[Thr 3952] Wed Nov 05 08:15:16 2008
[Thr 3952] JLaunchIExitJava: exit hook is called (rc = -11113)
[Thr 3952] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
[Thr 3952] JLaunchCloseProgram: good bye (exitcode = -11113)
trc file: "E:\usr\sap\PID\DVEBMGS10\work\dev_server0", trc level: 1, release: "700"
node name : ID106859350
pid : 6068
system name : PID
system nr. : 10
started at : Wed Nov 05 08:15:19 2008
arguments :
arg[00] : E:\usr\sap\PID\DVEBMGS10\exe\jlaunch.exe
arg[01] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[02] : -DSAPINFO=PID_10_server
arg[03] : pf=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[04] : -DSAPSTART=1
arg[05] : -DCONNECT_PORT=1247
arg[06] : -DSAPSYSTEM=10
arg[07] : -DSAPSYSTEMNAME=PID
arg[08] : -DSAPMYNAME=DUSLEXPID01_PID_10
arg[09] : -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
arg[10] : -DFRFC_FALLBACK=ON
arg[11] : -DFRFC_FALLBACK_HOST=localhost
[Thr 4752] Wed Nov 05 08:15:19 2008
[Thr 4752] *** WARNING => INFO: Unknown property [instance.box.number=PIDDVEBMGS10duslexpid01] [jstartxx.c 841]
[Thr 4752] *** WARNING => INFO: Unknown property [instance.en.host=DUSLEXPID01] [jstartxx.c 841]
[Thr 4752] *** WARNING => INFO: Unknown property [instance.en.port=3220] [jstartxx.c 841]
[Thr 4752] *** WARNING => INFO: Unknown property [instance.system.id=10] [jstartxx.c 841]
JStartupReadInstanceProperties: read instance properties [E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties]
-> ms host : DUSLEXPID01
-> ms port : 3920
-> OS libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Instance properties
-> ms host : DUSLEXPID01
-> ms port : 3920
-> os libs : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Bootstrap nodes
-> [00] bootstrap : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] bootstrap_ID10685930 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [02] bootstrap_ID10685935 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
Worker nodes
-> [00] ID106859300 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
-> [01] ID106859350 : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\instance.properties
[Thr 4752] JLaunchRequestQueueInit: create named pipe for ipc
[Thr 4752] JLaunchRequestQueueInit: create pipe listener thread
[Thr 4252] JLaunchRequestFunc: Thread 4252 started as listener thread for np messages.
[Thr 4512] WaitSyncSemThread: Thread 4512 started as semaphore monitor thread.
[Thr 4752] NiInit3: NI already initialized; param 'maxHandles' ignored (1;10002)
[Thr 4752] CPIC (version=700.2006.09.13)
[Thr 4752] [Node: server0] java home is set by profile parameter
Java Home: D:\j2sdk1.4.2_17-x64
[Thr 4752] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
JStartupIReadSection: read node properties [ID106859350]
-> node name : server0
-> node type : server
-> node execute : yes
-> jlaunch parameters :
-> java path : D:\j2sdk1.4.2_17-x64
-> java parameters : -Djco.jarm=1 -XX:MaxPermSize=512M -XX:PermSize=512M -XX:NewSize=341M -XX:MaxNewSize=341M -XX:DisableExplicitGC -verbose:gc -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> java vm version : 1.4.2_17-b06
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
-> java vm type : server
-> java vm cpu : amd64
-> heap size : 2048M
-> init heap size : 2048M
-> root path : E:\usr\sap\PID\DVEBMGS10\j2ee\cluster\server0
-> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> OS libs path : E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar
-> shutdown class : com.sap.engine.boot.Start
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 51021
-> shutdown timeout : 120000
[Thr 4752] JLaunchISetDebugMode: set debug mode [no]
[Thr 3816] JLaunchIStartFunc: Thread 3816 started as Java VM thread.
[Thr 3816] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
Java Parameters: -Xss2m
JHVM_LoadJavaVM: VM Arguments of node [server0]
-> stack : 1048576 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: vfprintf
-> arg[ 3]: -Djco.jarm=1
-> arg[ 4]: -XX:MaxPermSize=512M
-> arg[ 5]: -XX:PermSize=512M
-> arg[ 6]: -XX:NewSize=341M
-> arg[ 7]: -XX:MaxNewSize=341M
-> arg[ 8]: -XX:+DisableExplicitGC
-> arg[ 9]: -verbose:gc
-> arg[ 10]: -XX:+PrintGCDetails
-> arg[ 11]: -XX:+PrintGCTimeStamps
-> arg[ 12]: -Djava.awt.headless=true
-> arg[ 13]: -Dsun.io.useCanonCaches=false
-> arg[ 14]: -XX:SoftRefLRUPolicyMSPerMB=1
-> arg[ 15]: -XX:SurvivorRatio=2
-> arg[ 16]: -XX:TargetSurvivorRatio=90
-> arg[ 17]: -Djava.security.policy=./java.policy
-> arg[ 18]: -Djava.security.egd=file:/dev/urandom
-> arg[ 19]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-> arg[ 20]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-> arg[ 21]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> arg[ 22]: -Dsys.global.dir=E:\usr\sap\PID\SYS\global
-> arg[ 23]: -Dapplication.home=E:\usr\sap\PID\DVEBMGS10\exe
-> arg[ 24]: -Djava.class.path=E:\usr\sap\PID\DVEBMGS10\exe\jstartup.jar;E:\usr\sap\PID\DVEBMGS10\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
-> arg[ 25]: -Djava.library.path=D:\j2sdk1.4.2_17-x64\jre\bin\server;D:\j2sdk1.4.2_17-x64\jre\bin;D:\j2sdk1.4.2_17-x64\bin;E:\usr\sap\PID\DVEBMGS10\j2ee\os_libs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\j2sdk1.4.2_17-x64\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;E:\usr\sap\PID\SYS\exe\uc\NTAMD64
-> arg[ 26]: -Dmemory.manager=2048M
-> arg[ 27]: -Xmx2048M
-> arg[ 28]: -Xms2048M
-> arg[ 29]: -DLoadBalanceRestricted=no
-> arg[ 30]: -Djstartup.mode=JCONTROL
-> arg[ 31]: -Djstartup.ownProcessId=6068
-> arg[ 32]: -Djstartup.ownHardwareId=J1559017989
-> arg[ 33]: -Djstartup.whoami=server
-> arg[ 34]: -Djstartup.debuggable=no
-> arg[ 35]: -Xss2m
-> arg[ 36]: -DSAPINFO=PID_10_server
-> arg[ 37]: -DSAPSTART=1
-> arg[ 38]: -DCONNECT_PORT=1247
-> arg[ 39]: -DSAPSYSTEM=10
-> arg[ 40]: -DSAPSYSTEMNAME=PID
-> arg[ 41]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 42]: -DSAPPROFILE=E:\usr\sap\PID\SYS\profile\PID_DVEBMGS10_DUSLEXPID01
-> arg[ 43]: -DFRFC_FALLBACK=ON
-> arg[ 44]: -DFRFC_FALLBACK_HOST=localhost
-> arg[ 45]: -DSAPSTARTUP=1
-> arg[ 46]: -DSAPSYSTEM=10
-> arg[ 47]: -DSAPSYSTEMNAME=PID
-> arg[ 48]: -DSAPMYNAME=DUSLEXPID01_PID_10
-> arg[ 49]: -DSAPDBHOST=DUSLEXPID01
-> arg[ 50]: -Dj2ee.dbhost=DUSLEXPID01
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
[Thr 3816] JHVM_LoadJavaVM: Java VM created OK.
JHVM_BuildArgumentList: main method arguments of node [server0]
[Thr 1372] Wed Nov 05 08:15:20 2008
[Thr 1372] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 1372] Wed Nov 05 08:15:21 2008
[Thr 1372] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 1372] JLaunchISetClusterId: set cluster id 106859350
[Thr 1372] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 1372] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
Wed Nov 05 08:15:26 2008
6.529: [GC 6.529: [DefNew: 174592K->13437K(261888K), 0.1218582 secs] 174592K->13437K(2009856K), 0.1223161 secs]
Wed Nov 05 08:15:30 2008
10.941: [GC 10.942: [DefNew
Wed Nov 05 08:15:31 2008
: 188029K->15892K(261888K), 0.3255441 secs] 188029K->15892K(2009856K), 0.3256218 secs]
Wed Nov 05 08:15:38 2008
18.455: [GC 18.455: [DefNew: 190484K->19362K(261888K), 0.0835074 secs] 190484K->19362K(2009856K), 0.0836031 secs]
Wed Nov 05 08:15:48 2008
28.946: [GC 28.946: [DefNew: 193954K->19874K(261888K), 0.0533974 secs] 193954K->19874K(2009856K), 0.0534885 secs]
Wed Nov 05 08:15:53 2008
34.034: [GC 34.035: [DefNew: 194466K->27947K(261888K), 0.1244274 secs] 194466K->27947K(2009856K), 0.1247078 secs]
[Thr 3852] Wed Nov 05 08:15:54 2008
[Thr 3852] JLaunchIExitJava: exit hook is called (rc = -11113)
[Thr 3852] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
[Thr 3852] JLaunchCloseProgram: good bye (exitcode = -11113)
Regards,
Sankar -
"execute" button on configtool's java parameters
On the panel for java parameters for dispatcher and server,
there is a check box on top labeld "execute".
What is the difference with or without it being checked?
Thanks!Hi Lee,
Check these files, it may give you some help:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ff06a590-0201-0010-52a1-f3caa35f5fcf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ff06a590-0201-0010-52a1-f3caa35f5fcf</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3729c790-0201-0010-d5b2-9fd94ad68017">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3729c790-0201-0010-d5b2-9fd94ad68017</a>
Regards,
Subhasha Ranjan -
Java Plugin With Client Cert Auth and Keepalive
Hi,
I have a Java Applet that connects to a site requiring client side certificates. The site is running Apache 2.0.54 with a keepalive timeout of 15 minutes. As a result the applet prompts the user for a client side certificate on its inital connection and does not prompt again unless the user has been idle for more than 15 minutes. My problem is that when we try this through our Squid proxy, the Applet prompts the user on virtually every request, making for a very annoying user experience.
We have played with both Squid 2.4 and 3.0 and tweaked serveral promising-sounding parameters with no success. Is there something I am missing? I can mail any logs or config files as needed. One clue is that it does seem to work for requests spaced at about 2 seconds or so apart, but not more.
Thanks for any insights as to what might be happening here.
Best,
SethIssue resolved by creating a role with the relevant UME Action permissions. Not entirely sure if this is the best way forward, but it seems to work.
If anyone has other suggestions, or better ways of doing this, please let me know.
Thanks -
The type Set is not generic; it cannot be parameterized with arguments K ?
When I use Hashtable or HashMap to get the keySet, it shows the error of "The type Set is not generic; it cannot be parameterized with arguments <K>".
The following is my code:
Hashtable table = new Hashtable();
table.put("A", new Integer(1));
table.put("B", new Integer(2));
Iterator its = table.keySet().iterator(); // <<<<<<<<<<<<<< this line shows the error "The type Set is not generic; it cannot be parameterized with arguments <K>"
How can I solve it? Please help me! I have no idea on it. It works fine in 1.4.
Best regards,
EricThe original is my codes, please help!
public static List findDlicApp(Date startDate, Date endDate, Connection con) {
String SQL = getSQL("app.sql");
String where = getSQL("app.sql.where");
boolean hasWhere = false;
if (startDate != null) {
SQL = SQL + " where d.create_date >= to_date('" + DMSUtil.convertDateToString(startDate) + "', 'yyyy-MM-dd')";
hasWhere = true;
if (endDate != null) {
if (hasWhere) {
SQL = SQL + " and to_date(to_char(d.create_date, 'yyyy-mm-dd'), 'yyyy-mm-dd') <= to_date('" + DMSUtil.convertDateToString(endDate) + "', 'yyyy-MM-dd')";
} else {
SQL = SQL + " where to_date(to_char(d.create_date, 'yyyy-mm-dd'), 'yyyy-mm-dd') <= to_date('" + DMSUtil.convertDateToString(endDate) + "', 'yyyy-MM-dd')";
hasWhere = true;
if (hasWhere) {
SQL = SQL + " and " + where;
} else {
SQL = SQL + " where " + where;
SQL = SQL + " " + getSQL("app.sql.order");
//System.out.println(SQL);
//Connection con = getParaDMConnection("findDlicApp");
HashMap<String, DlicApp> dlicDocs = new HashMap<String, DlicApp>();
List result = new ArrayList();
try {
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(SQL);
long lastDocID = 0;
boolean hasStartDate = false;
while(rs.next()) {
long docID = rs.getLong("docID");
String docName = rs.getString("docName");
String refNo = rs.getString("refNo");
java.util.Date createDate = rs.getDate("createDate");
String creator = rs.getString("creator");
String profileType = rs.getString("profileType");
String assunto = rs.getString("assunto");
String fromEntity = rs.getString("fromEntity");
String location = getLocation(docID, con);
long fieldID = rs.getLong("fieldID");
String fieldValue = rs.getString("fValue");
DlicApp doc = null;
if (dlicDocs.containsKey(String.valueOf(docID))) {
doc = (DlicApp)dlicDocs.get(String.valueOf(docID));
} else {
doc = new DlicApp();
doc.setId(docID);
doc.setDocName(docName);
doc.setReferenceNo(refNo);
doc.setCreateDate(createDate);
doc.setCreator(creator);
doc.setProfileType(profileType);
doc.setAssunto(assunto);
doc.setFrom(fromEntity);
//if (doc.getStartDate() == null) {
// doc.setStartDate(createDate);
doc.setLocation(location);
if (fieldValue != null) {
if (fieldID == 1114) {
doc.setChineseName(fieldValue);
if (fieldID == 1115) {
doc.setPortugueseName(fieldValue);
if (fieldID == 1116) {
doc.setApplicationCategory(fieldValue);
if (fieldID == 1118) {
doc.setStatus(fieldValue);
if (fieldID == 1119) {
Date d = DMSUtil.parseDate(fieldValue, "yyyy-MM-dd");
doc.setStartDate(d);
hasStartDate = true;
if (fieldID == 1120) {
Date d = DMSUtil.parseDate(fieldValue, "yyyy-MM-dd");
if (!StringUtils.isEmpty(fieldValue)) {
//System.out.println(docName + ":" + fieldValue + ">>>>>>>>>findDlicApp>>>>>>>>>>>>>>>>>>APP END DATE: " + d);
doc.setEndDate(d);
if (docID != lastDocID) {
doc.setRelatedDocs(findRelatedDoc(docID, con));
lastDocID = docID;
dlicDocs.put(String.valueOf(docID), doc);
stmt.close();
rs.close();
Iterator<String> its = dlicDocs.keySet().iterator();
while(its.hasNext()) {
String id = (String)its.next();
DlicApp a = (DlicApp)dlicDocs.get(id);
a.setRelatedDocs(findRelatedDoc(a.getId(), con));
dlicDocs.put(id, a);
result.addAll(dlicDocs.values());
// take out start date is not in the given period
int n = 0;
while(true) {
if (n < result.size()) {
DlicApp a = (DlicApp)result.get(n);
Date sd = a.getStartDate();
if (!isWithin(sd, startDate, endDate)) {
result.remove(n);
} else {
n++;
} else {
break;
} catch(Exception e) {
e.printStackTrace();
if (result.size() > 0) {
Collections.sort(result, new DmsDocComparator());
return result;
}Edited by: EJP on 13/01/2011 14:41: added code tags for you. Please use them next time. -
Hi,
I have found the SAP Note "898637 - Upload to KM does not work".
The solution is :
With the config tool of the engine, edit/add the following two entries to the server node java parameters:
Example:
-Djava.io.tmpdir=e:\EP_TEMP
-Dcm.tmpdir=e:\EP_TEMP
But in the Config Tool or in Visual Administrator, I don't find this 2 parameters.
Where can I modify or add the this 2 parameters ?
Where is the server node java parameters ?
Tanks for your help.
Regards,
MathieuHi Mathieu,
see my reply in your cross posted thread: /message/2781417#2781417 [original link is broken]
Hope it already helps you solve your problem,
Robert -
[Java 3D] with JOGL
Hi,
I'm looking for tutorial to use Java 3D with JOGL.
I saw that seems to be possible on Java 3D website but I can't see any example (for Direct3D too).
Else, does anyone know if JOGL 2 is supported or if it will be supported in future ?
Thanks in advance.Hi,
Java 3D is a high level 3D API in contrast to the low level 3D APIs OpenGL, Direct3D, and the corresponding wrapper APIs like JOGL and LWJGL.
The Java 3D engine can be run on any of these rendering pipelines: OpenGL, OpenGL/JOGL, or Direct3D. The default pipeline on Windows and Linux is OpenGL, on Mac OS X OpenGL/JOGL. If OpenGL is not available on Windows the engine switches to Direct3D. JOGL is used in Java 3D to avoid an implemention of the JNI/OpenGL-interface for Mac OS X as it is done for Windows and Linux. To choose OpenGL/JOGL on Windows/Linux the system variable 'j3d.rend' has to be set to 'jogl' and to choose Direct3D on Windows the system variable has to be set to 'd3d'. The default value is 'ogl'.
From the Java 3D application point of view the rendering pipeline is not relevant. The public Java 3D API is independant of the rendering pipeline. Only a few Appearance attributes are not supported on Direct3D.
So, all Java 3D tutorials, sample programs, or your applications can be run on all pipelines and can't be/don't have to be adapted to OpenGL, OpenGL/JOGL, or Direct3D. You don't have direct access to the pipelines from within your Java 3D application.
I'm not aware of any advantages for running Java 3D on the OpenGL/JOGL pipeline. On the Direct3D pipeline a faster Java 3D rendering can be achieved than on OpenGL.
JOGL 1.1.1a is the preferred release to run Java 3D. AFAIK JogAmp's JOGL 2 fork is not downwards compatible. I assume the current Java 3D release wouldn't benefit from it. I'm not aware of anyone working on a next Java 3D release which includes a future JOGL release. I started a Java 3D fork (JUniversal3D, not public yet) and I dropped JOGL as an intermediate API for accessing OpenGL.
Oracle.Sun stopped all its 3D engagements (Java 3D, JOGL, Wonderland) and hasn't made any substantial anouncement about 3D rendering capabilities for its future JavaFX 2.0. So, it's up to third parties to supply 3D APIs for Java desktop and web applications.
August -
Jar files download problems in Java Webstart with JRE 1.6
We have encountered a few problems in Java Webstart with JRE 1.6
In JRE 1.5, the jar files are getting downloaded onto the client
machine with it's original names.
Example :
Server File Name : acm.jar
Client File Name : RMacm.jar
But in JRE 1.6, the jar files are getting downloaded with improper file names.
Example :
Server File Name : acm.jar
Client File Name : 4fb074cc-66fc7407
Moreover the path itself seems to be invalid.
Example Path :
JRE 1.5 path:
C:\Documents and Settings\Administrator\Application
Data\Sun\Java\Deployment\cache\javaws\https\D17.16.23.11\P443\DMtest\DMwebStart
JRE 1.6 path:
C:\Documents and Settings\Administrator\Application
Data\Sun\Java\Deployment\cache\6.0\12
Due to this, we are facing Classpath problems.
What changes do we have to make to the code, for Java
Webstart to work ?
We are using JBoss 4.0.4 and JDK 1.5 in the Server
On the client machine, we have IE 6 and JRE 1.6.01
Help would be appreciated.Ask your Java Web Start question at:
http://forum.java.sun.com/forum.jspa?forumID=38
Maybe you are looking for
-
Acrobat won't read online pdf links
For several days I've had a problem being able to read PDF files online. I click on a link which has a PDF extension I get an error message which says "There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (1014:1
-
Which details to use while renewing subscription?
Hi, I have a Subscription that needs to be renewed. Last time I bank deposit ZAR 117.04 in the month of April for 3 months. How should I make the payment now? The instructions clearly says that the payment reference number can only be used once. Curr
-
is it possible to put a blog on my web page where other people can post anything at anytime?
-
Best Pen for taking notes on the twist
Hi, I'm curious at what pen can be best used for taking notes on my Twist. When I use OneNote it won't let me use my finger or the rubber tipped stylus to write with, but instead requires the use of the keyboard, very annoying when in class. I've b
-
Get error 500 message trying to get online bank site. What to do?
When trying to get online bank web address, I get a screen which reads "error 500". I can get the site using Internet Explorer but I prefer to use Mozilla Firefox because this is the one I usually use. How do I correct this issue. Thanks Bill Roberts