[JBoss-user] [JBoss Portal] - Looking for jboss-service.xml
Hi, I made JBoss Portal (latest realease) work from command line. Now, I try to run the very same JB from Eclipse (JBoss). When I start the AppServer, I get: 15:56:46,099 INFO [Server] Starting JBoss (MX MicroKernel)... 15:56:46,119 INFO [Server] Release ID: JBoss [WonderLand] 3.2.6RC2 (build: CVSTag=Branch_3_2 date=200409120119) 15:56:46,119 INFO [Server] Home Dir: C:\Programme\jboss 15:56:46,119 INFO [Server] Home URL: file:/C:/Programme/jboss/ 15:56:46,119 INFO [Server] Library URL: file:/C:/Programme/jboss/lib/ 15:56:46,119 INFO [Server] Patch URL: null 15:56:46,119 INFO [Server] Server Name: JBossNukes 15:56:46,119 INFO [Server] Server Home Dir: C:\Programme\jboss\server\JBossNukes 15:56:46,119 INFO [Server] Server Home URL: file:/C:/Programme/jboss/server/JBossNukes/ 15:56:46,119 INFO [Server] Server Data Dir: C:\Programme\jboss\server\JBossNukes\data 15:56:46,119 INFO [Server] Server Temp Dir: C:\Programme\jboss\server\JBossNukes\tmp 15:56:46,119 INFO [Server] Server Config URL: file:/C:/Programme/jboss/server/JBossNukes/conf/ 15:56:46,119 INFO [Server] Server Library URL: file:/C:/Programme/jboss/server/JBossNukes/lib/ 15:56:46,119 INFO [Server] Root Deployment Filename: jboss-service.xml 15:56:46,129 INFO [Server] Starting General Purpose Architecture (GPA)... 15:56:46,830 INFO [ServerInfo] Java version: 1.4.2_04,Sun Microsystems Inc. 15:56:46,830 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_04-b05,Sun Microsystems Inc. 15:56:46,830 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 15:56:47,221 INFO [Server] Core system initialized Failed to boot JBoss: org.jboss.deployment.DeploymentException: url file:/C:/Programme/jboss/server/JBossNukes/conf/jboss-service.xml could not be opened, does it exist? at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:168) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:607) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:191) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:145) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Thread.java:534) 15:56:47,271 INFO [Server] JBoss SHUTDOWN: Undeploying all packages Shutting down Shutdown complete Halting VM Any idea, why it looks for the jboss-service.xml in the JBoss-Nukes directory? This file is in the "default" directory. Thanks for your hints. Klaus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912121#3912121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912121 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - JB does not accept my web-app
I deploy a simple web application to JBoss and get a Parse Error for my application. The same application (presently without EJB) does not create a problem when deployed to Tomcat 5! Can anybody explain what that message means? Thanks for your help Klaus WEB-INF/web.xml: -- http://java.sun.com/dtd/web-app_2_3.dtd";> ProcessOrderSERVLET Name for ProcessOrderSERVLET com.dll.servlets.ProcessOrderSERVLET ProcessOrderSERVLET /ProcessOrderSERVLET PrintServlet PrintServlet com.dll.servlets.PrintServlet PrintServlet /PrintServlet //--- JBOSS log - 09:12:46,612 ERROR [Digester] Parse Error at line 104 column 11: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2959) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:918) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1145) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1446) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.applicationConfig(SingleSignOnContextConfig.java:299) at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.start(SingleSignOnContextConfig.java:741) at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.lifecycleEvent(SingleSignOnContextConfig.java:255) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3582) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source)
[JBoss-user] [Installation & Configuration] - JB does not start
Hi, I am a bit lost. Work with JB for a while now. Now, I have to install it on a new Computer and nothing works as before. Tried Java 1.5. But this is obviously not a good option for JB 3.x. So, I installed 1.4 and got the following output. Can anybody give a "help that newbie" hint? Tanks Klaus C:\WINDOWS>c:\programme\jboss\bin\run === . JBoss Bootstrap Environment . JBOSS_HOME: c:\Programme\jboss\bin\\.. . JAVA: C:\j2sdk1.4.2_05\bin\java . JAVA_OPTS: -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n -Dprogram.name=run.bat -Xm s128m -Xmx128m.. . CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;c:\Programme\jboss\bin\\run.jar . === . Warning: classic VM not supported; client VM will be used Invalid maximum heap size: -Xmx128m.. Could not create the Java virtual machine. DrÃÂcken Sie eine beliebige Taste . . . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850916#3850916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850916 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Deployment error from JDBC
Hi, I am encountering a deployment problem. I cannot make out the reason for this error. Could somebody give me a hint where to look? Thanks Klaus --- 15:28:46,011 INFO [MainDeployer] Starting deployment of package: file:/C:/Programme/jboss/server/default/deploy/CorpSim.ear 15:28:47,744 INFO [EARDeployer] Init J2EE application: file:/C:/Programme/jboss/server/default/deploy/CorpSim.ear 15:29:28,318 INFO [EjbModule] Deploying user_data 15:29:29,670 INFO [EjbModule] Deploying userMgr 15:29:29,800 INFO [EjbModule] Deploying session_monitor 15:29:43,222 ERROR [EntityContainer] Starting failed java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:977) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:290) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:379) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy15.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy23.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:331) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy15.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy12.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.de
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Applet Problems
Found the problem: Inside the applet, I called some images, which hat problems with the context-path. Thanx for your interest anyhow. Klaus View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845199#3845199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845199 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Applet Problems
Hi, I am using JBoss and it works nicely. But now, I have a problem which might have to do with adjustments in embeded Tomcat. I am using an applet which works fine in the intranet. When I access the same server from the internet, the applet does not show up (gray square). No info in log files. I tried different options: codebase="entryform" or codebase="/entryform", but only this works in my intranet: codebase="./entryform" Thanks for your hints. Klaus --- 8< code --- Applet HTML Page Applet HTML Page Generated by NetBeans IDE View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845037#3845037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845037 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - XDoclet config for MDB
Hi, could somebody tell me, what I have to configure XDoclet in Eclipse to that message-driven beans are added? Did'nt find any message* entry in list (right-click ejbdoclet). Thanks Klaus View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822470#3822470 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822470 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Stateful SessionBean Activation does not work
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821732#3821732 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821732 Hi, up to now, I thought it would be easy: A stateful EJB SessionBean gets passivated by the container, and as soon as another bean tries to access this bean, it activates itselves. Not in my code. The Sessionbean works beautifully. When it passivates, it does that without errors or exceptions. When I try to talk to it with the same methods, i used before, my calls get stuck, without warning, errors and so. Could one tell me where to look? Thanx for your thoughts Klaus --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - I do not understand the TxConnectionManager warning
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821728#3821728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821728 Hi, could anybody explain to me what this line in my log tells me? I have difficulties to find the reason for this warning - [TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure. - Thanx for your help Klaus --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EJB References
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820350#3820350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820350 Fine, understood this (not too many books talk about that :-) ) But how do I get from the EJBLocalObject to my Localinterface. Do I cast the EJBLoclObject? In other words: If I had in my class a EJBLocalObject reference handed in from say interface UserManager. -- EJBLocalObject um; public void setUm( EJBLocalObject elo ){ um = elo; } -- //would I use it by just casting it the right way? valuewhatever = ((UserManager) um).getMyVal(); -- I hope, you understand what I mean. Thanks again for your help. Klaus --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - EJB References
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820325#3820325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820325 Hi, I like to reference to beans to be able for them to access each other. I understand that I am not allowed to hand over "this" as Parameter to the other bean. Object o = jndiContext.lookup( "somewhat" ); (MyBeanHomeLocal) mhl = (MyBeanHomeLocal)PortableRemoteObject.narrow( o, MyBeanHomeLocal.class ); //would this creator possible? MyBean mb = mhl.create( this ); Or, how do I make it possible that MyBean would access the actual one?? Thanks for your helk Klaus --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user