[JBoss-user] [Installation, Configuration & Deployment] - Re: JB 4.0.2 to 4.0.3 -> jar stopped working
OK, I figured it out. The avalan jar was missing from the lib directory and that was causing the fop jar to throw the exception. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906374#3906374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906374 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: JB 4.0.2 to 4.0.3 -> jar stopped working
Ouch. OK, how can I word this better... I'm running win32 (2000) and jdk 1.4. In 4.0.2, I placed my jars in the server/myserver/lib directory. I use Xalan, Xerces, Batik and FOP to render PDF reports. The reports rendered PDF OK. I upgraded to 4.0.3 and placed my jars in the server/myserver/lib directory. Now, when I run a PDF report, I get the following error: | at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.invocation.Invocation.performCall(Invocation.java:345) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149) | at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:54) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106) | at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:158) | at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) | at org.jboss.ejb.Container.invoke(Container.java:873) | at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104) | at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) | at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) | at $Proxy53.dispatch(Unknown Source) | at com.lognet.servlets.DispatcherServlet.doWork(DispatcherServlet.java:513) | at com.lognet.servlets.DispatcherServlet.wrapper(DispatcherServlet.java:54) | at com.lognet.servlets.DispatcherServlet.doPost(DispatcherServlet.java:834) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardE
[JBoss-user] [Installation, Configuration & Deployment] - JB 4.0.2 to 4.0.3 -> jar stopped working
I previously had my application working fine in JB 4.0.2. I have a bunch of jars (xalan.jar, xerces.jar, fop.jar, classes12.jar, jconn2.jar, etc.) that I put in the server/lib directory and all was well. When I upgraded to 4.0.3, I now get the following error in my log when trying to invoke fop: java.lang.NoClassDefFoundError: org/apache/fop/apps/Driver I tried adding the jar manually to the jboss classpath, but that made no difference. Did something change with the jar loader in this point release? Anyone know how to fix this issue? Thanks, Lou View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905999#3905999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905999 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - accessing unpacked war directory?
>From within my running app's properties file, I need to absolutely reference a >directory within my war file. The problem is that the hot deployer unpacks it >to a semi-random directory under the tmp\deploy directory. Any idea on how to >access this directory programmatically? For example: Within an ear file I have a xxx.war file. This war file contains a directory named 'abc'. I deploy the ear and the deployer also deploys the war in a directory like: c:\jboss\server\xxx\tmp\deploy\tmpxxx-exp.war. Within this exploded directory is the abc directory. From my application, I have a properties file that has to have an entry like: web_root=C:\\jboss\\server\\xxx\\deploy\\xxx.war\\abc or something to that affect. Is this doable? Is my only alternative to not hot deploy and unpack the war myself? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881702#3881702 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881702 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss 4, Sybase ASA 9: datasource getConnection throwing ex
I'm setting up JBoss 4 with Sybase ASA 9 and jconnect 5. I created a sybase-ds.xml file and deployed it. JBoss boots and connects to the Sybase DB (I can see the initial 10 connections), but when I try to log into my app, I get an exception coming from my datasource.getConnection() call. The exception stack is: 2005-06-10 07:57:36,322 INFO [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] java.lang.Exception: STACKTRACE at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:321) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:467) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:874) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103) at com.lognet.interfaces.DatabaseInterface.getDatabaseConnection(DatabaseInterface.java:127) at com.lognet.interfaces.DatabaseInterface.getDatabaseConnection(DatabaseInterface.java:33) at com.lognet.ejb.dispatcher.DispatcherBean.dispatch(DispatcherBean.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... My ds xml file follows: | | sybasePool | jdbc:sybase:Tds:1.1.1.1:2638?ServiceName=DBNAME;CON=JBOSS | com.sybase.jdbc2.jdbc.SybDriver | xxx | xxx | 40 | org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter | | | Sybase | | | My java code is: InitialContext ctx = new InitialContext(); | DataSource ds = (DataSource) ctx.lookup("java:"+pool); | conn = ds.getConnection(); //EXCEPTION HERE Please tell me I configured something wrong. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881077#3881077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881077 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user