[Management, JMX/JBoss] - Can not load MBeanServerBuilderImpl
by ingenu
Hi,
I have found someone with the same problem. The answer was to go to the FAQ which I had already done but could not find any answers.
I have looked my JAR files and all the classes are there. Is there something else I need to do on a fresh J2EE install to get rid of that error message?
[java] 11:40:07,298 INFO [STDOUT] javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: org.jboss.mx.server.MBeanServerBuilderImpl
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:499)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:530)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:304)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:180)
[java] 11:40:07,338 INFO [STDOUT] at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:264)
[java] 11:40:07,368 INFO [STDOUT] at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512)
[java] 11:40:07,368 INFO [STDOUT] at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:385)
[java] 11:40:07,368 INFO [STDOUT] at sun.management.Agent.premain(Agent.java:92)
[java] 11:40:07,368 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] 11:40:07,368 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] 11:40:07,388 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] 11:40:07,388 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
[java] 11:40:07,388 INFO [STDOUT] at sun.management.Agent.startAgent(Agent.java:197)
[java] 11:40:07,388 INFO [STDOUT] at bea.jrockit.management.server.Main.start0(Main.java:272)
[java] 11:40:07,388 INFO [STDOUT] at bea.jrockit.management.server.Main.access$100(Main.java:48)
[java] 11:40:07,388 INFO [STDOUT] at bea.jrockit.management.server.Main$2.run(Main.java:314)
[java] 11:40:07,428 INFO [STDOUT] at bea.jrockit.management.server.Main.start(Main.java:312)
[java] 11:40:07,428 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] 11:40:07,428 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Thanks.
DvJ
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996273#3996273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996273
19 years, 4 months
[JBoss Portal] - File Uploding
by vikash.anand
Dear All;
I need to upload one excel file to server and then to parse it to get it's contents. In JSP file i have following code:
| <form method="post" enctype="multipart/form-data" action="<portlet:actionURL/>">
| File: <input type="file" name="file" size="25">
| <input class="boldFlatbtn" type="submit" name="Upload_File" value="Upload File"/>
|
| </form>
|
In processAction i am using following code:
System.out.println("Uploaded file path is : " + actionRequest.getParameter("file"));
This is not showing me the file name.
Please help me to how i can get that uploded file at processAction and to save it.
I googled to find answer but i could not find any good results.
Thanks in advance;
Vikash Anand.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996268#3996268
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996268
19 years, 4 months