Hi Tony,
Oh, I found the solution. I missed the following code in web.xml: <!-- file upload Servlet -->
| <servlet>
| <servlet-name>uploadServlet</servlet-name>
| <servlet-class>
| com.icesoft.faces.component.inputfile.FileUploadServlet
| </servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>uploadServlet</servlet-name>
| <url-pattern>/uploadHtml</url-pattern>
| </servlet-mapping>
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025277#4025277
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025277
emcwoo, i havent tried this before so i might not be of much help. However, you could try changing
anonymous wrote : java.naming.provider.url=http://localhost:8080/invoker/JMXInvokerServlet
to
anonymous wrote : java.naming.provider.url=http://<your-machine-name>:8080/invoker/JMXInvokerServlet
I did the following to figure out what provider url to specify:
- Go to http://localhost:8080/jmx-console
- Click on service=invoker,target=Naming,type=http
- On the page that comes up, check what's the value in the textbox corresponding to the 'InvokerURL' property.
- Use this exact value as the value for java.naming.provider.url and then use it for running your application
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025273#4025273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025273