1 2 3 4 5 6 7 8

Java Server crash in Debian Linux

13497 byte By PantelisKapa at 2007-10-3 10:12:31
Debian LinuxPentium 4 2.81024 Ramjava version "1.5.0_09"Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode)The Java Server crash after from Begin or after 1-2 hoursim user to java server no develope and no have ...

Alternative to JMX

190 byte By yaniv_ramuka at 2007-10-3 10:12:32
Hi All,I am a new-comer to the world of JMX. After I had gone through some part of it, I wondered are there any alternatives to JMX..Please let me know if there are any.

installation of jdk1.5.0_09

383 byte By tg_KGa at 2007-10-3 10:13:06
I have found jdk1.5.0_09 in two locations on my harddrive. (I must have intalled it twice by accident!)One is in its own folder called "C:\jdk1.5.0_09" and the other is in the "C:\Program Files\Java\jdk1.5.0_09" folder.Both appear to be installed and expanded into all of the subfolders.How do I ...

JMX/RMI and Automatic Code Downloading

395 byte By Steve__Ta at 2007-10-3 10:13:27
There is a brief discussion of automatic code downloading in the JMX Best Practices document ( http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/best-practices.jsp#mozTocId348704), but not enough to actually implement it.Would someone be kind enough to point me to some ...

jps on Windows - dependent on TMP variable?

1310 byte By EmboMana at 2007-10-3 10:19:22
Hi,I've been playing around a bit with jps, and I see some special behavior on Windows OSes:When I start jps from another java program, by using Runtime.exec() etc., and "unset" (setting "TMP=") the TMP environment variable in the new process, jps fails with a NullPointerException:Exception in ...

unable to set the specified NotificationFilter during remote management

871 byte By michele81a at 2007-10-3 10:19:29
Hi all,I can successffully attach notification listeners with no filter to remote mbeans, however if I try to specify a filter I get a ClassNotFoundException because of the unavailability of the security manager (and thus the RMI class loader is disabled).My application run with the following ...

avoid pause in gc

262 byte By peterrajesha at 2007-10-3 10:28:36
hi i am trying to run weblogic server in jdk 1.4.2_10with the heap settings-XX:NewSize=192m -XX:MaxNewSize=192m -XX:SurvivorRatio=8 -Xms1280m -Xmx1280m -XX:MaxPermSize=256m -serverthere is long pause in the gc how to avoid this

jdk solaris vs linux

395 byte By aladevelopera at 2007-10-3 10:29:04
I'm testing our application on a linux machine. When I tested the exact same load on our solaris, it runs fine. When I test it on our linux machine, we have memory leak issues. Since the code is not changed between the two, I'm hoping it is a configuration issue between the jdk on linux vs ...

Internal Error : Error Code 9

884 byte By vsunooa at 2007-10-3 10:31:13
Dear All, We have an application that uses Sun's Toolkit for printing documents. The application firsts generates an image and then creates a document that has the image embedded within it. Once this is done the application uses the graphics.drawString method for printing the document on a ...

Developing JConsole

323 byte By juckkya at 2007-10-3 10:42:54
I am using JConsole to monitor my application, but would like to tweak the UI slightly. ie when viewing threads you are unable to maximize the stack trace or resize the thread name panel.I know the source code is available, but was wondering how straight forward it is to make the changes and ...

Change Java.exe to some other name

227 byte By Kunal_setha at 2007-10-3 10:44:08
I have jdk1.6.0 installed on my machine with jre1.6.0 when i am running any application its process is running default java.exe java.exe in Task Manager.How to change the java.exe name to java1.exe .

help me pls

140 byte By blackbuga at 2007-10-3 10:46:33
what is the code for making my computer shutdown.. because im planning to make autoshutdow program! in windows platform!thanks

Error: 500 Unable to compile class for JSP

3905 byte By fallousa at 2007-10-3 11:05:12
Error: 500 Unable to compile class for JSP what actually this kind of problems since my server produce this messsageJSWDK WebServer Version 1.0.1Loaded configuration from: file:C:\jswdk-1.0.1\webserver.xmlendpoint created: localhost/127.0.0.1:8080com.sun.jsp.runtime.JspServlet: initScratch dir ...

SUN JES 8.1 Q2UR2: Long time taken in getting database connection.

3953 byte By csgan97a at 2007-10-3 11:07:48
Application server registered intermittent slowness in getting database connection from javax.sql.DataSource. Based on the following JMX value, the application servers still haven抰 reached the threshold. Its identified the slowness was due to application server performing validation (select ...

SUN JES 8.1 Q2UR2: Long time taken in getting database connection.

3953 byte By csgan97a at 2007-10-3 11:07:49
Application server registered intermittent slowness in getting database connection from javax.sql.DataSource. Based on the following JMX value, the application servers still haven抰 reached the threshold. Its identified the slowness was due to application server performing validation (select ...

SUN JES 8.1 Q2UR2: Intermittently application server jvm crashed.

1548 byte By csgan97a at 2007-10-3 11:07:55
Application server jvm intermittently crashed but due to the feature in SUN JES 8.1 ur2 the application server will auto restarts the service. Most of the JVM crashes were due to memory corruption.The following are SUN findings:1)Multithreading issue that causes 2 threads writing on the same ...

SUN JES 8.1 Q2UR2: Intermittently application server jvm crashed.

1548 byte By csgan97a at 2007-10-3 11:07:56
Application server jvm intermittently crashed but due to the feature in SUN JES 8.1 ur2 the application server will auto restarts the service. Most of the JVM crashes were due to memory corruption.The following are SUN findings:1)Multithreading issue that causes 2 threads writing on the same ...

Distributed management how to

537 byte By michele81a at 2007-10-3 11:09:23
Hi all,I would like to expose components of a distributed architecture in a single point: say, for example, node A, B and C collect data/statistics, but I don't want to open 3 jconsole connections, eventually becausethe management application knows only about node A.How can I achieve my ...

JMX cannot get OperatingSystem info

855 byte By ElihuSmailsa at 2007-10-3 11:09:44
I have a server process that I want to monitor in a web page. I would like to display some Operating System information on the web page for my server. I can view the information from my server in jconsole, but I cannot figure out how to get some of the same information in the web page. When I ...

How to retrieve every local Agents

353 byte By vberettia at 2007-10-3 11:15:00
Hello,I'd like to provide in my application the same functionnality as in JConsole.When you start jconsole, in the "local" tab, you can see every local agent. I'd like to do the same to be able to get every MBeanServer that run on my machine.Do you have any idea on how to do that in java 1.5 ...

Can too small Young Generation size result in java.lang.OutOfMemoryError?

2953 byte By jussi.heinonena at 2007-10-3 11:15:14
This is my first comment ever posted to this forum and I've a limited knowledge of JVM so please don't hesitate to make any corrections necessary to the following analysis. PROBLEMSeldom but regularly the Java application that I've to support throws java.lang.OutOfMemoryError. Example of the ...

MXBean Spec - MXBean Type Mapping - Open Types

285 byte By Kartik_Asatkara at 2007-10-3 11:19:30
Hi,The MXBean specification, in the Type Mapping Rules section does not explicitly state the behaviour when the Java Type (J) is some OpenType.For example, one could have an MXBean subclass an existing class having an OpenType as a method return type.Thanks

Replacing JMX Console with own Eclipse user interface in JBoss

556 byte By PriyankaRaja at 2007-10-3 11:19:54
Hello All,I have a scenario, where i want to do the configuration and management inside JBoss through JMX. That is fine but my requirement is to have a smart and user friendly user interface for configuring the properties and JMX console does not fit the purpose. I have created a rich client ...

Help On Memory Leak.

968 byte By sai_prasada at 2007-10-3 11:25:00
Hi,Can any one answer my question.As part of my application performance testing one of the container in my application using more memory.(Java Based Application).This application is on solaris platform. When the application started this container normally uses 400 MB. When the load increases on ...

Help me to fix this error... [help]

209 byte By robmarsa at 2007-10-3 11:27:18
Error : Invalid path, \bin\javac.exe -classpath "D:" -d D: D:\Volcano.java" Process completed.-the Volcano is my java file ...... used only to test the jCreator when i installed it.

java compiler :(

655 byte By jerka at 2007-10-3 11:28:09
Hello, sorry for a new topic, I know that this question may have been answered a thousand times but I cant find a solution and I'm in a hurry.I am currently on Windows XP, I installed jdk (so i have jdk1.5.0_10 and jre1.5.0_10), and I added to the Path: C:\Program Files\Java\jdk1.5.0_10\bin ...

ModelMBean attributes problem

14995 byte By michele81a at 2007-10-3 11:31:56
Hi all,I have a simple model mbean to expose, however from the jconsole I can see only the attribute names, not their values (everything works fine from the agent):/** * This is the class to expose */public class ModelSample {private boolean started;private int changes;public ModelSample() ...

java.lang.noclassdeffounderror: javax/help/helpsetexception

423 byte By dandua at 2007-10-3 11:32:54
Hi folks,I am getting this error when i use jprofiler for profiling a swing application.Exception in thread "main" java.lang.noclassdeffounderror: javax/help/helpsetexceptionCould someone let me know teh way to resolve this problem / jar file which will have this class.Is there any better open ...

need jars for comping

479 byte By sivasaia at 2007-10-3 11:37:00
hi,I am trying to compile exiting code,i need jar for following classes.can one help where i can get these jars.-import sun.management.FileSystem;import javax.xml.XMLConstants;import javax.xml.namespace.NamespaceContext;import javax.xml.xpath.XPath;import javax.xml.xpath.XPathConstants;import ...

Setting name of a java process

708 byte By M.Rizwana at 2007-10-3 11:39:36
I am running a backend process written in java and it is to bedeployed in Unix/Linux. This process is started through passingarguments to main() method. Now the problem is when this process isstarted by running shell script file (.sh file) same as .bat file inwindows, the complete package name ...

Problem using SSL with JMX

10481 byte By KHazraa at 2007-10-3 11:42:43
Hi ,I am trying to implement SSL with JMX. I took the example of Luis Miguel Alventosa to see how it works. I imported all the classes, password a access properties file. When I am able to start the MyApp server in the example. But when I am trying to run MyClient, it is giving me the following ...

finding the application currently running under javaw

662 byte By SHLa at 2007-10-3 11:44:24
I have to check the current java application running at any instance.if we consider there are 2 java programs , say "abc" and "xyz" running at the particular time . i want to obtain the name of the application that are being executed programmatically ( in this case i should be able to get that ...

Jhat - OutOfMemoryError: GC overhead limit exceeded

919 byte By miekea at 2007-10-3 11:49:31
I'm using jhat (bundled with Mustang) to analyze a Heap dump that I got as a result of one of our servers running out of memory.When I try run the tool I get the following error:...Dump file created Mon Dec 04 07:39:41 PST 2006Snapshot read, resolving...Resolving 9471029 objects...Chasing ...

error running the jmap

1216 byte By prasad.u.v.b.m.a at 2007-10-3 11:51:20
hi,i have installed the JDK1.5_10 on solaris box;set the path, ld_library_path and classpath to 1.5i ran jmap <pid> command to connect to a 1.4 JVM and got the following error:Attaching to process ID 8322, please wait...Exception in thread "main" java.lang.RuntimeException: field "_mc_vs" ...

trouble with double!

298 byte By tamria at 2007-10-3 11:51:34
I have jdk1.5. use double and sometimes something strange happens. Forexample when I have variable double d=4.00, java in db(ms.sql server2000) writes 3.9999999, or when d=2.45 ,in db writed 2.449999999.it happens sometimes,not everytimes.why? what is wrong? is it java's

How to turn off the biased locking

659 byte By jxxea at 2007-10-3 11:53:47
HiMy application server is using JDK1.4.2_05, and had been doing well until we upgraded memory from 700M to 1.4G. Ironically, the error message is "OutOfMemory" Exception as followingException java.lang.OutOfMemoryError: requested 131072000 bytes for GrET* in ...

How do users access JMX functions?

91 byte By philregisa at 2007-10-3 11:54:29
Anyone know how to determine the hostname/ip of the person executing a JMX function?

getting memory heap info

373 byte By El_Duendea at 2007-10-3 11:54:36
Hello.I don't know if it's the rigth forum for posting this question, neverthless, I need to get some memory heap information... But not only the "total" given by Runtime.totalMemory(): I want to get the allocated memory into "eden", "survivor", "tenured", and "perm" spaces. Just like in the ...

JDK 1.4.2 version for Windows Server 2003/x64 on Intel Xeon 64 bit processo

522 byte By adaifa at 2007-10-3 11:58:16
Hi,I'm currently installing a SAP Netweaver Server on a Windows Server 2003/X64 (Intel Xeon CPUs).The server requires a JDK 64 bit with minimum version 1.4.2_09. Version 1.5.0_00 and higher are not supported by SAP.I have searched on the J2SE 1.4.2 download page and I haven't found any ...

Can't connect to JConsole of JDK6

505 byte By RobinMa at 2007-10-3 11:58:42
Hi everyone,I have a JMX-enabled web application running on a JBoss-4.0.2. I've created my own MBeanServer and an RMIConnector.When i connect with JConsole from JDK 5 or other management console (JManage, MC4J,...) there is no problem. When I use JConsole of JDK6 on the other hand, then I ...

How to get memory footprint?

147 byte By jxxea at 2007-10-3 12:00:19
Hi-Xrunhprof is too expensive for cpu cycles, is there another way to find which object eat up all my memory?Thanksj2xe

Monitoring Remote Applications

439 byte By dataone at 2007-11-26 12:03:14
Hello,Can I use Jconsole on my local machine to monitor java applications running on a remote server (shared hosting) for which X11 forwarding has been disabled? JDK 1.5 is installed on the remote server.If this is possible, how do i set it up?NB: the remote server is a linux box, with apache ...

Day-Light saving

301 byte By Muralisrinia at 2007-11-26 12:25:26
http://java.sun.com/developer/technicalArticles/Intl/USDST/Have a query regarding the information in the above URL.I am using JDK1.4.2_08 and JDK1.4.2_04 in my application ..Will my applications have any impacts due to day-Light saving time change ?Thanks in ...

Jmap -heap : How to analyze ascii output

90 byte By RUPa at 2007-11-26 12:25:27
Can anyone help me with pointers to tools to analyze the ascii output of jmap -heap

need good tool to analyze log files

265 byte By starki78a at 2007-11-26 12:34:41
Ciao It's my task to analyze large Weblogic log-filesin order to search for Threads and Exceptions.Could you recommend me a tool?I use Samurai but it's taking too long and crashesthe computer....Thanks a lot!Starki

Starting agent after VM startup

492 byte By qabia at 2007-11-26 12:36:23
The new JDK 6 instrumentation API mentions the possiblity for "Starting Agents After VM Startup". Unfortunately it isn't very specific: "The system class loader [..] must support a mechanism to add an agent JAR file to the system class path."Can anybody provide me with a working example of how ...

cannot connect to remote jmx agent

2474 byte By luskabga at 2007-11-26 12:39:34
hello,i have a jmx agent code:...MBeanServer mbs= ManagementFactory.getPlatformMBeanServer();String domain = mbs.getDefaultDomain();ObjectName name = new ObjectName(domain+":type=Test");TestMBean mbean= new Test();mbs.registerMBean(mbean, name);JMXServiceURL url= new ...

jmap running out of memory

418 byte By prasad.u.v.b.m.a at 2007-11-26 12:47:57
hi,we are running into an issue using the jmap -permstat option on WL server instance to gather stats with the following sizes of JVM memory:used = 300MB.total = 846 MBhas any one encountered issue with jmap failing with out of memory?is there any options avaialble to increase the memory ...

SNMP-to-JMX bridge

331 byte By Mizua at 2007-11-26 12:56:23
Does anyone know if there is a free SNMP-to-JMX bridge which makes it easy for tools like http://cacti.net/ to poll statistics about particular MBeans which expose int/long-type attributes.I know JBoss offers such a solution but I would like to use something that doesn't require an application ...

Accessing Platform MBeans on a networked Client

692 byte By brianrocka at 2007-11-26 12:57:12
Can anyone tell me how I can remotely connect to the platform MBeans of a JVM running on a networked client. In the <JRE_Home>/lib/management/management.properties on the client machine I set the following properties ...