[JBoss-user] [JBoss Portal] - Re: what is the recommended way to reuse/extend default jbos
I think i should ask question in another way. Is it better to divide jboss-portal.sar into two parts. One is portal server and the other is default jboss portal application? Third party developer can develope their own portal by following jboss portal application. regards Yang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882739#3882739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882739 --- 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] - Re: Jboss on Free non-RedHat/SUSE/Mandrake Distrubutions
Thanks for the input dlmiles. I personally don't care about the distribution, but not being overly familiar with Jboss, I thought I would ask and see what input others had. The whole licensing issue has been discussed w/ the person making the decision, although, I've not been involved w/ the discussions so I'm not sure how well the argument has been made to go with CentOS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882738#3882738 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882738 --- 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] [JBossCache] - PassivationTreeCache load error in JBoss 4.0.2 w/EJB 3.0 Pre
Hi, All, While running the default server configuration of JBoss 4.0.2 with EJB 3.0 Preview 5, we found a couple of issues in the server.log file. We were able to resolve all issues except the one that was regarding loading of PassivationTreeCache class. Following is an extract from the server.log file that captures the stack trace. -- 2005-06-25 16:38:44,625 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, create step: url file:/C:/jboss/jboss-4.0.2/server/default/deploy/ejb3-clustered-sfsbcache-service.xml 2005-06-25 16:38:44,625 DEBUG [org.jboss.deployment.SARDeployer] Registering service UCL=jmx.loading:UCL=14596d5 2005-06-25 16:38:44,625 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.cache:service=EJB3SFSBClusteredCache with code: org.jboss.ejb3.cache.tree.PassivationTreeCache 2005-06-25 16:38:44,640 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 2005-06-25 16:38:44,640 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2005-06-25 16:38:44,640 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 2005-06-25 16:38:44,640 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/C:/jboss/jboss-4.0.2/server/default/deploy/ejb3-clustered-sfsbcache-service.xml org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.ejb3.cache.tree.PassivationTreeCache, msg=org/jboss/cache/TreeCache; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.ejb3.cache.tree.PassivationTreeCache, msg=org/jboss/cache/TreeCache) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143) at org.jboss.system.ServiceController.install(ServiceController.java:202) 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:585) 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:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) 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:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) -- Can you point us in a direction to resolve this issue? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882734#3882734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882734 --- 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] [JBoss Portal] - Where is the MyFaces cardemo portlet source?
Where may I find the source code for the MyFaces cardemo portlet example? It is not included with the download. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882733#3882733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882733 --- 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 EJB3 Problem
I installed all the EJB3 stuff for JBoss and the first time I used annotations and entities to put java class data in the database it worked just fine. But as I added functionality to my stateless bean the new functionality doesn't seem to be working. Heres my example code InitialContext ctx = new InitialContext(); GeckoModelRemote gecko = (GeckoModelRemote) ctx.lookup(GeckoModelRemote.class.getName()); boolean worked = gecko.createAccount(firstName, lastName, email, password, securityQuestion, answer); It seems to me that my lookup is getting the class that I first used and not the new one that I added functionality to. I say that because even when I take out all the classes that are using EJB3 annotations (removed completely from the JBoss all/deploy directory) I get this message when JBoss loads up 13:04:16,311 INFO [Ejb3Module] found EJB3 Entity bean: model.Account 13:04:16,331 INFO [Ejb3Module] found EJB3 stateless session bean: model.GeckoModelBean 13:04:16,394 INFO [Ejb3Module] found EJB3 Entity bean: model.Password If this is not enough information let me know and I will put it in my next post. Any help would be greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882732#3882732 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882732 --- 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] [EJB/JBoss] - Re: EJBException:Invalid invokation Exception while accessin
Solved it with the following 3 steps: 1] Edit conf/jboss-service.xml and make CallByValue as 'true' in NamingService as below true 2] Edit deploy/ear-deployer.xml, and set Isloated and CallByValue as true 3]Edit deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml , and set Java2ClassLoadingCompilance and UseJbossWebLoader attributes as false Thanks Guys.. - Upankar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882728#3882728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882728 --- 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] [EJB/JBoss] - Re: JBoss 4.0.2 CreateException
I also had the same problem.. Try the following 3 steps: 1] Edit conf/jboss-service.xml and make CallByValue as 'true' in NamingService as below true 2] Edit deploy/ear-deployer.xml, and set Isloated and CallByValue as true 3]Edit deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml , and set Java2ClassLoadingCompilance and UseJbossWebLoader attributes as false See it it works now.. - Upankar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882727#3882727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882727 --- 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] [Security & JAAS/JBoss] - Jaas implementation
Hello; I seek a good implementation (source code) "PAM" using Jaas to authenticate of the users into a database. If somebody has already to treat this problem, I would like to see how one makes (I use JBoos as its but normally this implementation is iindependant of the AS). Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882726#3882726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882726 --- 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] [JCA/JBoss] - Multiple Connection handles sharing the same ManagedConnecti
I cannot seem to figure out a way to let the container share multiple Connection handles within the same ManagedConnection. I thought I can implement the factory method matchManagedConnection to return the same ManagedConnection, but seems that the Connection Set passed in to this method always contain a ManagedConnection with no handles AND alway one in the Set (is this weird?). I am little confused about the behaviour. I cannot seem to find any res-sharable in the -ra.xml schema. Any help is highly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882725#3882725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882725 --- 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] [Installation & Configuration] - org.jboss.logging.util.OnlyOnceErrorHandler
What log4j configuration am I missing, I installed JBoss 4.0.2 and started getting the below logging errors immediately, there is a bug in the lastest release. Thanks! 11:32:20,187 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 11:32:20,187 INFO [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 11:32:20,187 INFO [STDOUT] log4j:ERROR [WebappClassLoader delegate: false repositories: /WEB-INF/classes/ --> Parent Classloader: [EMAIL PROTECTED] ] whereas object of type 11:32:20,203 INFO [STDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED] 11:32:20,328 INFO [STDOUT] log4j:ERROR Could not create an Appender. Reported error follows. 11:32:20,328 INFO [STDOUT] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender 11:32:20,328 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165) 11:32:20,328 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140) 11:32:20,328 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153) 11:32:20,328 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415) 11:32:20,328 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384) 11:32:20,343 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) 11:32:20,343 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666) 11:32:20,343 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) 11:32:20,343 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) 11:32:20,343 INFO [STDOUT] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 11:32:20,343 INFO [STDOUT] at org.apache.log4j.LogManager.(LogManager.java:113) 11:32:20,343 INFO [STDOUT] at org.apache.log4j.Logger.getLogger(Logger.java:85) 11:32:20,343 INFO [STDOUT] at org.apache.jsp.public_005fhtml.general.login_jsp._jspService(org.apache.jsp.public_005fhtml.general.login_jsp:101) 11:32:20,343 INFO [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 11:32:20,343 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 11:32:20,343 INFO [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) 11:32:20,343 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 11:32:20,343 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 11:32:20,343 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 11:32:20,343 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 11:32:20,343 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 11:32:20,343 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) 11:32:20,343 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 11:32:20,343 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 11:32:20,359 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 11:32:20,359 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 11:32:20,359 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) 11:32:20,359 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) 11:32:20,359 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 11:32:20,359 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 11:32:20,359 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 11:32:20,359 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 11:32:20,359 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 11:32:20,359 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) 11:32:20,359 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P
[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS-4.x, Eclipse-3.x, Lomboz-3.
Post Subject : Tutorial on J2EE using JBOSS-4.x, Eclipse-3.x, Lomboz-3.x and PostgreSQL-8.x on Windows XP Ref. 1 : Tutorial for building J2EE Applications using JBOSS and ECLIPSE http://www.tusc.com.au/tutorial/html/chap9.html (Chapter 9 : Web Services (1/2)) Ref. 2 : Tutorial on J2EE using JBOSS, ECLIPSE and Lomboz (Forum on Ref. 1) http://www.jboss.org/index.html?module=bb&op=viewtopic&t=36910 === Environment in use ; - Windows XP SP2 - J2SDK 1.4.2_08 - Eclipse 3.0.2 - JBoss 4.0.2 - Lomboz 3.0.1 + emf-sdo-runtime-2.0.0 - PostgreSQL 8.0.3 (= DefaultDS) - AXIS 1.2.1 Followings are some notes on Chapter 9 (Web Services (1/2)) in Ref. 1 * Task numbers below are based on the appearance order of tasks since the numbers are not shown in Ref. 1. Task 1 : Installing AXIS Task 2 : Configuring AXIS with JBoss Task 3 : Create a Web Service named "MyStoreLoginService" Task 4 : Deploy the Web Service Task 5 : Create a Web Service Test Client named "TestClient" Task 6 : Test the TestClient Task 7 : Create a Web Client (Servlet named "Login") Task 8 : Test the Web Client Task 9 : Create a .NET Client Task 10 : Test the .NET Client Task 11 : Create a Perl Client Task 12 : Test the Perl Client * The notes in this post cover the 1st half of Chapter 9, i.e. Task 1 - 6 only. * No change has been made to the server definition file (jboss402postgres.server) thus far. Task 1 : Installing AXIS - download "axis-bin-1_2_1.zip" http://ws.apache.org/axis/ - make a new folder named "axis" under "C:\" - unzip under "C:\axis" Task 2 : Configuring AXIS with JBoss - make a new folder "webapps" under "C:\jboss-4.0.2\server\postgres\deploy" - copy "axis" folder under "C:\axis\axis-1_2_1\webapps" to "C:\jboss-4.0.2\server\postgres\deploy\webapps" ==> "C:\jboss-4.0.2\server\postgres\deploy\webapps\axis" as a result. - rename "axis" under "\server\postgres\deploy\webapps" to "axis.war" ==> "C:\jboss-4.0.2\server\postgres\deploy\webapps\axis.war" as a result. - set Windows environment variables as follows; AXIS_HOME C:\axis\axis-1_2_1 | AXIS_LIB C:\axis\axis-1_2_1\lib | AXISCLASSPATH (see below) | .; | %AXIS_LIB%\axis.jar; | %AXIS_LIB%\commons-discovery-0.2.jar; | %AXIS_LIB%\commons-logging-1.0.4.jar; | %AXIS_LIB%\jaxrpc.jar; | %AXIS_LIB%\log4j-1.2.8.jar; | %AXIS_LIB%\saaj.jar; | %AXIS_LIB%\wsdl4j-1.5.1.jar | | Note : The values for "AXISCLASSPATH" should be in one line. - start Eclipse and JBoss. - go to each URL shown in Ref. 1 to test the configuration, i.e.; http://127.0.0.1:8080/axis http://127.0.0.1:8080/axis/services/AdminService?wsdl http://127.0.0.1:8080/axis/servlet/AxisServlet and http://127.0.0.1:8080/axis/services/Version?method=getVersion = the result of "getVersion" is; | - http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> | - | - http://schemas.xmlsoap.org/soap/encoding/";> | Apache Axis version: 1.2.1 Built on Jun 14, 2005 (09:15:57 EDT) | | | - re-boot Windows XP. Task 3 : Create a Web Service named "MyStoreLoginService" - create "deploy.wsdd" under "au.com.tusc.WebService" = a part of the original descriptions has been revised as follows. | http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> | | | | | | | | | | | | | Task 4 : Deploy the Web Service - deploy the WSDD in the command console using;java org.apache.axis.client.AdminClient deploy.wsdd = if error/failure, try following;java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd - on completion of the deployment, go to http://127.0.0.1:8080/axis/servlet/AxisServlet - click "(wsdl)" of "MyStoreLoginService" (http://localhost:8080/axis/services/MyStoreLoginService?wsdl) | - http://127.0.0.1:8080/axis/services/MyStoreLoginService"; | xmlns:apachesoap="http://xml.apache.org/xml-soap"; | xmlns:impl="http://127.0.0.1:8080/axis/services/MyStoreLoginService"; | xmlns:intf="http://127.0.0.1:8080/axis/services/MyStoreLoginService"; | xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; | xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | - | - | | | | - | | | - | - | | | | | - | http://schemas.xmlsoap.org/soap/http"; /> | - | | - | http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://session.tusc.com.au"; use="encoded" /> | | - | http://schemas.xmlsoap.org/soap/encoding/"; | name
[JBoss-user] [Messaging, JMS & JBossMQ] - Stack trace on createTopicConnection
I am starting up a subscriber connection to a topic. As soon as I call createTopicConnection I get a fairly large bunch of messages printed to the console as well as a stack trace but it almost appears as if this is just debug output. Is this normal? And if so can I shut it off? Or is it an error of some kind. Thanks The output is: Extracting SpyConnectionFactory from reference The GenericConnectionFactory is: [EMAIL PROTECTED] connectionProperties={UIL_PORT_KEY=8093, ClientILService=org.jboss.mq.il.uil2.UILClientILService, UIL_ADDRESS_KEY=192.168.0.100, UIL_TCPNODELAY_KEY=yes, PingPeriod=6, UIL_CHUNKSIZE_KEY=100, UIL_RECEIVE_REPLIES_KEY=No, UIL_BUFFERSIZE_KEY=2048}] Setting the clockDaemon's thread factory Connection Initializing userName=null [EMAIL PROTECTED] rcvstate=STOPPED] Getting the serverIL [EMAIL PROTECTED] rcvstate=STOPPED] [EMAIL PROTECTED] [EMAIL PROTECTED] rcvstate=STOPPED] Authenticating user null [EMAIL PROTECTED] rcvstate=STOPPED] Connecting to : BLITZ.GOUDIENETWORK/192.168.0.100:8093 Connecting with addr=192.168.0.100, port=8093, localAddr=null, localPort=0, [EMAIL PROTECTED], enableTcpNoDelay=true, bufferSize=2048, chunkSize=100 Begin connect loop, maxRetries=10, delay=0 start called java.lang.Exception: Start stack trace at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:96) at org.jboss.mq.il.uil2.UILServerIL.createConnection(UILServerIL.java:666) at org.jboss.mq.il.uil2.UILServerIL.getSocketMgr(UILServerIL.java:532) at org.jboss.mq.il.uil2.UILServerIL.authenticate(UILServerIL.java:334) at org.jboss.mq.Connection.authenticate(Connection.java:1114) at org.jboss.mq.Connection.(Connection.java:267) at org.jboss.mq.Connection.(Connection.java:338) at org.jboss.mq.SpyConnection.(SpyConnection.java:68) at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87) at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:136) at com.positive.core.util.MessageSubscriber.initialiseConnection(MessageSubscriber.java:135) at com.positive.core.util.MessageSubscriber.initialiseConnection(MessageSubscriber.java:107) at com.positive.client.modules.hrs.gui.HRSTableViewPanel.(HRSTableViewPanel.java:118) at com.positive.client.modules.hrs.gui.HRSMainApplicationPanel.registerScreensOnTableScreen(HRSMainApplicationPanel.java:79) at com.positive.client.modules.hrs.HRSApplicationModule.(HRSApplicationModule.java:95) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at com.positive.client.MainClient.(MainClient.java:97) at com.positive.client.MainClient.main(MainClient.java:208) Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null] Begin ReadTask.run Begin WriteTask.run Created ObjectOutputStream Write msg: org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null] Created ObjectInputStream Read msgType: m_authenticate, msgID: 1 Found replyMap msg: org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null] Read msg reply: org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null] End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null] Starting the client il [EMAIL PROTECTED] rcvstate=STOPPED] Handing out ClientIL: org.jboss.mq.il.uil2.UILClientILService Starting Using client id [EMAIL PROTECTED] [EMAIL PROTECTED] rcvstate=STOPPED] Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null] Write msg: org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null] Read msgType: m_setSpyDistributedConnection, msgID: 2 Found replyMap msg: org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null] Read msg reply: org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null] End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null] Creating XAResourceManager [EMAIL PROTECTED]:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED] Starting the ping thread [EMAIL PROTECTED]:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED] Connection establishment successful
[JBoss-user] [EJB/JBoss] - Re: ClassCastException with EJBs
"darranl" wrote : Have any of you read the links posted by Scott earlier in this thread? I realize everybody's busy and all, but perhaps a short summary of the problem (a sentence or two) before referring the world to 25 pages of detailed technical description containing _far_ more than we really need to understand the issue is not what we want here. So, perhaps this will help future visitors to this page: >From 4.0.2 JBoss has changed to the Servlet spec classloading model, i.e. it >uses the Tomcat classloader. The first link Scott provided details the hows and whys of the ClassLoader architecture implemented in JBoss. If you have time, read this, it will help you - but get a cup of coffee and spend some time with it, don't just gloss it over. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases The second link Scott provided has some specific examples and reading the configurations and their implications triggered my brain far faster than the more exhaustive technical description. Since then, however the first link was helpful when I couldn't reason something out. http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration So, while I digest all this, I've set the UseJBossWebLoader to true (the standard distribution of JBossAS 4.0.2 sets this false) in the jbossweb-tomcat55.sar\META-INF\jboss-service.xml so that the rest of my team can keep going unhindered, and I can figure out what I need to do in terms of changing our deployment structure to be compliant. Steve View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882717#3882717 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882717 --- 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] [Security & JAAS/JBoss] - Re: AnyCertVerifier
Any tips? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882709#3882709 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882709 --- 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] [Security & JAAS/JBoss] - Re: Servlet creates LoginContext, should be used by Web-Cont
Thanks Scott! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882697#3882697 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882697 --- 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] - Re: Jboss on Free non-RedHat/SUSE/Mandrake Distrubutions
Does the exact distribution make any difference ? The key factors that affect JBoss'es environment the most: * The kernel. * The JVM. The key factors that affect the JVM the most: * Glibc version. Any modern distribution ships with a 2.6.x kernel and 2.3.x glibc. So from a "will it run?" and "will it be stable?" there is little difference if you compare at this level. To say that one distribution should be recommended over another really has to reflect on the support contract level you want covering everything installed from those disks. If your level of expertise is such that you will never make the call for help then any distro will do you. If you want to be sure you have no legal concerns then maybe debian is the distribution for you, I believe they exclude non GPL packages from their distro. If you are a corporation who wants to be sure that the necessary skills to maintain the system(s) you deploy will be available at the right price for the forseeable future then this is where RHEL is pitching. They have successfully created their own eco-system and I see JBoss set to do the same. As for CentOS I believe they re-built all the GPLed code base from the RHEL distribution minus any tools and programs that RH has not donated (or at least made available under license) to the community. They look set to sieze the market in areas where RH have now turned their back on because they have bigger fish to fry. Windows is starting to look cheaper to deploy when pitched against RHELs current pricing policies, so much for the toy OS of 10 years ago :) this is all good. Exactly which parts of CentOS does RH own the rights to ? I think you'll find as an overall % of data thats its very very small. All the core components of the system RH definatly dont own these are all under GPL. It would be illegal for RH to make modifications to this code and re-distribute without that modification also falling under GPL. This is the primary reason historically of why RH are forced release their SRPM disks at the same time. You have to remember that if it were not for GPL RH as a company would not exist, and they must be making plenty of money right so think of this as their way of giving back to the community in market areas that _they_ have decided not to cater for any longer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882696#3882696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882696 --- 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] [Security & JAAS/JBoss] - Re: Using principal for context passing
After going through this posts, we have implemented the passing of context ( in our case an id ) during a transaction using the interceptors at ejb proxy and container level as suggested by Scott. As such the Invocation object, which has holds the payload to be used during the chain of invocation, didn't retain our value set during the whole transaction, so we had to use ThreadLocal objects, to propogate the id. Moreover couldnt find a better way of injecting the "id", than tampering with the Principal object. ( The "id" injected as the name of the caller principal is used by the entities to query an in memory datastructure to get the current transaction context). The above implementation works, need to do so rigorous testing, but it works. Is it safe to use ThreadLocal objects in Interceptors? Is there a better way to inject an "id", rather than tampering Principal? Please suggest. Thanks Vikram. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882695#3882695 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882695 --- 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