Problem to get Mission Control 3.0.1 running with JBoss 4.2.2GA

Hello,
I'm using JRockit R27.04 to run JBoss 4.2.2GA with the following VM parameters:
-Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djboss.platform.mbeanserver
It's working fine but when I try to use any feature of Mission Control (console, memleak, JRA, ...) pointing to JBoss, I get a ClassNotFoundException:
Could not open Memory Leak Detector for (1.6) org.jboss.Main (4460).
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
     java.lang.ClassNotFoundException: org.apache.xerces.dom.DeferredElementImpl (no security manager: RMI class loader disabled)
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
     java.lang.ClassNotFoundException: org.apache.xerces.dom.DeferredElementImpl (no security manager: RMI class loader disabled)
     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:178)
     at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
     at javax.management.remote.rmi.RMIConnectionImpl_Stub.getMBeanInfo(Unknown Source)
     at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getMBeanInfo(RMIConnector.java:1037)
     at com.jrockit.console.rjmx.RJMXConnection.getMBeanInfos(RJMXConnection.java:279)
     at com.jrockit.console.rjmx.RJMXConnection.getMBeanInfos(RJMXConnection.java:314)
     at com.jrockit.console.rjmx.RJMXConnectorModel.initializeAttributeInfos(RJMXConnectorModel.java:294)
     at com.jrockit.console.rjmx.RJMXConnectorModel.<init>(RJMXConnectorModel.java:99)
     at com.jrockit.console.rjmx.RJMXConnectorModel.<init>(RJMXConnectorModel.java:113)
     at com.jrockit.mc.memleak.ui.RjmxMemleakEditorInput.connect(Unknown Source)
     at com.jrockit.mc.memleak.ui.actions.StartMemleak$1.preConnect(Unknown Source)
     at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:73)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.dom.DeferredElementImpl (no security manager: RMI class loader disabled)
     at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
     at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
     at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
     at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
     at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
     at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
     at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
     at java.util.HashMap.readObject(HashMap.java:1157)
     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.access$300(ObjectInputStream.java:188)
     at java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:2107)
     at java.io.ObjectInputStream.readFields(ObjectInputStream.java:519)
     at javax.management.modelmbean.DescriptorSupport.readObject(DescriptorSupport.java:1270)
     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
     at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
     at javax.management.modelmbean.ModelMBeanAttributeInfo.readObject(ModelMBeanAttributeInfo.java:524)
     at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
     at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
     at javax.management.MBeanInfo.readObject(MBeanInfo.java:669)
     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
     at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:155)
     ... 12 more
If I put xerces in jrockit classpath (putting the jar in jrockit-R27.4.0-jdk1.6.0_02\jre\lib\ext dir) just to workaround ClassNotFoundException and test again I get a new error:
Could not open Memory Leak Detector for (1.6) org.jboss.Main (4460).
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
     java.io.IOException: unknown protocol: resource
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
     java.io.IOException: unknown protocol: resource
     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:173)
     at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
     at javax.management.remote.rmi.RMIConnectionImpl_Stub.getMBeanInfo(Unknown Source)
     at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getMBeanInfo(RMIConnector.java:1037)
     at com.jrockit.console.rjmx.RJMXConnection.getMBeanInfos(RJMXConnection.java:279)
     at com.jrockit.console.rjmx.RJMXConnection.getMBeanInfos(RJMXConnection.java:314)
     at com.jrockit.console.rjmx.RJMXConnectorModel.initializeAttributeInfos(RJMXConnectorModel.java:294)
     at com.jrockit.console.rjmx.RJMXConnectorModel.<init>(RJMXConnectorModel.java:99)
     at com.jrockit.console.rjmx.RJMXConnectorModel.<init>(RJMXConnectorModel.java:113)
     at com.jrockit.mc.memleak.ui.RjmxMemleakEditorInput.connect(Unknown Source)
     at com.jrockit.mc.memleak.ui.actions.StartMemleak$1.preConnect(Unknown Source)
     at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:73)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.io.IOException: unknown protocol: resource
     at java.net.URL.readObject(URL.java:1219)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
     at java.util.HashMap.readObject(HashMap.java:1157)
     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.access$300(ObjectInputStream.java:188)
     at java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:2107)
     at java.io.ObjectInputStream.readFields(ObjectInputStream.java:519)
     at javax.management.modelmbean.DescriptorSupport.readObject(DescriptorSupport.java:1270)
     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
     at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
     at javax.management.modelmbean.ModelMBeanAttributeInfo.readObject(ModelMBeanAttributeInfo.java:524)
     at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
     at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
     at javax.management.MBeanInfo.readObject(MBeanInfo.java:669)
     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
     at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:155)
     ... 12 more
