JDK1.1.8 'Random'
Hi
Im having a problem compiling my program that requires a random generator. The error says I have passed the wrong number of arguments, but I have taken my example straight from the textbook I am using. I am wondering if this is a version issue or if theres any other way to correct this.
As the title says I am using jdk1.1.8
Any help is appreciated. Thanks
Program
import java.util.Random;
public class recursive
public static void main (String[] args)
int b=1000;
for (int x=1; x<=10; x++)
Random rndgen = new Random();
int d = rndgen.nextInt(1999)-999;
if (b!=d)
System.out.print(d+ " ");
else
x--;
b=d;
System.out.println();
private Random rndgen;
Error msg
recursive.java:11: Wrong number of arguments in method.
int d = rndgen.nextInt(1999)-999;
^
1 error
Under 1.1 you can't specify an argument, this feature was implemented in the 1.2 specification. Try removing the argument to nextInt() and your program will compile.
Probably worth upgrading your compiler to 1.2.2 or later
Similar Messages
-
Hashtables: What on earth is wrong with the following code!?
I'm loosing my mind here:
[jdk1.4.2]
//random code...
Hashtable threads = new Hashtable(20);
threads.put(portNum, ipThread); //portNum is of type int
//ipThread is of type ThreadX, ThreadX extends Thread
//other code...
ThreadX t;
t = (ThreadX)threads.get(packet.getPort()); //packet.getPort() returns an INTAnd the compiler returns this:
path>javac *.java
IPServer.java:58: cannot resolve symbol
symbol : method put (int,ThreadX)
location: class java.util.Hashtable
threads.put(destinationPort, ipThread);
^
IPServer.java:67: cannot resolve symbol
symbol : method get (int)
location: class java.util.Hashtable
t = (ThreadX)threads.get(packet.getPort());
^
2 errors
Thanks ahead of time.From the JDK 1.4.2 documentation
"This class implements a hashtable, which maps keys to values. Any non-null object can be used as a key or as a value.
To successfully store and retrieve objects from a hashtable, the objects used as keys must implement the hashCode method and the equals method. "
I assumed from that an int or double or any other primitive, which implements both the hashCode and equals method, would work. -
i'm preparing for scjp5 n using jdk1.4.2.will i've to change my jdk environment to jdk5 or it won't create any problem in exam.
you actually understood the random scattering of letters that supposedly was a question?
No, you don't need any JDK installed to pass the SCJP exam. In theory at least (and sadly in practice apparently) it's possible to pass the exam by just cramming from a book. -
What is the max size of a zip file with the JDK1.5 ?
Hello everybody,
I'm a french student and for a project, I need to create a zip file, but I don't know in advance the number and the size of files to include in my zip.
I wish to know if someone have the answer to my question : what is the max size of a zip file with the JDK1.5 ? I believe that with the JDK1.3, the limit size of a zip was about 2Go, wasn't ?
Thank you for all answer !
Good day !
PS : sorry for my very poor english ;-)Here is all I have found for the moment :
...Okay, what about my suggestion of creating your own 10GB file?
Try this:import java.io.File;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.util.Random;
class Main {
public static void main(String[] args) {
long start = System.currentTimeMillis();
int mbs = 1024;
writeFile("E:/Temp/data/1GB.dat", mbs);
long end = System.currentTimeMillis();
System.out.println("Done writing "+mbs+" MB's to disk in "+
((end-start)/1000)+" seconds.");
private static void writeFile(String fileName, int numMegaBytes) {
try {
int numBytes = numMegaBytes*1024*1024;
File file = new File(fileName);
FileChannel rwChannel =
new RandomAccessFile(file, "rw").getChannel();
ByteBuffer buffer = rwChannel.map(
FileChannel.MapMode.READ_WRITE, 0, numBytes);
Random rand = new Random();
for(int i = 1; i <= numMegaBytes; i++) {
for(int j = 1; j <= 1024; j++) {
byte[] bytes = new byte[1024];
rand.nextBytes(bytes);
buffer.put(bytes);
rwChannel.close();
} catch(Exception e) {
e.printStackTrace();
}On my machine it took me 43 seconds to create a 1GB file, so it shouldn't take too long to create your own 10GB. Then try zipping that file.
Good luck. -
Dear All:
I am programming swing client project
I found an interesting difference betwen JDK1.4.1 & JDK1.4.2
While open socket to server ,jdk1.4.2 stub in server will open random port to the "request" client
(see below)
==============================
client ----------port:7001---------->ejb server JDK1.4.2
<--------port : ? (random)--
=================================
but in jdk1.4.1 ,only
====================================
client ----------port:7001---------->ejb server JDK1.4.1
======================================
This phenomenon ,confuesed me these days.Have any parameter to fix the socket connection rule for the latter JDK version?
Best Regards
johnThere's not enough info there: there should be a local and a remote port number per connection; but it's not possible the way you describe it. It's probably another connection from the client to the server, maybe for DGC?
-
Hi,
I was curious about the following error:
[javac] Error loading: C:\bea\jdk1.6.0_24\jre\bin\client\jvm.dll
Could someone let me know why this randomly occurs?
Thanks>
Thanks. Thats all the information I have on the error... Inquiring if anyone seen this before or know what could cause this.
>
If all you are inquiring about is whether anyone has seen that before then the answer is yes.
If instead you want help finding out what is causing it in your case then you have to provide information about what it is you are doing when it shows up. Does it show up everytime you cold boot your computer? Only when you check you email?
Give us the specifics. -
Deployment problems, random exceptions
Hey,
We are having some problems getting our application to deploy. First of all the
context:
We are running Weblobic 6.0sp2 on jdk1.3.1_01 on a Windows platform.
We have an application consisting of 102 beans about 90 of those are Entity Beans,
the rest are Session beans. The beans are split up in separate components, about
15 of them. The components are ejbc-ed and deployed as separate jar 's. They
don't use remote relationships to connect between the components, but Home interfaces
in combination with finders.
To allow the components to be build and deployed separately, we put the util classes
and the home and remotes in the system classpath. That of course makes hot deployment
impossible, but we don't need to bundle the application into an ear file.
The deployment goes fine, but when we run the application we get 2 different exceptions.
These are NoSuchMethodException and UnMarshallException. Sometimes it 's the
first, sometimes the second, without even redeploying or rebuilding the application.
And they occur on different ( random ) places in the code.
Any help would be Extremely much appreciated,
LieveThanks,
It works now. It 's crazy, but solves the problem.
Have a nice day,
Lieve
"Frankie Bollaert" <[email protected]> wrote:
>
Hello Lieve,
The problem is maybe related to naming. I had problems once with a jar
in the
system classpath, containing util classes, that was called base.jar
It seems that naming it differently solves the problem. If you name
it something
like base-<something>.jar, all the crazy problems will be solved. I
honestly
have no idea why or how this was happening, but it did.
Maybe this helps,
Frankie
"Lieve Van den Heuvel" <[email protected]> wrote:
Hey again,
So we have looked at the problem in more depth, and it seems that it
goes wrong
the first time a home interface is used.
The lookup works fine, but the first time a home is used it gives a(seemingly)
random exception. The second time however it works fine.
Would anybody have an idea ? Thanks,
Lieve
"Lieve Van den Heuvel" <[email protected]> wrote:
Hey,
We are having some problems getting our application to deploy. First
of all the
context:
We are running Weblobic 6.0sp2 on jdk1.3.1_01 on a Windows platform.
We have an application consisting of 102 beans about 90 of those are
Entity Beans,
the rest are Session beans. The beans are split up in separate components,
about
15 of them. The components are ejbc-ed and deployed as separate jar
's. They
don't use remote relationships to connect between the components, but
Home interfaces
in combination with finders.
To allow the components to be build and deployed separately, we putthe
util classes
and the home and remotes in the system classpath. That of course makes
hot deployment
impossible, but we don't need to bundle the application into an earfile.
The deployment goes fine, but when we run the application we get 2
different
exceptions.
These are NoSuchMethodException and UnMarshallException. Sometimes
it 's the
first, sometimes the second, without even redeploying or rebuildingthe
application.
And they occur on different ( random ) places in the code.
Any help would be Extremely much appreciated,
Lieve -
Service seems to randomly fail to start
I wonder if I am missing something obvious here. The service never fails to start when started manually. It only fails occasionally from a system startup.
The Java jar needs to run with a user's credentials and networking. Why would this fail randomly? What can I do to cause a restart? If the service did fail all I do is log in and run svcadm disable rrtserver then svcadm enable rrtserver it's like I am missing some dependency that causes failure but is up when I log in. Any ideas?
Here's the file /lib/svc/method/rrtserver
. /lib/svc/share/smf_include.sh
# Java config
JAVA_HOME=/usr/jdk/instances/jdk1.5.0
JAVA=${JAVA_HOME}/bin/java
JAVA_OPTS="-server -Xms64m -Xmx1g"
# RRT config
RRT_HOME=/disk80/RRT/Programs/network
RRT_CONSOLE=${RRT_HOME}/logs/svc.log #/dev/null
# Instance specific
RRT_SERVICE=`echo $SMF_FMRI | sed 's/.*:\(.*\)/\1/'`
PIDFILE=${RRT_HOME}/rrtserver_${RRT_SERVICE}.pid
# Environment
PATH=/disk80/RRT/utils:/bin:/usr/bin
LD_LIBRARY_PATH=/usr/sfw/lib:${JAVA_HOME}/jre/lib/i386/server:${JAVA_HOME}/jre/lib/i386
RRTPATH=/disk80/RRT
export PATH LD_LIBRARY_PATH RRTPATH
rrt_start() {
echo "Starting RRT Server..."
$JAVA $JAVA_OPTS -jar $RRT_HOME/network-server.jar $RRT_HOME/server.xml >$RRT_CONSOLE 2>&1 & echo $! >${PIDFILE}
rrt_stop() {
echo "Stopping RRT Server..."
PID=`cat ${PIDFILE}`
kill -TERM $PID
pwait $PID
rm ${PIDFILE}
case "$1" in
'start')
rrt_start
'restart')
echo "Restarting RRT Server..."
rrt_stop
rrt_start
'stop')
rrt_stop
echo "Usage: $0 { start | restart | stop }"
exit 1
esac
exit $SMF_EXIT_OKHere's the file /var/svc/manifest/application/rrtserver.xml
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="manifest" name="rrtserver">
<service name="application/rrtserver" type="service" version="1">
<create_default_instance enabled="true" />
<single_instance />
<dependency name="loopback" grouping="require_any" restart_on="error" type="service">
<service_fmri value="svc:/network/loopback" />
</dependency>
<dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
<service_fmri value="svc:/system/filesystem/local"/>
</dependency>
<dependency name="autofs" grouping="require_all" restart_on="error" type="service">
<service_fmri value="svc:/system/filesystem/autofs"/>
</dependency>
<dependency name="network" grouping="optional_all" restart_on="error" type="service">
<service_fmri value="svc:/milestone/network" />
</dependency>
<exec_method name="start" type="method" exec="/lib/svc/method/rrtserver start" timeout_seconds="180">
<method_context>
<method_credential user="aces" group="rrt" />
</method_context>
</exec_method>
<exec_method name="restart" type="method" exec="/lib/svc/method/rrtserver restart" timeout_seconds="60">
<method_context>
<method_credential user="aces" group="rrt" />
</method_context>
</exec_method>
<exec_method name="stop" type="method" exec="/lib/svc/method/rrtserver stop" timeout_seconds="60">
<method_context>
<method_credential user="aces" group="rrt" />
</method_context>
</exec_method>
<!-- sub-process core dumps shouldn't restart session -->
<property_group name="startd" type="framework">
<propval name="ignore_error" type="astring" value="core,signal" />
</property_group>
<template>
<common_name>
<loctext xml:lang="C">RRT server</loctext>
</common_name>
</template>
</service>
</service_bundle>[root]# ps -e | grep httpd
1234 1234 httpd
1235 1234 httpd
1236 1234 httpd
1237 1234 httpd
1238 1234 httpd
1239 1234 httpd
1240 1234 httpd
1241 1234 httpd
Your ps headers aren't there, but it looks like the columns are 'pid' 'ppid' 'name' If this is the case, then these are threads, created by the parent pid of 1234, though these numbers look modified. Getting a pid of 1234 is quite lucky.
If this is the case then it's not spawning procs, but threads and is normal. Why they don't appear when manually started may be a configuration thing, as in it loads a different config file. What command do you use to start it manually? -
Random JVM crashes during serialization
After implementing Java serialization (JDK1.4.0-b92/Win2KPro/SP4) on fairly complex objects, I am getting frequent JVM crashes. These occur randomly (when serializing, when deserializing, during unrelated GUI operations after deserializing, etc.) and are not reproducible. Entries in the DrWatson error log (see below) appear to tag the function JVM_FindSignal as the culprit, but this doesn't get me any closer to a solution.
Any help is greatly appreciated!
State Dump for Thread Id 0x524
eax=02dcbfc8 ebx=6d42b0e0 ecx=00000008 edx=6d3f99e8 esi=06a101c0 edi=008da2d0
eip=6d386d0c esp=0acefccc ebp=0acefd04 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202
function: <nosymbols>
6d386cf1 a100b1426d ds:6d42b100=00909178
mov eax,[gHotSpotVMLongConstantEntryValueOffset+0x10f68 (6d42b100)]
6d386cf6 833800 cmp dword ptr [eax],0x0 ds:02dcbfc8=00000003
6d386cf9 7418 jz JVM_FindSignal+0x21309 (6d396c13)
6d386cfb ff08 dec dword ptr [eax] ds:02dcbfc8=00000003
6d386cfd 8b08 mov ecx,[eax] ds:02dcbfc8=00000003
6d386cff 8b4008 mov eax,[eax+0x8] ds:03855eae=00000000
6d386d02 8b0488 mov eax,[eax+ecx*4] ds:00000008=????????
6d386d05 50 push eax
6d386d06 8b4804 mov ecx,[eax+0x4] ds:03855eae=00000000
6d386d09 83c108 add ecx,0x8
FAULT ->6d386d0c 8b11 mov edx,[ecx] ds:00000008=????????
6d386d0e ff5248 call dword ptr [edx+0x48] ds:6de838ce=????????
6d386d11 ebde jmp JVM_FindSignal+0x1d7e7 (6d3930f1)
6d386d13 c3 ret
6d386d14 e900000000 jmp JVM_FindSignal+0x1140f (6d386d19)
6d386d19 c705d8b0426d4ca83f6d ds:6d42b0d8=6d3fa84c
mov dword ptr [gHotSpotVMLongConstantEntryValueOffset+0x10f40 (6d42b0d8)],0x6d3fa84c
6d386d23 c3 ret
6d386d24 a110b1426d ds:6d42b110=00001061
mov eax,[gHotSpotVMLongConstantEntryValueOffset+0x10f78 (6d42b110)]
6d386d29 3b0514b1426d ds:6d42b114=0000e000
cmp eax,[gHotSpotVMLongConstantEntryValueOffset+0x10f7c (6d42b114)]
6d386d2f 731d jnb JVM_FindSignal+0x19f44 (6d38f84e)
6d386d31 8b0d18b1426d ds:6d42b118=02e80000
mov ecx,[gHotSpotVMLongConstantEntryValueOffset+0x10f80 (6d42b118)]
6d386d37 8d0cc1 lea ecx,[ecx+eax*8] ds:02dcbfc8=00000003
----> Stack Back Trace <----
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0ACEFD04 6D386F8B 00000001 00000000 00000001 00000002 !JVM_FindSignal
0ACEFD58 6D3869E9 00000001 0ACEFDAC 00000000 008DA2D0 !JVM_FindSignal
0ACEFDB0 6D34DF0D 00000001 00000000 6D349257 00000000 !JVM_FindSignal
0ACEFE70 6D340A9E 00000000 00000000 009774E0 00000000 !JVM_CompilerCommand
0ACEFEA8 6D349369 0000223C 00000000 00000000 17F1A534 !<nosymbols>
0ACEFEF0 6D3BAE55 00000000 00735630 00909158 00909170 !<nosymbols>
0ACEFF10 6D3BAFBA 17F1A510 00735728 009774E0 00909A48 !JVM_RegisterUnsafeMethods
0ACEFF64 6D3BAD86 6D33DDB9 009774E0 6D38FECB 00909A48 !JVM_RegisterUnsafeMethods
0ACEFF7C 780085BC 009774E0 6D33DDB9 00735A68 00909A48 !JVM_RegisterUnsafeMethods
0ACEFFB4 7C4E987C 00909A48 6D33DDB9 00735A68 00909A48 !endthreadex
0ACEFFEC 00000000 00000000 00000000 00000000 00000000 kernel32!SetThreadExecutionStateI appear to have the exact same problem with the same JDK, however it only occurs at a customer site. I haven't been able to reproduce the problem on a machine I can fool around with yet.
The call stack I get is identical to the one you posted. My application is also using serialization so that could indeed be a factor. My application is a batch process without any user interface.
If you find a solution please let me know. At the moment my problem has only occurred on multi-processor machines (one had 2, the other 4 processors), so this may also be a factor.
Can you tell me how many processors you are using and if your application uses threading? This may help me narrow things down a bit. -
Random timeouts on queries in weblogic
We are using WL 5.1 with SP 9 and jdk1.2.2 oracle thin client classes12_01.zip
We have been having a weird situation where randomly the requesting
thread will be timed out within a request. This same request
works thousands of other times. There is no load on the db and
the network is fine (we ran packet tracing over the interval in question).
The server threw a 300s timeout and the thread was stopped in the
middle of the request, ie no exception was thrown in the requested thread.
Note action that died was outside of the stateless sessino bean in a jdbc query
Any thoughts?Jen:
All beans will timeout as defined by the timeout for the session.
Weblogic monitors the request duration on the thread and will time
it out if it does not finish within a certain time. Not anything to do
with a db transaction as such.
We are experiences an issue we think when the transaction dies
but does not unlock the lock for the ejb.
Philip.
"Jen " <[email protected]> wrote in message
news:[email protected]...
>
I am curious that if your stateless session bean got time out exception. Ihad a problem
that stateless session bean call helper class, and helper class connect todb (no
TX), and got couple time that ejb time out, after time out the processcontinued
which is around where the db operation happens. I still don't know dbcaused ejb
timed out or ejb hung and blocked the process
[email protected] (Philip) wrote:
Thanks Alex,
I have pulled down the latest 1.7 classes.zip and we
are running this through testing now. The biggest problem
we have had is being able to reproduce this. It is very random.
There were no database issues during the period in question
we monitor it for locks as well as waits.
Philip.
"AV" <[email protected]> wrote in message
news:<[email protected]>...
Previously, in this newsgroup, people reported
strange 60 sec delays from Oracle. General advice
is to update the driver (Oracle keeps the same name
classes12.zip, but actually updates it regularly).
Also, ask your DBA check what database is doing
in such moments: deadlock? system processes running?
nothing? waiting for something from somewhere?
AlexV.
"Philip" <[email protected]> wrote in message
news:[email protected]...
We are using WL 5.1 with SP 9 and jdk1.2.2 oracle thin clientclasses12_01.zip
We have been having a weird situation where randomly the requesting
thread will be timed out within a request. This same request
works thousands of other times. There is no load on the db and
the network is fine (we ran packet tracing over the interval in
question).
The server threw a 300s timeout and the thread was stopped in the
middle of the request, ie no exception was thrown in the requestedthread.
Note action that died was outside of the stateless sessino bean in ajdbc
query
Any thoughts? -
Hi,
We just migrated our test/prod environments to a new host, OS platform, from Windows Server 2003 R2 to Windows Server 2008 R2, using weblogic 10 MP1 with jrockit-R27.5.0-jdk1.5.0_14.
On the new host (on Win 2008), randomly the weblogic start crashes, with the following dump (this never happened on Win 2003). After a restart or two everything is OK.
The cmdline for start weblogic is:
-cmdline:"-jrockit -Xms1024m -Xmx1024m -Xmanagement -Djrockit.managementserver.port=8051 -XXcompressedrefs=false -Dweblogic.security.SSL.ignoreHostnameVerification
=true -Dweblogic.log.Log4jLoggingEnabled=true -javaagent:"c:\Java\jrebel.jar" -Drebel.log4j-plugin=true -noverify -classpath \".\lib\antlr-2.7.6.jar;.\lib\hzi-config.jar;.\lib\log4j-.2.8.jar;.\lib\jasperreports-3.7.6.jar;.\lib\commons-digester-1.6.jar;.\lib\commons-collections-3.2.jar;.\lib\commons-logging-1.1.jar;.\lib\commons-beanutils-1.7.0.jar;.\lib\iText-2.1.0.jar;.\lib\poi-3.6.jar;.\lib\commons-validator-1.3.0.jar;.\lib\commons-lang-2.4.jar;d:\bea100\patch_wls1001\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\jrockit-R27.5.0-jdk1.5.0_14\lib\tools.jar;D:\bea100\WLSERV~1.0\server\lib\weblogic_sp.jar;D:\bea100\WLSERV~1.0\server\lib\weblogic.jar;d:\bea100\modules\features\weblogic.server.modules_10.0.1.0.jar;d:\bea100\modules\features\com.bea.cie.common-plugin.launch_2.1.2.0.jar;D:\bea100\WLSERV~1.0\server\lib\webservices.jar;d:\bea100\modules\ORGAPA~1.5/lib/ant-a
ll.jar;d:\bea100\modules\NETSFA~1.0/lib/ant-contrib.jar;D:\bea100\WLSERV~1.0\server\lib\wllog4j.jar;;\lib\logformatter.jar\" -Dweblogic.Name=DirectServer -Dweblogic.management.username=testdc-Dweblogic.ProductionModeEnabled= -Djava.security.policy=\"D:\bea100\WLSERV~1.0\server\lib\weblogic.policy\" weblogic.Server" -log:".\servers\DirectServer\logs\stdout.log
Please advice on how to proceed.
Thanks and regards
Elod, Software developer
The dump is:
===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 00:01:57 on Wed Jun 27 02:20:16 2012
* If you see this dump, please go to *
* http://edocs.bea.com/jrockit/go2troubleshooting.html *
* for troubleshooting information. *
Additional information is available in:
c:\nightlybuild\nextPatch_webconnect\dc\src\jrockit.9916.dump
c:\nightlybuild\nextPatch_webconnect\dc\src\jrockit.9916.mdmp
Error Message: Illegal memory access. [54]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (00000000c0000005) at 0x000000001DD4E3D8 - memory at 0x000000001DD4E3D8 could not be written.
Minidump : Wrote mdmp. Size is 572MB
SafeDllMode : -1
Version : BEA JRockit(R) R27.5.0-110_o-99226-1.5.0_14-20080528-1505-windows-x86_64
GC Strategy : Mode: throughput. Currently using strategy: singleparpar
GC Status : OC is not running. Last finished OC was OC#87.
: YC is not running. Last finished YC was YC#264.
OC History : Strategy singleparpar was used for OC#73.
: Strategy genparpar was used for OC#74 to OC#79.
: Strategy singleparpar was used for OC#80.
: Strategy genparpar was used for OC#81 to OC#86.
: Strategy singleparpar was used for OC#87.
YC History : Ran 2 YCs before OC#83.
: Ran 1 YCs before OC#84.
: Ran 1 YCs before OC#85.
: Ran 0 YCs before OC#86.
: Ran 0 YCs before OC#87.
: Ran 0 YCs since last OC.
YC Promotion : Last YC successfully promoted all objects
Heap : 0x0000000010500000 - 0x0000000026CFD000 (Size: 359 MB)
Compaction : 0x0000000010500000 - 0x0000000011B7FD00 (Current compaction type: internal)
CompRefs : References are compressed, with heap base 0x0.
CPU : AMD Opteron QC/Phenom SSE SSE2 SSE3 SSE4A EM64T
Number CPUs : 8
Tot Phys Mem : 68718944256 (65535 MB)
OS version : Microsoft Windows "Longhorn" version 6.1 Service Pack 1 (Build 7601) (64-bit)
Thread System: Windows Threads
Java locking : Normal
State : JVM is running
Command Line : -Xmx512m -Dsun.java.launcher=SUN_STANDARD weblogic.appc d:\bea100\user_projects\domains\NextPatchDirectDomain\applications/Direct.ear
java.home : C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre
j.class.path : d:\bea100\wlserver_10.0\server\lib\weblogic.jar;d:\bea100\wlserver_10.0\server\lib\wllog4j.jar;d:\bea100\wlserver_10.0\server\lib\webservices.jar;C:\Java\jrockit-R27.5.0-jdk1.5.0_14\lib\tools.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\commons-collections-2.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\commons-logging.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\log4j.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\xdoclet-1.2.3.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\xdoclet-bea-module-1.2.3.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\xdoclet-ejb-module-1.2.3.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\xdoclet-jmx-module-1.2.3.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\xdoclet-web-module-1.2.3.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\xdoclet-xdoclet-module-1.2.3.jar;c:\nightlybuild\nextPatch_webconnect\dc\tools\lib\xdoclet\xjavadoc-1.1.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\ant-contrib-1.0b3.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\antlr-2.7.6.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\asm-attrs.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\asm.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\cglib-2.1.3.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\commons-codec-1.3.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\commons-httpclient-3.0.1.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\commons-logging-1.1.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\dozer-4.0-HZI.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\ehcache-1.2.3.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\ftp4che-0.7.1.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\ftp4j-1.7.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\hibernate-annotations.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\hibernate-commons-annotations.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\hibernate-entitymanager.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\hibernate3.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\j2ssh-ant-0.2.9.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\j2ssh-common-0.2.9.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\j2ssh-core-0.2.9.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\j2ssh-daemon-0.2.9.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\javassist.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\jce-jdk13-119.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\jdom.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\jsch-0.1.42.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\log4j-1.2.8.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\objectprofiler.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\recaptcha4j-0.0.7.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\sevenzipjbinding-AllWindows.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\sevenzipjbinding.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\webservicetest.jar;c:\nightlybuild\nextPatch_webconnect\common\lib\xmlParserAPIs.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\activation.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\ant.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\ant-1.5.2.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\aspectwerkz-2.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\aspectwerkz-core-2.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\aspectwerkz-extensions-2.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\aspectwerkz-jdk5-2.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\dom4j-1.4.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\jrexx-1.1.1.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\aop\trove-1.0.2.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\avalon.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\batik.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\carlsonContentBeans.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\castor-0.9.6-xml.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-beanutils-1.7.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-chain-1.1.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-collections-3.2.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-digester-1.6.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-fileupload-1.1.1.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-io-1.1.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-lang-2.4.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\commons-validator-1.3.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\crimson.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\fastBookingContentBeans.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\flatpack-3.1.1.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\fop.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\hotusaContentBeans.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\htmlparser.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\hzi-config.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\hzi-dc-aop.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\i18n.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\iText-2.1.0.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\icu4j_3_4_4.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jasperreports-3.7.6.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jaxb-api.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jaxb-impl.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jaxb-xjc.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jaxp.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jaxws-api.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jaxws-rt.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jaxws-tools.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jsr173_api.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jsr181-api.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jtidy.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\jxl.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\logformatter.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\operaBeans.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\poi-3.6.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\poi-ooxml-3.6.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\poi-ooxml-schemas-3.6.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\saaj-api.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\saaj-impl.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\saxon8.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\serviceshutdown.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\sjsxp.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\slf4j-api-1.1.0-RC1.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\slf4j-simple-1.1.0-RC1.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\slide-webdavlib.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\sqlServerDriverWrapper.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\sqljdbc.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\stax-ex.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\streambuffer.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\supranationalContentBeans.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\test\junit.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\test\junitee-anttask.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\test\junitee.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\trustInternationalContentBeans.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\webservices-ota-hotelcontent.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\webservices-travelportcontent.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\wlDCAuthProvider.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\wsibeans.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\xerces.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\xml-apis.jar;c:\nightlybuild\nextPatch_webconnect\dc\lib\xmlbeans-2.3.0.jar
j.lib.path : C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin;.;C:\Windows\system32;C:\Windows;C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin;C:\apache-ant-1.7.0\bin;d:\bea100\wlserver_10.0\server\bin;C:\Java\jrockit-R27.5.0-jdk1.5.0_14\bin;C:\Program Files (x86)\Mail Enable\BIN;C:\Program Files\CollabNet\Subversion Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\cygwin\bin;c:\Java\jdk150_11\bin;C:\Program Files\System Center Operations Manager 2007\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;c:\apache-ant-1.7.0\bin;c:\Program Files\7-Zip;C:\Program Files (x86)\Mail Enable\BIN64;C:\Program Files\SourceGear\Common\DiffMerge\
JAVA_HOME : C:\Java\jrockit-R27.5.0-jdk1.5.0_14
_JAVA_OPTIONS: <not set>
PATH : C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin;C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin;C:\apache-ant-1.7.0\bin;d:\bea100\wlserver_10.0\server\bin;C:\Java\jrockit-R27.5.0-jdk1.5.0_14\bin;C:\Program Files (x86)\Mail Enable\BIN;C:\Program Files\CollabNet\Subversion Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\cygwin\bin;c:\Java\jdk150_11\bin;C:\Program Files\System Center Operations Manager 2007\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;c:\apache-ant-1.7.0\bin;c:\Program Files\7-Zip;C:\Program Files (x86)\Mail Enable\BIN64;C:\Program Files\SourceGear\Common\DiffMerge\
C Heap : Good; no memory allocations have failed
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
Registers (from ThreadContext: 0x00000000061C9B70 / OS context: 0x00000000061CA350):
rax = 0000000000088d6d rcx = 000000001dd4e550
rdx = 0000000000000000 rbx = 000000001dd4e560
rsp = 00000000061ca910 rbp = 0000000011449c18
rsi = 000000001dd4e540 rdi = 000000001b95c008
r8 = 000000001dd4ea10 r9 = 00000000771dd870
r10 = 00000000048be300 r11 = 0000000000000000
r12 = 000000001dd4e988 r13 = 0000000000000003
r14 = 000000000000000e r15 = 0000000000000000
cs = 0000000000000033 fs = 0000000000000053
gs = 000000000000002b
rip = 000000001dd4e3d8 flags = 0000000000010213
Stack:
(* marks the word pointed to by the stack pointer)
00000000061ca910: 0000000012e5f7e8* 00000000309a7550 0000000012e5f7e8 0000000030581549
00000000061ca930: 000000001dd4e298 0000000030581535 0000000000000000 000000000000000a
00000000061ca950: 000000001dd4e298 00000000048be300 00000000111addd8 00000000309a7550
00000000061ca970: 00000000132187a8 00000000309a7508 00000000111addd8 0000000030a47da7
00000000061ca990: 0000000035df6354 000000001dd4e3d8 000000001dd4e580 00000000309ef726
00000000061ca9b0: 000000001dd4e3d8 0000000000000001 000000001dd4e580 00000000309d7d89
Code:
(* marks the word pointed to by the instruction pointer)
000000001dd4e378: 0000000078f8a110 10f28b2800000000 0000000078f88ba0 1dd4e3781dd4e378
000000001dd4e398: 0000000078f8a110 11406c3000000000 0000000078f88ba0 1dd4e3981dd4e398
000000001dd4e3b8: 0000000078f8a110 1333083000000000 0000000078f88ba0 1dd4e3b81dd4e3b8
000000001dd4e3d8: 0000000078f250d0* 000000001dd4e3e8 0000000000c8c8a0 0000000000000000
000000001dd4e3f8: 000000001dd4e420 0000000300000000 3f4000000000000c 1dd4e47000000003
000000001dd4e418: 0000000000000000 000000001046c5f0 0066006e00000010 0000000000000000
Loaded modules:
(* denotes the module causing the exception)
0000000000400000-0000000000414fff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\java.exe
0000000076f90000-0000000077138fff C:\Windows\SYSTEM32\ntdll.dll
0000000076e70000-0000000076f8efff C:\Windows\system32\kernel32.dll
000007fefcf90000-000007fefcffbfff C:\Windows\system32\KERNELBASE.dll
000007feff1c0000-000007feff29afff C:\Windows\system32\ADVAPI32.dll
000007fefd4d0000-000007fefd56efff C:\Windows\system32\msvcrt.dll
000007fefd580000-000007fefd59efff C:\Windows\SYSTEM32\sechost.dll
000007fefe000000-000007fefe12cfff C:\Windows\system32\RPCRT4.dll
0000000010000000-0000000010427fff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\jrockit\jvm.dll
000007fef30d0000-000007fef310afff C:\Windows\system32\WINMM.dll
0000000076d70000-0000000076e69fff C:\Windows\system32\USER32.dll
000007fefe130000-000007fefe196fff C:\Windows\system32\GDI32.dll
000007fefd570000-000007fefd57dfff C:\Windows\system32\LPK.dll
000007fefd890000-000007fefd958fff C:\Windows\system32\USP10.dll
000007fefdb70000-000007fefdbbcfff C:\Windows\system32\WS2_32.dll
000007fefe420000-000007fefe427fff C:\Windows\system32\NSI.dll
000007fefdfd0000-000007fefdffdfff C:\Windows\system32\IMM32.DLL
000007fefdea0000-000007fefdfa8fff C:\Windows\system32\MSCTF.dll
0000000077160000-0000000077166fff C:\Windows\system32\psapi.dll
000007fefcd40000-000007fefcd64fff C:\Windows\system32\SspiCli.dll
0000000000360000-0000000000370fff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\verify.dll
0000000000380000-00000000003abfff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\java.dll
0000000000c30000-0000000000c3afff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\hpi.dll
0000000001d60000-0000000001d75fff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\zip.dll
00000000039d0000-00000000039eafff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\net.dll
000007fefc710000-000007fefc764fff C:\Windows\system32\mswsock.dll
000007fefc2a0000-000007fefc2a6fff C:\Windows\System32\wshtcpip.dll
000007fefc6a0000-000007fefc6a6fff C:\Windows\System32\wship6.dll
000007fefb250000-000007fefb264fff C:\Windows\system32\NLAapi.dll
000007fefa680000-000007fefa694fff C:\Windows\system32\napinsp.dll
000007fefc570000-000007fefc5cafff C:\Windows\system32\DNSAPI.dll
000007fefa7a0000-000007fefa7aafff C:\Windows\System32\winrnr.dll
000007fefafc0000-000007fefafe6fff C:\Windows\system32\IPHLPAPI.DLL
000007fefaf80000-000007fefaf8afff C:\Windows\system32\WINNSI.DLL
000007fefa7b0000-000007fefa7b7fff C:\Windows\system32\rasadhlp.dll
000007fefae70000-000007fefaec2fff C:\Windows\System32\fwpuclnt.dll
0000000008760000-00000000088b9fff C:\Java\jrockit-R27.5.0-jdk1.5.0_14\jre\bin\dbghelp.dll
"Javelin Worker-4" id=21 idx=0x70 tid=26372 lastJavaFrame=0x0000000000000000
Stack 0: start=0x0000000006190000, end=0x00000000061D0000, guards=0x0000000006194000 (ok), forbidden=0x0000000006191000
Thread Stack Trace:
-- Java stack --
* If you see this dump, please go to *
* http://edocs.bea.com/jrockit/go2troubleshooting.html *
* for troubleshooting information. *
===== END DUMP ===============================================================googling around I found these options:
upgrade your JRockit (27 is fairly old)
use -Xverify:all flag
tweaking your gc parameters
change the classpath to remove unsupported versions of javax.xml.soap.SOAPPart
see:
http://satya-ghattu.blogspot.ch/2008/10/jrockit-error-message-illegal-memory.html
http://www.coderanch.com/t/425380/BEA-Weblogic/Weblogic-crash-after-Illegal-memory
http://objectmix.com/weblogic/528834-jrockit-r26-4-jdk1-5-illegal-memory-access.html -
Why the lookandfeel change color randomly?
why the lookandfeel change color randomly?
after my API moves JDK1.4 to 1.5, the problem appeared.
the Max/Min/Close button of JFrame also change to other style.yes, I have reset the Theme of MetalLookAndFeel.setCurrentTheme() to myself, but sometime it looks useless. It will use oceanTheme or myTheme randomly.
Then I add a loop to check the current theme till it use mytheme.
The new problem the min/max/close button changed randomly, though that is much less frequent. -
Note works under JDL 1.3.1, but not under JDK 1.2.2. Is there a fix?
C:\bea\wlserver6.1\samples>c:\jdk1.3.1_01\bin\java
examples.jndi.InitialContextExample t3://localhost:9001 system password
WebLogic context created on behalf of "system"
C:\bea\wlserver6.1\samples>java examples.jndi.InitialContextExample
t3://localhost:9001 system password
java.io.StreamCorruptedException: Type code out of range, is 0
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1280)
at
java.io.ObjectInputStream.SkipToEndOfBlockData(ObjectInputStream.java
:1211)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:776)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:107)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:115)
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
86)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested
except
ion:
[java.io.StreamCorruptedException: Type code out of range, is 0]
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
88)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Failed to contact t3://localhost:9001.
Is there a server running at this address?
C:\bea\wlserver6.1\samples>Right. Using WebLogic RMI proprietary implementation (t3) with 6.1 requires
1.3 on the client side. If you absolutely have to use 1.2 on the client side,
IIOP should work - I just tried this and it looks like WebLogic 6.1 implements
EJB spec interop requirements pretty well.
Jonathon Cano <[email protected]> wrote:
I saw an article saying use iiop and then deploy your beans for such. I can
get context over IIOP using jdk1.2.2 to WLS 6.1. I have not yet deployed
beans or recompiled anything to try this all the way. Does this work?
Should I proceed? or is there a gotcha?
"Dimitri Rakitine" <[email protected]> wrote in message
news:[email protected]...
6.1 requires 1.3 on the client. (it uses dynamic proxies, so 1.2 willnot
work).
Jonathon Cano <[email protected]> wrote:
Note works under JDL 1.3.1, but not under JDK 1.2.2. Is there a fix?
C:\bea\wlserver6.1\samples>c:\jdk1.3.1_01\bin\java
examples.jndi.InitialContextExample t3://localhost:9001 system password
WebLogic context created on behalf of "system"
C:\bea\wlserver6.1\samples>java examples.jndi.InitialContextExample
t3://localhost:9001 system password
java.io.StreamCorruptedException: Type code out of range, is 0
at
java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1280)
at
java.io.ObjectInputStream.SkipToEndOfBlockData(ObjectInputStream.java
:1211)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:776)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:107)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:115)
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
86)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
atweblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - withnested
except
ion:
[java.io.StreamCorruptedException: Type code out of range, is 0]
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
88)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
atweblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
Failed to contact t3://localhost:9001.
Is there a server running at this address?
C:\bea\wlserver6.1\samples>--
Dimitri
Dimitri -
Mid 2009 13.3" Macbook Pro random freezing issue
Hi all,
I had a 2009 13.3" Unibody Macbook and last week purchased a 13.3" Macbook Pro. I had installed 4GB of RAM in the MB myself, and it had worked fine for the month I owned it.
I backed up my MB with an external USB hard drive using Time machine, restored from this backup on my MBP and moved the 4GB RAM over.
When using the MBP I get random freezes lasting between 1 and 3 seconds, occuring every 5 to 30 minutes.
Could someone please advise a good way to diagnose this problem further? I am guessing it is not the RAM as it worked fine whilst in the MB.I have an update!
I made an appointment with a local Apple Genius Bar and talked to a technian. He said it was neither the RAM nor the Hard Drive at fault.
His only thoughts were that a software issue was the root cause. I have been doing some serious investigating this morning and figured it out. Viewing system.log in Console shows:
SMS::infiniteIntTimerEventHandler ERROR: we have infinite interrupts, disabling
At exactly 5 minute intervals. These correlate with the freezes (to the second).
SMS refers to the Apple Sudden Motion Sensor. I disabled this by doing "sudo pmset -a sms 0" in Terminal, rebooted and everything is fine.
I have no idea why the SMS thinks the Macbook is falling every 5 minutes, but when it occures the hard drive heads are locked down to prevent damage, which is a perfect reason as to why iTunes would crash but Spotify (streaming internet music) does not.
Problem solved!
Edit:
In reply to some questions posted by other members (thank you by the way).
I did install EFI 1.7 update. I did not use the Migration assistance. At some point I will do a fresh install then pick and choose parts from a backup rather than using a full Time Machine Restore. This could still have been the root cause of the issue, but it is hard to tell.
Thanks guys!
Message was edited by: mynamestom -
Email randomly not sending, no error message, Email GONE
Hello,
This has happened multiple times, seemingly at random, and it is EXTREMELY frustrating.
I will compose my email, hit send, I get the 'whoosh' sound, little spinning wheel next to the Wifi/LTE logo, etc., and... nothing. The email never arrives, it's not in my sent folder, it's like it never existed. It's just GONE. The only way I can tell if a message has sent or not is to go check my sent folder every time. I had some pretty important emails get eaten like this before I even figured out it was happening, which I'm sure you can imagine did nothing good for my reputation.
It has happened with big emails and small emails, emails sent from several different accounts, and it seems to happen about 30% of the time. I can't figure out any pattern to it. I'm watching the wheel turn now after 15 minutes of waiting for a 2MB message to send (4 photos at "large" compression and 2 medium paragraphs of text), so it seems like it's trying to send, but I don't see a drafts or outbox folder anywhere. My Wifi connection is fine and other apps on my phone are loading data quickly and easily.
I just quit Mail and the email is officially gone. No more spinning wheel, nothing in any of my sent folders (I checked them all).
The fact that it works sometimes and not others seems to suggest my settings are correct. Any ideas would be greatly appreciated.Have you tried removing the mail account and adding it back? Is this the only email account you have on the device?
Maybe you are looking for
-
Can not open Build page in the visualstudio online
On attempt to open BUILD page error appears: TF50309: The following account does not have sufficient permissions to complete the operation: Kateryna Chistyakova. The following permissions are needed to perform this operation: View project-level infor
-
How can I sync contacts from my iphone 3gs to a new gmail account?
I've just set up a new gmail account and want to sync the contacts from my work phone to contacts in my gmail. I have nearly 700 contacts to sync so I'm looking to do this in the easiest (and most reliable!) way I can - any pointers? Or tips on how
-
Adding dynamic content to accordion panels
Hello, and thank you in advance for any help. I need to make a new web page for my girlfriend. She's a photographer which means she needs to update her page pretty often. The usual small systems however were way too complicated for her. After seeing
-
Hi! I'm interesting in get information about Java3D. I've got the tutorials of Sun, but I'm searching for something more, especially in geometries and appearances. Please if you know any web page or good document about Java3D, please let me know. Lui
-
Problems updating/installing air application
Hi, We have an Adobe Air application that uses the Air update mechanism for newer versions. It seems to work fine for most of the customers but on some computers when it tries to install the new version it cannot. The only clue we have are some er