[Tomcat, HTTPD, Servlets & JSP] - .XLS opening problem in JBOSS
by mandeep
Hi,
I am facing a weird problem with my xls files when opened thru Jboss in IE.
I have a JSP deployed on JBOSS which has links to a pdf file and a xls file.
The pdf file opens up normally when the link is clicked on, but when the xls link is clicked it displays some ANSI characters in IE instead of opening the xls file correctly.
The code of my jsp is as follows:
| ***********************************************************
| <%@ page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
| <html>
| <head>
| </head>
| <body>
| <h2>Testing File Links</h2>
| <hr/>
| <a href="49396.pdf" target="blank">49396.pdf</a>
| <br/>
| <a href="July2006.xls" target="blank">July2006.xls</a>
| </body>
| </html>
| ***********************************************************
|
The same code works fine when run as a simple HTML outside JBOSS.
Is there any remedy ??
Regards,
Mandeep Singh
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962786#3962786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962786
19 years, 9 months
[JBoss Portal] - Portal AS 2.4RC3 - Problem on XP with server start.
by ColinD
Hi chaps,
Fairly new to jboss, and trying to evaluate it for a project.
I've downlaoded the 2.4RC3 this morning and unpacked it to my test machine ( I Know xp) Will try later on my linux test box. But I'm hitting this problem, could any of you shed some light on it for me.
As a backup, I've downloaded the AS and it launches fine.
Thanks in advance.
Colin.
anonymous wrote :
| ===============================================================================
| .
| JBoss Bootstrap Environment
| .
| JBOSS_HOME: C:\Servers\jboss-portal\bin\\..
| .
| JAVA: C:\j2sdk1.4.2_12\bin\java
| .
| JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
| terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
| .
| CLASSPATH: C:\j2sdk1.4.2_12\lib\tools.jar;C:\Servers\jboss-portal\bin\\run.jar
|
| .
| ===============================================================================
| .
| 11:24:34,046 INFO [Server] Starting JBoss (MX MicroKernel)...
| 11:24:34,046 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
| ss_4_0_4_GA date=200605151000)
| 11:24:34,046 INFO [Server] Home Dir: C:\Servers\jboss-portal
| 11:24:34,046 INFO [Server] Home URL: file:/C:/Servers/jboss-portal/
| 11:24:34,046 INFO [Server] Patch URL: null
| 11:24:34,046 INFO [Server] Server Name: default
| 11:24:34,046 INFO [Server] Server Home Dir: C:\Servers\jboss-portal\server\defa
| ult
| 11:24:34,046 INFO [Server] Server Home URL: file:/C:/Servers/jboss-portal/serve
| r/default/
| 11:24:34,046 INFO [Server] Server Log Dir: C:\Servers\jboss-portal\server\defau
| lt\log
| 11:24:34,046 INFO [Server] Server Temp Dir: C:\Servers\jboss-portal\server\defa
| ult\tmp
| 11:24:34,046 INFO [Server] Root Deployment Filename: jboss-service.xml
| 11:24:34,531 INFO [ServerInfo] Java version: 1.4.2_12,Sun Microsystems Inc.
| 11:24:34,531 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_12-b03
| ,Sun Microsystems Inc.
| 11:24:34,531 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 11:24:34,875 INFO [Server] Core system initialized
| 11:24:34,968 ERROR [MainDeployer] Could not create deployment: file:/C:/Servers/
| jboss-portal/server/default/conf/jboss-service.xml
| org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.m
| anagement.j2ee.LocalJBossServerDomain; - nested throwable: (java.lang.ClassNotFo
| undException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossSer
| verDomain)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :196)
| at org.jboss.system.ServiceController.install(ServiceController.java:226
| )
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:464)
| at java.lang.Thread.run(Thread.java:534)
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jbos
| s.management.j2ee.LocalJBossServerDomain
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
| assLoader.java:511)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
| oader.java:405)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
| 1204)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
| 286)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
| 344)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
| tor.java:449)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :171)
| ... 36 more
| Failed to boot JBoss:
| org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.m
| anagement.j2ee.LocalJBossServerDomain; - nested throwable: (java.lang.ClassNotFo
| undException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossSer
| verDomain)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :196)
| at org.jboss.system.ServiceController.install(ServiceController.java:226
| )
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:324)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:464)
| at java.lang.Thread.run(Thread.java:534)
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jbos
| s.management.j2ee.LocalJBossServerDomain
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
| assLoader.java:511)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
| oader.java:405)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
| 1204)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
| 286)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
| 344)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
| tor.java:449)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
| :171)
| ... 36 more
| 11:24:35,031 INFO [Server] Runtime shutdown hook called, forceHalt: true
| 11:24:35,031 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
| 11:24:35,046 INFO [Server] Shutdown complete
| Shutdown complete
| Halting VM
| Press any key to continue . . .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962783#3962783
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962783
19 years, 9 months
[JBossWS] - Web service can't be found 404 error
by jason_rency
hi all, I am trying the Calculator web service with the jboss 4.04GA server. I can deploy and running the web service successfully as when starting the server it says:
| 2006-08-03 10:28:27,153 INFO [org.jboss.ws.server.WSDLFilePublisher] WSDL published to: file:/C:/Program Files/jboss-4.0.4.GA/server/default/data/wsdl/regserver.ear/regserver.ejb3/CalculatorService56401.wsdl
|
| 2006-08-03 10:28:27,753 INFO [org.jboss.ws.server.ServiceEndpointManager] WebService started: http://E152:8080/regserver/CalculatorBean
then I used the generated wsdl file and generate a test client by the IDE, when running it, it throws the following exceptions:
| HTTP Status-Code 404: Not Found - /regserver/CalculatorBean com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:302) com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:252) com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:88) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96) webservice.Calculator_Stub.add(Calculator_Stub.java:70) webservice.CalculatorServiceClient.calculatorportAdd(CalculatorServiceClient.java:22) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)
any ideas? thanks a lot...
Jason
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962781#3962781
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962781
19 years, 9 months