[jboss-user] [Installation, Configuration DEPLOYMENT] - deployment for Spring web app fails
When I try to deploy my web app, the deployment fails.. The following appears to be the main cause of the failure. Does anybody have any idea what the problem may be? It looks like it might have something to do with Namimg/JNDI. I have also included the code that uses JNDI for rmi calls to EJBs below the error messages. 17:39:11,084 ERROR [[/BurnsideWeb]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener java.lang.IncompatibleClassChangeError: Class org.jnp.server.NamingServer does not implement the requested interface org.jnp.interfaces.Naming at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.faces.config.WebConfiguration.processJndiEntries(WebConfiguration.java:532) at com.sun.faces.config.WebConfiguration.(WebConfiguration.java:105) at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:158) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:144) at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:71) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) 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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) /* | * To change this template, choose Tools | Templates | * and open the template in the editor. | */ | | package com.lingosys.burnside.api; | | import java.util.*; | | import org.apache.log4j.*; | | import com.attask.api.*; | import com.attask.beans.api.*; | | /** | * Reformats AtTask project name | * @author mphoenix | */ | public class NameConverter { | // Constants | private static final Logger LOG = LogManager.getLogger(NameConverter.class); | | // Fields | /** AtTask uses its own session IDs */ | protected static String _sessionID = null; | | /** Provides access to the information AtTask stores in its sessions */ | protected static SessionAttributesBean _sessionAttributes; | | /** Implements the EJB calls */ | protected static API _api; | | /** AtTask uses a special int value to represent null */ | protected static int _intNull; | | public String go(String id) { | | try { | // Connect to server. | Properties props = System.getProperties(); | props.setProperty(java.naming.provider.url, jnp://192.168.1.206:1099); | props.setProperty(java.naming.provider.port, 8080); | props.setProperty(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); | props.setProperty(java.naming.factory.url.pkgs, org.jboss.naming.client); |
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Want to get rid of
Whoops. sorry. It's version 4.01, which has root.war under jbossweb-tomcat50.sar. I assume the jboss-web.xml solution will work with that version. I assume removing root.war from the location or doing the application solution you suggest will work for 4.01. If those assumptions are incorrect, please let me know. Thanks, Peter. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220675#4220675 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Want to get rid of
The context root did not work. It made me development set up go entirely nuts, possibly because jboss-web tag contains multiple ejb-local-ref tags. What did work nicely was replacing index.html in ROOT.war with a html file containing a meta tag redirect. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220782#4220782 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Want to get rid of Welcome to JBoss
What is the easiest way to direct a user who tries to get to our host away from the Welcome to JBoss page? It has been suggested that we use a virtual host, but I find the JBoss documentation very confusing and lacking in details. Also it appears that we would have to make changes to application configuration files which would need to be changed every time we deployed on test and then deployed on production. Any suggestions on a better method or directions to some clear explanation of how to set up a virtual host on JBoss if that's the only way to get rid of this page. Neither the docs at http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch07.html or the wiki offer comprehensible details. Thanks, Mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220453#4220453 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - problem with new bean I'm creating (EJB2.0)
I'm trying to create a new entity bean for an existing application. When I deploy I get the following error: anonymous wrote : org.jboss.deployment.DeploymentException: Field changeDate in prim-key-class must be of the same type. New table sql CREATE TABLE `projecthistory` ( | `ProjectId` int(11) NOT NULL default '0', | `ChangeDate` datetime NOT NULL, | `UserID` varchar(50) NOT NULL, | `Status` int(11) NOT NULL default '0', | PRIMARY KEY (`ProjectId`, `ChangeDate`), | KEY `projecthistory_ProjectID_FK` (`ProjectId`), | CONSTRAINT `projecthistory_ProjectID_FK` FOREIGN KEY (`ProjectId`) REFERENCES `projects` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE | ); prim-key in ejb-jar.xml prim-key-classlingonet.projecthistory.ProjectHistoryKey/prim-key-class The key class public class ProjectHistoryKey { | public Integer projectID; | public Date changeDate; | | public ProjectHistoryKey (Integer projectID, Date changeDate) { | this.projectID = projectID; | this.changeDate = changeDate; | } | } | I am using java.util.date in my java code, which works for other beans where the date isn't a primary key? Do I need to use java.sql.date or is there just a problem using dates in primary keys or something else entirely? Some guidance here would be appreciated. Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4193845#4193845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4193845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - problem trying to create new bean (EJB2.0)
I'm trying to create a new entity bean for an existing application. When I deploy I get the following error: anonymous wrote : org.jboss.deployment.DeploymentException: Field changeDate in prim-key-class must be of the same type. New table sql CREATE TABLE `projecthistory` ( | `ProjectId` int(11) NOT NULL default '0', | `ChangeDate` datetime NOT NULL, | `UserID` varchar(50) NOT NULL, | `Status` int(11) NOT NULL default '0', | PRIMARY KEY (`ProjectId`, `ChangeDate`), | KEY `projecthistory_ProjectID_FK` (`ProjectId`), | CONSTRAINT `projecthistory_ProjectID_FK` FOREIGN KEY (`ProjectId`) REFERENCES `projects` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE | ); prim-key in ejb-jar.xml prim-key-classlingonet.projecthistory.ProjectHistoryKey/prim-key-class The key class public class ProjectHistoryKey { | public Integer projectID; | public Date changeDate; | | public ProjectHistoryKey (Integer projectID, Date changeDate) { | this.projectID = projectID; | this.changeDate = changeDate; | } | } | I am using java.util.date in my java code, which works for other beans where the date isn't a primary key? Do I need to use java.sql.date or is there just a problem using dates in primary keys or something else entirely? Some guidance here would be appreciated. Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4193849#4193849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4193849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - problem deploying application - upgrading to JBoss 4.2.3
OK, I am trying to port an application from JBoss 4.0.1 to 4.2.3. I am now getting the error: java.lang.IllegalStateException: Cannot obtain target bean for: JuniperLNServlet I have searched extensively for this error both on Google and the JBoss site search function and cannot find anything. Any help would be appreciated. I am pretty much of a newbie with Web apps and services so I'm unsure of what I need to be looking at. To make things worse documentation for the application is nonexistent. JuniperLNServlet is a Web service. Because this is the first servlet defined in web.xml, it seems like the problem may be systemic and not specific to this servlet. To save space I am just including configuration code that is related to this servlet. If anybody has some ideas that makes them want to look at let me know and I will post that code. log | 15:31:55,752 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.webservices.JuniperLNServlet | 15:31:55,752 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.webservices.ConnectorLNServlet | 15:31:55,752 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.webservices.ExampleResponseLNServlet | 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.LoginServlet | 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.EDSLoginServlet | 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.UserCommander | 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.ProjectCommander | 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.SystemSettingsCommander | 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.reports.ReportImageServlet | 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: javax.faces.webapp.FacesServlet | 15:31:55,830 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.2.3.GA/server/default/tmp/deploy/tmp24788app.ear-contents/web.war | java.lang.IllegalStateException: Cannot obtain target bean for: JuniperLNServlet | at org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect.create(ModifyWebMetaDataDeploymentAspect.java:58) | at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118) | at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy45.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | web.xml | servlet |servlet-nameJuniperLNServlet/servlet-name |servlet-classlingonet.webservices.JuniperLNServlet/servlet-class | /servlet | servlet-mapping |servlet-nameJuniperLNServlet/servlet-name |url-pattern/JuniperLN/url-pattern | /servlet-mapping | webservice.xml | webservice-description | webservice-description-nameJuniperLNService/webservice-description-name | wsdl-fileWEB-INF/wsdl/JuniperLNService.wsdl/wsdl-file | jaxrpc-mapping-fileWEB-INF/junipermapping.xml/jaxrpc-mapping-file | port-component | port-component-nameJuniperLN/port-component-name | wsdl-port xmlns:my=http://lingonet.lingosys.com;my:JuniperLNPort/wsdl-port | service-endpoint-interfacelingonet.webservices.JuniperLN/service-endpoint-interface | service-impl-bean | servlet-linkJuniperLNServlet/servlet-link | /service-impl-bean | /port-component | /webservice-description | View the original post :
[jboss-user] [Beginners Corner] - Re: problem with upgrading to JBoss 4.2.3
I'm sure it is specific to our application. The thing is, this was working on 4.0.1 but not on 4.2.3. My guess is that there is some problem with the configuration of the 4.2.3 server, because the application configuration files are unchanged. I am pretty much of a newbie with Web apps and services so I'm unsure of what I need to be looking at. To make things worse the documentation is nonexistent. JuniperLNServlet is a Web service. Because this is the first servlet defined in web.xml, it seems like the problem is systemic and not specific to this servlet. To save space I am just including configuration code that is related to this servlet. If anybody has some ideas that makes them want to look at let me know and I will post that code. web.xml | servlet |servlet-nameJuniperLNServlet/servlet-name |servlet-classlingonet.webservices.JuniperLNServlet/servlet-class | /servlet | servlet-mapping |servlet-nameJuniperLNServlet/servlet-name |url-pattern/JuniperLN/url-pattern | /servlet-mapping wevservice.xml | webservice-description | webservice-description-nameJuniperLNService/webservice-description-name | wsdl-fileWEB-INF/wsdl/JuniperLNService.wsdl/wsdl-file | jaxrpc-mapping-fileWEB-INF/junipermapping.xml/jaxrpc-mapping-file | port-component | port-component-nameJuniperLN/port-component-name | wsdl-port xmlns:my=http://lingonet.lingosys.com;my:JuniperLNPort/wsdl-port | service-endpoint-interfacelingonet.webservices.JuniperLN/service-endpoint-interface | service-impl-bean | servlet-linkJuniperLNServlet/servlet-link | /service-impl-bean | /port-component | /webservice-description View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4177849#4177849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4177849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - problem with upgrading to JBoss 4.2.3
OK, I am trying to upgrade from 4.0.1 to 4.2.3. i am now getting the error: java.lang.IllegalStateException: Cannot obtain target bean for: JuniperLNServlet I have searched extensively for this error both on Google and the JBoss site search function and cannot find anything. Any help would be appreciated. 15:31:55,752 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.webservices.JuniperLNServlet 15:31:55,752 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.webservices.ConnectorLNServlet 15:31:55,752 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.webservices.ExampleResponseLNServlet 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.LoginServlet 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.EDSLoginServlet 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.UserCommander 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.ProjectCommander 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.SystemSettingsCommander 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: lingonet.reports.ReportImageServlet 15:31:55,768 INFO [DefaultWebAppDesciptorModifierImpl] Ignore servlet: javax.faces.webapp.FacesServlet 15:31:55,830 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.2.3.GA/server/default/tmp/deploy/tmp24788app.ear-contents/web.war java.lang.IllegalStateException: Cannot obtain target bean for: JuniperLNServlet at org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect.create(ModifyWebMetaDataDeploymentAspect.java:58) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) 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 $Proxy45.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4177762#4177762 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4177762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - problem with service MSSQLDS not installed
When I try to deploy an application that I had running on 4.0.1 to 4.2.3 it fails to deploy. This appears to be the root cause: --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.jca:service=DataSourceBinding,name=MSSQLDS State: NOTYETINSTALLED Depends On Me: jboss.mq:service=PersistenceManager What doesn't make sense to me is the fact that this seems to point to a binding name that should be used for MS SQL Server and we are not using that in our environment. I am using MySQL under the default-ds JNDI name and have removed hsql-ds.xml. I sure would appreciate any help on this matter. My attempts at searching the site have been fruitless. I would also be grateful for any suggestions on how to debug the many arcane messages that JBoss spits out without having to constantly post questions on this forum. Thanks, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4177211#4177211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4177211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Trying to install an already registered mbean: jboss.jca:ser
Ok, I tried to search for the above error and the search engine for this site just returned a ton of stuff that mostly seemed irrelevant. The anwer may have been somwhere in the thousands of links returned, but I couldn't find it. I am trying to bui9ld a nd deploy an application that is currently running on a 4.0.1 server on a new 4.2.3 server. I have set up the connection to my MySQL database and tested it as described in the getting started documentation. When I try to build and deploy it onto the 4.2.3 server I get the following error messages: 16:17:34,844 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 16:17:34,923 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.2.3.GA/server/default/deploy/mysql-ds.xml org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=DefaultDS at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Some help would be greatly appreciated. Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176956#4176956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4176956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Error on MySQL connector test: FYI
While setting up my jboss 4.2.3 with MySQL and testing the connection I found an error in the code for client.jsp which is given in section 6.5 of the latest Getting Started documentation. There is no closing % for the tag contianing the second scriptlet. You need to add a % at the end of the code supplied to get it to work. Most developers with even a cursory knowledge of jsp should pick this up pretty quickly, but I thought that it might be good to point it out to whoever is developing the latest documentation. http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Getting_Started_Guide/beta422/html/creating_a_jdbc_client.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176391#4176391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4176391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - instrucitons for building roster application screwed up
I am trying to build the roster application to test my connection to MySQL and am using this version of the getting started manual: http://docs.jboss.org/jbossas/getting_started/v4/html/cmp.html It gives me the following instruations: 7.1. Building the Example The EJBs are packaged in two separate JAR files, one for the entity beans and one for the session bean. As before, weâve provided an ejb-jar.xml file for each one. You donât need a jboss.xml file for this example. All the CMP information needed to build the database schema is included in the standard descriptor. Weâll look at JBoss-specific customization later. To compile the code, first make sure youâre in the examples directory. Running the compile-cmp target will compile all the code in one go. ant -f jboss-build.xml compile-cmp 1. There is no such file in the examples directory. 2. There is no such file in cmproster directory. 3. When I try to run the build.xml, I find there is no such target as compile.cmp. 4. When I try to execute build.xml without the target, I get the following: BUILD FAILED C:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not properly set in /j2eetutorial14/examples/common/build.properties. Set the j2ee.home property to the location of your Application Server installati on. On Windows, you must escape any backslashes in the j2ee.home property with anoth er backslash or use forward slashes as a path separator. So, if your Application Server installation is C:\Sun\AppServer, you must set j2ee.home as follows: j2ee.home = C:\\Sun\\AppServer or j2ee.home=C:/Sun/AppServer j2ee.home is currently set to: Total time: 0 seconds Could somebsody give me some CURRENT instructions on how to build this? Is all the JBoss documentation this out of date? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4175716#4175716 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: instrucitons for building roster application screwed up
update: I also tried setting the properties file as follows: j2ee.home=C:\\jboss-4.2.3.GA BUILD FAILED C:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not properly set in /j2eetutorial14/examples/common/build.properties. Set the j2ee.home property to the location of your Application Server installati on. On Windows, you must escape any backslashes in the j2ee.home property with anoth er backslash or use forward slashes as a path separator. So, if your Application Server installation is C:\Sun\AppServer, you must set j2ee.home as follows: j2ee.home = C:\\Sun\\AppServer or j2ee.home=C:/Sun/AppServer j2ee.home is currently set to: C:\jboss-4.2.3.GA Total time: 0 seconds Some help here would be appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4175719#4175719 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - migrating from 4.0.1 to 6.4.2.3 log4j configuration file
Under conf in 6.0.1 my log4j configuration file is called log4j.xml, under the new version the file name is jboss-log4j.xml. Is there any preference as to which file name should be used to configure the log4j service under 4.2.3? I assume that they should not both be in my new installation. Is that correct? I couldn't find any clarification of this on the Jboss Website. Thanks, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4172438#4172438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4172438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - upgrading from Jboss 4.01 to 4.2.3 or Glassfish
We are having a problem with .NET clients being able to access our Web services. This problem has been traced to a problem with the version of Axis being usedin 4.0.1. Therefore we are looking to upgrade either to Jboss 4.2.3 or the most recent version of Glassfish. The main reason we are considering Glassfish is because of the excellent, free support that the community provides. With very little effort I have been able to find multiple resources for help in migrating from Jboss to Glassfish. So far, I have not been able to find equivalent resources for aid in migrating from Jboss 4.0.1 to 4.2.3. I have been googling, on this Website and the WWW, topics such as upgrading Jboss and migrating applications to Jboss. I'm still pretty much of a novice with application servers, so the amount of support I can get is going to be the deciding factor in which option I take. Can anybody here direct me to resources that would help me upgrade from 4.0.1 to 4.2.3? Any help would be appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171351#4171351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - jboss not loading image from jsp:include
OK, I have a a jsf jsp pages js tag for my application that occurs in several jsp pages: | tr |td | jsp:include page=/includes/footer.jsp/ |/td | /tr | footer.jsp has an image tag like this: | td align=leftimg src=images/logo.jpg alt=X Systems//td | The jsp files are in a directory which is under the base directory like the include and image files. For some reason, in one jsp page the logo.jpg file does not get displayed. As I understand it, the application server jboss/tomcat resolves the image files. Why would it be displayed it in one page and not another? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165778#4165778 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: problem with mysql can't find jboss database
Thanks Peter. I guess that I should have a little more specific in that I know that it is telling me that the jboss database wasn't created. I just thought that I might need something special in the way of tables or configuration of the jboss database. Anyhow, i'll try just dreting the database and see what happens. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4164282#4164282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4164282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: problem with mysql can't find jboss database
It's the JBossAS services. I just created it as you suggested and everything is working fine now. Thanks so much for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4164293#4164293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4164293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - problem with mysql can't find jboss database
I'm trying to port an application that uses JBoss4.01 to my machine from my boss's machine using the the directories my boss gave me for the IntelliJ project and the Jboss installation that goes with it. While trying to run it I found a a JMS problem that looks like it is related to SQL. It is described here http://wiki.jboss.org/wiki/IGetXAConnectionFactoryNotBoundHowDoIFixIt What this wiki entry seems to be telling me is the JMS problem is a result of the SQLexception I am getting, is that correct? The SQL exception is: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException MESSAGE: Unknown database 'jboss' I've done a search of the site using mysql jboss database and the above SQL message and haven't been able to find anything helpful. Some direction would be appreciated, even if its just a link to helpful documentation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4164133#4164133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4164133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - confusion on jboss directory structure
I'm trying to port an application that uses JBoss4.01 to my machine from my boss's machine using the the directories my boss gave me for the IntelliJ project and the Jboss installation that goes with it. While trying to run it I found a a JMS problem that looks like it is related to SQL. It is described here http://wiki.jboss.org/wiki/IGetXAConnectionFactoryNotBoundHowDoIFixIt The problem is when I search for jdbc-service-state. I find different files under 2 different directories. [jboss home]\server\default\deploy\jms - mysql [jboss home]\server\all\deploy-hasingleton\jms -hdbsql Which should I be concerned with? I know that mysql is the db we are using for our application. There is similar confusion when I look for the conf\log4j file as suggested in the JMS forum faq. There are three versions: [jboss home]\server\default [jboss home]\server\all [jboss home]\server\minimal My OS is Win XP Can somebody give me a clue as to which conf\log4j and jdbc-service-state file I should be looking at? Help would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163954#4163954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user