Can anyone help me?
Thank's,
Anderson Souza
Java/JEE Architect - Brasil

It was a good attempt, but I'm still getting the same exceptions.
I tried to create a new service file, and it was successful deployed:
<?xml version="1.0"?>
<server>
<mbean code="bea.jrockit.management.JRockitConsole" name="bea.jrockit.management:type=JRockitConsole">
</mbean>     
</server>
After it I opened JBoss JMX Console and I saw the following mbeans published:
bea.jrockit.management
type=Compilation
type=DiagnosticCommand
type=GarbageCollector
type=JRA
type=JRockitConsole
type=Log
type=MemLeak
type=Memory
type=PerfCounters
type=Profiler
type=Runtime
So, it appears that all jkrockit MBeans are published, but the problem persist.
Any other suggestion?
Thanks,
Anderson Souza

Similar Messages

  • Error trying to get LiveCycle ES up and running with JBoss/SQL Server

    I am having an error trying to get LiveCycle ES Trial up and running with JBOSS and SQL Server.  The LiveCycle ES and JBOSS engines are running on Windows Server 2003 SP #2 under VMWare Server with 2 vCPUs/1 GB vRAM.  The SQL Server database is SQL 2005 x86-64 with SP #2 on a separate server.<br /><br />I have carefully followed all of the instructions for setting up jboss, modifying all of the appropriate XML files, downloading the SQL JDBC drivers and putting it in the %JBOSS_HOME%\server\all\lib directory, etc.  I tried both the SQL JDBC 1.1 and 1.2 drivers and they both fail.<br /><br />The error I get is on startup of jboss using<br />cmd /c start /low run.bat -c all<br />(and yes I also just tried run.bat -c all)<br /><br />it runs along file until it gets here<br />2008-06-18 16:00:03,123 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=IDP_DS' to JNDI name 'java:IDP_DS'<br />2008-06-18 16:00:03,123 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=EDC_DS' to JNDI name 'java:EDC_DS'<br />2008-06-18 16:00:03,373 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'<br />2008-06-18 16:00:03,373 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=adobe_JmsQueueXA' to JNDI name 'java:adobe_JmsQueueXA'<br />2008-06-18 16:00:03,389 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=adobe_JmsTopicXA' to JNDI name 'java:adobe_JmsTopicXA'<br />2008-06-18 16:00:03,482 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'<br />2008-06-18 16:00:03,514 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null<br />org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: com.microsoft.jdbc.sqlserver.SQLServerDriver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.microsoft.jdbc.sqlserver.SQLServerDriver))<br />     at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnecti on(LocalManagedConnectionFactory.java:164)<br />[ lots more error scrolls ]<br /><br />this repeats multiple times<br /><br />I can see that it does acknowledge that I put the sqljdbc.jar file in the appropriate directory from the boot.log<br /><br /><snip><br />15:59:44,856 DEBUG [SARDeployer] deployed classes for file:/C:/jboss/server/all/lib/sqljdbc.jar<br /><snip><br /><br />please help!

    APJ<br />We ran into many issues setting up a very similar environment.  In the end we had to use a specially configured JBoss, supplied by Adobe, to make a connection with the SQL database.  Since you have SQL w/ SP2 on it, you will need the 1.2 driver for sure, but you may want to talk to Adobe support about obtaining the version of JBoss they supplied us with.  The Adobe Support Reference Number is: 1-52422366.<br /><br />Even with the alternate JBoss we had to perform the following steps to get the configuration right:<br /><br />1.     Install Livecycle from the installation DVD.  Follow the instructions for installing LiveCycle supplied by Adobe, including all pre-installation instructions.  Make sure NT service is installed with parameters, and dont run Configuration Manager.<br />2.     Rename %LIVECYCLE_INSTALL%\jboss to %LIVECYCLE_INSTALL%\jboss_orig<br />3.     Extract the zipped new, good instance of JBoss (supplied by Adobe)  to the %LIVECYCLE_INSTALL%\ folder  <br />4.     Go to the %LiveCycle_Home%\deploy folder and make a copy of the file adobeimport_SQLServer.jar file.  Rename the copy of the file to aadobeimport_SQLServer.jar.  There seems to be a bug in configuration manager that looks for a file with the extra  a appended to the beginning of the file name, where that file normally isnt there.  Make sure that the adobeimport_SQLServer.jar file is still in this folder as well.<br />5.     Edit the data source file (%JBOSS_HOME%\server\all\deploy\ adobe-ds.xml) to point to the correct database for the LiveCycle Server.<br />a.     Update the <connection-url>, <user-name>, and <password> tags with the correct database connection information.<br />b.     If BAM is to be used on the server (this should be done on the Production server) then delete both lines that state Remove this line, if BAM is used.<br />6.     Go to the login configuration file (%JBOSS_HOME%\server\all\conf\login-config.xml), and edit the section labeled <application-policy name = "MSSQLDbRealm">.<br />a.     Change the Principal, UserName, and Password options to point to the correct database.  These will be the same as what was changed in the adobe-ds.xml file from the step above.<br /><br />7.     Edit the system variables on the server.  Add to the Path variable %JBOSS_HOME%\bin, and add the variable JBOSS_HOME with the path to the JBoss folder on the server. (D:\Adobe\LiveCycle8\jboss  for example)<br />8.     From windows services start the JBoss for Adobe LiveCycle ES v8.0 service.  Review the JBoss server log (%JBOSS_HOME%\server\all\log\server.log) to verify that JBoss starts without throwing any exception errors (A document timeout exception is the only acceptable exception for starting the service).  <br />9.     Run the LiveCycle Configuration Manager (%LiveCycle_Home%\ConfigurationManager\bin\ConfigurationManager.bat).  <br />a.     Select to Not Upgrade fromLiveCycle 7.x.<br />b.     Check all boxes on the Solution Component Selection screen.<br />c.     For the Task Selection screen check all the boxes except for the Import LiveCycle ES Samples into LiveCycle ES if on the production server. <br />d.     Run through the rest of the configuration manager interface to setup the LiveCycle server with the new application server.  Follow the steps supplied by Adobe for this.<br />10.     Once configuration manager has completed, reboot the server, and verify that JBoss starts up again without any exceptions or errors (again a document timeout exception is an acceptable exception.  Look at the server log to verify this (%JBOSS_HOME%\server\all\log\server.log)).

  • Desktop background problems:  27" iMac/Mission Control

    I've just installed a 27" iMac running 10.8 with 16 GB RAM.  I use 4 desktops at a time with different backgrounds in each.  When changing between e.g. desktops 2 and 3, via CTRL-right-arrow, Mission Control annoyingly flashes the desktop 1 background before replacing it with the desktop 3 background.
    I have replicated the problem on the other 27" iMac's I have access to, and with a variety of desktop backgrounds (e.g. only the Apple provided ones)
    and with various amounts of RAM (8 GB to 16GB).  It is a consistent problem on all 27" iMac's running 10.8 as far as I can see.
    Mission Control handled multiple desktop backgrounds flawlessly under my previous set up (iMac 21"/10.7).
    Does anyone know how to fix this behavior?

    I've just installed a 27" iMac running 10.8 with 16 GB RAM.  I use 4 desktops at a time with different backgrounds in each.  When changing between e.g. desktops 2 and 3, via CTRL-right-arrow, Mission Control annoyingly flashes the desktop 1 background before replacing it with the desktop 3 background.
    I have replicated the problem on the other 27" iMac's I have access to, and with a variety of desktop backgrounds (e.g. only the Apple provided ones)
    and with various amounts of RAM (8 GB to 16GB).  It is a consistent problem on all 27" iMac's running 10.8 as far as I can see.
    Mission Control handled multiple desktop backgrounds flawlessly under my previous set up (iMac 21"/10.7).
    Does anyone know how to fix this behavior?

  • How can I get Mission Control to Unstack all of my Applications?

    When I have multiple applications open in the same desktop and I swipe 4 up to access my different applications mission control always stacks my applications on top of each other, this occurs usually when i have 3 or different applications open, Is there is setting where i can get it so it used to be like snow leopard and all my applications are seperated and not stacked on top of each other?
    here's a pic of what it looks like. Any help will be appreciated

    you mean something like this (see below)?
    Now you may have to implement code to check if the destination folder exists and to create it, etc.  But if you use the Front Panel Control to select the destination folder, it should be okay.
    Not the best implementation, mind you but you'll get the idea..
    Message Edited by JoeLabView on 04-18-2007 03:43 PM
    Attachments:
    copy folder contents.PNG ‏10 KB

  • My mission control key does not work with the new Mac update

    The key on the keyboard doesnt work, neither does the button on my dock.  Any help?
    P.S. is anyone else having as much trouble as I am with the new update?

    The pre-2006 Mac models this forum covers cannot run a Mac OS high enough to have Mission Control. If you can identify your Mac to us we can get you moved to a more active forum.

  • Problem in getting the parameters from teh form html with upload file

    I have used the jspsmartupload package:
    the html file:
    <HTML>
    <BODY BGCOLOR="white">
    <H1>jspSmartUpload : Sample 5</H1>
    <HR>
    <form METHOD="POST" ACTION="sample5.jsp"
    NAME="PW" ENCTYPE="multipart/form-data">
    <table CELLSPACING="0" CELLPADDING="3" BORDER="1" WIDTH="474">
    <!-- FILE -->
    <!-- TEXT -->
    <tr>
    <td width="150">
    <div align="left">
    <p><small><font face="Verdana">Text :  </font></small>
    </div>
    </td>
    <td width="324"><small><font face="Verdana">
    <input TYPE="TEXT" name="myText" value="">
    <br>
    </font></small></td>
    </tr>
    <!-- TEXTAREA -->
    <tr>
    <td width="150">
    <div align="left">
    <p><small><font face="Verdana">Text Area :  </font></small>
    </div>
    </td>
    <td width="324"><small><font face="Verdana">
    <textarea name="myTextArea" rows="4" value=""></textarea>
    <br>
    </font></small></td>
    </tr>
    <!-- PASSWORD -->
    <tr>
    <td>
    <div align="left">
    <p><small><font face="Verdana">PassWord :  </font></small>
    </div>
    </td>
    <td><small><font face="Verdana">
    <input TYPE="PASSWORD" name="myPASSWORD" value="">
    <br>
    </font></small></td>
    </tr>
    <!-- HIDDEN -->
    <tr>
    <td>
    <div align="left">
    <p><small><font face="Verdana">Hidden :  </font></small>
    </div>
    </td>
    <td><small><font face="Verdana">
    <input TYPE="hidden" name="myHidden" value="hidden">
    <br>
    </font></small></td>
    </tr>
    <tr>
    <td><small><font face="Verdana">Select a first file : 
    </font></small></td>
    <td><small><font face="Verdana">
    <input type="file" name="FILE1">
    </font></small></td>
    </tr>
    <tr>
    <td><small><font face="Verdana">Select a second file : </font></small></td>
    <td><small><font face="Verdana">
    <input type="file" name="FILE2">
    </font></small></td>
    </tr>
    <!-- CHECKBOX -->
    <tr>
    <td>
    <div align="left">
    <p><small><font face="Verdana">CheckBox :  </font></small>
    </div>
    </td>
    <td><small><font face="Verdana">
    <input TYPE="CHECKBOX" name="myCheckBox" value="Value 1">
    Value 1<br>
    <input TYPE="CHECKBOX" name="myCheckBox" value="Value 2">
    Value 2<br>
    <input TYPE="CHECKBOX" name="myCheckBox" value="Value 3">
    Value 3<br>
    </font></small></td>
    </tr>
    <!-- RADIO -->
    <tr>
    <td>
    <div align="left">
    <p><small><font face="Verdana">Radio :  </font></small>
    </div>
    </td>
    <td><small><font face="Verdana">
    <input TYPE="radio" name="radio" value="Value 1">
    Value 1<br>
    <input TYPE="radio" name="radio" value="Value 2">
    Value 2<br>
    <input TYPE="radio" name="radio" value="Value 3">
    Value 3<br>
    </font></small></td>
    </tr>
    <!-- SELECT -->
    <tr>
    <td>
    <div align="left">
    <p><small><font face="Verdana">Simple Select :  </font></small>
    </div>
    </td>
    <td><small><font face="Verdana">
    <SELECT name="mySimpleSelect" >
    <OPTION value="Value 1">Value 1</OPTION>
    <OPTION value="Value 2">Value 2</OPTION>
    <OPTION value="Value 3">Value 3</OPTION>
    </SELECT>
    <br>
    </font></small></td>
    </tr>
    <!-- SELECT MULTIPLE -->
    <tr>
    <td>
    <div align="left">
    <p><small><font face="Verdana">Multiple Select :  </font></small>
    </div>
    </td>
    <td><small><font face="Verdana">
    <SELECT multiple name="myMultSelect" >
    <OPTION value="Value 1">Value 1</OPTION>
    <OPTION value="Value 2">Value 2</OPTION>
    <OPTION value="Value 3">Value 3</OPTION>
    </SELECT>
    <br>
    </font></small></td>
    </tr>
    <!-- SUBMIT -->
    <tr>
    <td colspan="2" width="474">
    <div align="center">
    <center>
    <p><small><font face="Verdana">
    <input
    TYPE="Submit">
    </font></small>
    </center>
    </div>
    </td>
    </tr>
    </table>
    </form>
    </BODY>
    </HTML>
    the jsp file :
    <%@page language="java" import="com.jspsmart.upload.*"%>
    <%@page import="java.util.*"%>
    <jsp:useBean id="myUpload" scope="page" class="com.jspsmart.upload.SmartUpload" />
    <HTML>
    <BODY BGCOLOR="white">
    <H1>jspSmartUpload : Sample 5</H1>
    <HR>
    <%
         // Initialization
         myUpload.initialize(pageContext);
         // Upload
         myUpload.upload();          
         // Files
         out.println("<BR><STRONG>Display information about Files</STRONG><BR>");
         out.println("Number of files = " + myUpload.getFiles().getCount() + "<BR>");
         //out.println("Total size (bytes) = " + myUpload.getFiles().getSize() +"<BR>");
         for (int i=0;i<myUpload.getFiles().getCount();i++){
              out.print(myUpload.getFiles().getFile(i).getFieldName());
              if (!myUpload.getFiles().getFile(i).isMissing())
                   out.print(" = " + myUpload.getFiles().getFile(i).getFileName() + " (" + myUpload.getFiles().getFile(i).getSize() + ")");
                   myUpload.getFiles().getFile(i).saveAs("/upload/" + myUpload.getFiles().getFile(i).getFileName());
              else
                   out.print(" = vide");          
              out.println("<BR>");
         // Request
         out.println("<BR><BR><STRONG>Display information about Requests</STRONG><BR>");
         // Retreive Requests' names
         java.util.Enumeration e = myUpload.getRequest().getParameterNames();
         // Retreive parameters
         while (e.hasMoreElements()) {
              String key = (String)e.nextElement();
              String[] values = myUpload.getRequest().getParameterValues(key);               
              // Browse the current parameter values
              for(int i = 0; i < values.length; i++) {
              out.print(key + " = ");
              out.print(values[i] + "<BR>");
    %>
    </BODY>
    </HTML>
    The result shown is:
    jspSmartUpload : Sample 5
    Display information about Files
    Number of files = 2
    FILE1 = path.txt (240)
    FILE2 = WS_FTP.LOG (146)
    Display information about Requests
    radio = Value 2
    mySimpleSelect = Value 1
    myTextArea = test
    myPASSWORD =
    myMultSelect = Value 3
    myHidden = hidden
    myText = test
    myCheckBox = Value 1
    myCheckBox = Value 2
    myCheckBox = Value 3
    I would like to know if i want to get back the parameters from the form ,
    is that i must use Enumeration.
    Because i have tried request.getParameter() to get the value of radio button, textbox, checkbox and select menu, but it get the null values.
    Also, the function of Enumeration does not get the values of parameter in sequence as html form. e.g.In the html file, the first parameters should be textbox,but it displays the radio button's values first.
    How to solve the problem .
    Thanks

    This sounds like a bug in the smart upload code. I have used this stuff before, but it's probably an older version, so maybe they broke something. Enumerations aren't usually guaranteed to keep things in any particular order. I would say for now, make a method to take the enumeration and a param name to find the value. And write to the JSPSmart people.

  • How do I get picture control to display PNG images with transparent background?

    I have an image of a robot arm looking from the top with a transparent background and saved as PNG. When I drag the image directly to LabVIEW front panel, the image shows properly with the transparent background, but I want to manipulate it such as rotate the image. I used the Read from PNG.vi to read the image to a picture control, but the background isn't transparent anymore. Am I missing something?
    Please help.

    unclebump gets 5 stars for referring you to a document that I wrote. 
    Incidentally, I wrote it years back, for LabVIEW 7.0.  A couple of notes to summarize:
    The picture control doesn't "really" support transparency.  However, the image data type supports masking, and stores the alpha channel, if present in your image data.  So you use the "Create Mask By Alpha.vi" referenced in that document to mask out pixels whose transparency is above a certain level.  It does not support partial transparency.  You could try to implement your own blending algorithm based on the picture control's current pixel values, and the image data's RGB value and transparency value, but it would probably be very slow.
    Also, that VI ships with 8.0 and later.  I don't know if it's on the palettes but it lives here:  vi.lib\picture\picture.llb\Create Mask By Alpha.vi
    Good luck!

  • How do I get my Zen Vision:M to run with Vis

    i was wondering if the Creative Media Explorer 6.2.0 Software Pack for ZEN Vision:M (30GB and 60GB) [color="#330000">provided in the downloads would also upgrade my Zen's firmware which?i DON'T want it to do since i like being able to record radio. noways thanks ^.^[color="#330000">?[color="#330000">?[color="#330000">ps-does anyone know if i can download Windows XP anywhere?

    okay, so i can still play the songs............Hopefully i can rip songs and organise it still without media source....... Still learning to dri've this new computer..it's a beast!I've gone from windows ME and 4 gigtowindows vista and 320 gig!Loving it so far:smileyvery-happy:

  • "Mission Control" does not show space row and I cannot add a new space (27 inch screen)

    Firstly, "Mission Control" does not show upper row with spaces. I have configured Dashboard as space, but it is not showed either.
    Second, I cannot add a new space because the upper right corner wont show an empty space.
    In system I have configured (Mission Control) the upper right corner as "mission control".
    I do run a 27-inch screen

    I'm having the exact same problem. I have a Macbook Pro that I connect to a 27inch iMac through the mini display port. Whenever I attempt to launch Mission control to move a program to a different space, the "Spaces" dont appear at the top of the screen. Is anyone have an answer for this?
    Also, does anyone know of a 3rd party program to bring "Spaces" back? That was my #1 favorite thing of Snow Leopard, and I need to get that functionality back.
    Thanks

  • Lion Frustrations: Mission Control

    Okay, don't get me wrong, I love Lion, however Mission control is driving me crazy. It is mainly because I cannot rearrange desktops (easily at least). I have apps I have opened an put in full screen and it would be so much more user friendly if I could rearrange desktops.
    Another frustration is that Mission Control does not play nicely with multiple displays. It would be nice if each desktop would display on a separate display. So desktop 1 would display on my first screen and desktop 2 would be on my second screen, then when I do a three finger swipe it would then switch to displaying desktops 2 and 3. This way makes so much more sense. That would also resolve the issue of full screen apps leaving the second display blank.
    I've seen this issue brought up on the web all so often, you would think Apple would get on the ball to fix this.
    I almost wish I could write an app that does this. Does anyone have any insight on how to do this? Does anyone know if one like this is already in development? This functionality is crucial to my workflow.

    Yeah this is not normal at all...I'm facing the same problem....*** I use this computer to work not to brush tooth to turtles....this is really not normal please fix asap...is impossible to work like this....I miss spaces...

  • Mission Control: How to change the order of the Apps?

    OS X Lion
    Is it possible, to change the order of the Apps in Mission Control?
    When I swipe with my 3 fingers, I first get the Apps, witch I started last.
    Any way to change that?
    Thanks Mark.

    Here is a simple way to use Mission Control just as Spaces:
    Let's assume in this example we like to assign iPhoto to Desktop 3 (which in Spaces was called Space 3).
    1. Turn off 'Automatically rearange spaces on most recent use
    2. Scroll up with 3 fingers simultaneously or launch Mission Control from the Dock. Click on Desktop 3. While you are in Desktop 3 launch iPhoto. Doublecheck with a right click on the iPhoto symbol in the Dock. Choose options. Confirm 'This Desktop'
    NOTICE: Apps are automatically assigned to the Desktop / Space where they are launched for the very first time. However you change this by ctrl-click the application's symbol and assign to None than switch to let's stay with Desktop 3 and launch the application from here. From then on it will be assigned to Desktop 3.
    NOTICE: Apps in fullscreen mode will temporarily (for the duration they are in fullscreen mode) be assigned to right most Desktops in Mission Control. Once you restore to a window you will find yourself again in its (app's) asigned Desktop.

  • Mission Control is a step backwards

    As kids we learn how to organize things and more often than not, the first step is to lay out everything so you can see EVERYTHING. Picking one out of 20 is really EASY for us humans. That's what we learn as kids -- putting stuff together like puzzles. This comes naturally. And Expose+Spaces was just that....
    I have been using Mission Control for a a long time now but I can't for the life of me figure out why Apple would ditch something that has worked well in the past.
    Mac OS Lion's Mission Control tries to be smart, but its being smart in all the wrong places:
    Side swipe is inefficient. I have quite a few apps running in full screen. I get tired of swiping left and right to "locate" my stuff.
    Full screen apps and dashboard as tiny thumbnails in mission control? Its a cluster**** (pardon my frustration here) of stuff put together and it confuses me more that the previous expose+spaces.
    Apps of the same kind grouped together? Now I have this sinking/uneasy feeling that I can't find what I'm looking for because its not showing me *all* my windows or is buried under some other window. The confidence I had with expose+spaces is now lost.
    When Windows came out with Win+Tab functions (that 3D window thing) I always said how really useuless that was when compared to expose especially because it hid 1 window behind another. And fast forward 3+ years, Mac OS X is taking the same step back by grouping all browser windows together.
    Expose+Space was simple, uncomplicated and unassuming.
    Mission Control is complex, complicated and totally assuming.
    Please bring Expose+Spaces back or evolve Mission Control to something like it.
    PS-1: Expose of safari should include tabs in the expose view. Why is this so hard? Why do I need to open new safari windows to see it in expose/Mission control?
    PS-2: I know there's been feedback around this in this forum and I'm doing my part to make myself heard hopefully by Apple -- I've done the feedback thing already.

    Yay! Apple listened, err, I think.
    http://osxdaily.com/2012/07/30/expose-mac-os-x-mountain-lion/
    You can almost get the old style Expose back with "Group windows by application" turned off in Mountain Lion.
    Not entirely quite the same as the old style Expose. But I can live with this. Side swipe is still inefficient and I end up doing this often:
    - Swipe left
    - Oops, this isn't the right window.
    - Swipe up to get Mission Control.
    - Find the right window.
    Side swipe never gives me the thing I'm looking for and as a result I'm not very confident using it unless I have a single full screen app running. Anyway I have adjusted to use Mission Control instead to switch between full screen apps. Its not all that bad with that setup.
    Now, Safari 6 has side swipe and I'm not loving it either. But I guess we'll have to live with it. Anything is better than nothing I guess..

  • Window (ungrouped) names in Mission Control

    I know that the if you have the Mission Control preference set to "grouped windows", the application name is shown under each window when you look at all applications. I also know that when you focus on a specific application in Mission Control (MC), the windows associated with that application are all appropriately named under the thumbnails. But what I don't see in Mountain Lion is if you have MC set to "ungrouped windows", there are no names under the thumbnails, e.g. names of my multiple Pages or Word files. Instead, I have to click the space bar while hovering over the window to see what is in each of them. The naming of all of the windows in Expose was really useful. Is there any way to get that back?
    I have a feeling that in their move to make "one system" for desktops and mobile devices, apple has decided that the names would be too small. Well, I still like to use a real computer  ---- OK, I am off my soapbox.
    Nick

    It seems to me to be the opposite of what you describe wrt to grouped vs ungrouped.
    However, if you go to App Exposé instead of Mission Control, you see the names under the windows.
    Now, where is the function in iOS that shows all the open applications at once?

  • How do you disable the right shift hotkey that goes to mission control?

    I want to change the right shift button as a hotkey for mission control. It is really annoying that whenver I want to type a '?', I use the right shift key, but it goes to mission control. I am fine with the 3 finger swipe up for mission control....I don't need more options for this feature.

    Never mind, I figured it out. If anyone else has the same problem, go to System Preferences and then click Mission Control. Change the Mission Control keyboard shortcut to nothing. It will still go to mission control with the 3 finger swipe up. You can then go back and change it to another option.
    I did this and it no longer automatically goes to mission control with right shift.

  • Moving apps in mission control over multiple screens

    Hey all, is it at all possible to move applications through mission control between screens? In Spaces this was no problem, but with Mission Control they seem to have botched this up.
    So, I open mission control, i see MC running on both screens, then I want to grab a window, and move it to a 'space' on my other screen. Pretty straightforward stuff. Not a problem in Spaces. Seemingly impossible in MC.
    Am i overlooking something?
    regards,
    cor

    Yes, I completely agree. I can't see how to see minimized programs in MC either and it is extremely annoying.
    Another annoyance is programs appear in different places from one use of Mission Control to another a few seconds later.

Maybe you are looking for

  • Some songs don't show up on the playlist after syncing

    All of the songs on the playlist show up on my iPhone. But they just aren't in the playlists. It seems like it's the older songs I had before I transfered everything onto my new computer that are getting left off. All the songs are checked and play f

  • Blank space in report builder

    Hi, Please help me in the following Example COL1 COL2 COL3 COL4 In oracle report builder I want to disable the column COL2 under some conditions. I made it.The output looks like this. COL1          COL3  COL4 But after doing that I am getting more sp

  • Add zeros on the left in a string of characters

    Hi, I'd like to add zeros on the left in a string of characters. Example:    Char10: 8572   --->  Char10: 0000008572 I'd like to know if there's a standard instruction for this, or a quick way to do it. Thanks in advance, Gerard

  • Flash Websites - content panel

    Hi There I am new to flash and am looking for a tutorial which will help me create a specific end product.   I am trying to make a flash website (which i have the designs for) which will have links down the right hand side, but when the link is click

  • WF error - ROLLBACK WORK executed

    I m trying to implement workflow template WS20000077 for overall release of requisitions. When i test the workflow my workitems are under status ERROR. The error log gives the following message - ROLLBACK WORK executed (SWP_CALLBACK_WI_DONE item 8) R