[JBoss-user] [Installation Configuration] - java.lang.NoClassDefFoundError: org/apache/commons/collectio
Dear All, I previously used to deploy my application on JBOSS 3.2.5 with Jetty 5.0. Now I want to deploy my application on JBOSS 4.0.0 with jetty-5.1.0-jboss-4.0.0. The server gets started with no errors. But the moment I start my application by sending a request to it. I get the error java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap realising that it could be due to commons-collection.jar which may be old one, I downloaded the latest jar viz. commons-collections-3.1 and commons-collections-testframework-3.1 and have put them in my application lib, but of no use. I also see the following line in the log printed, ofcourse well before the server is completely started ERROR - [ jacorb.home unset! Will use '.' ] 2005-01-21 12:45:38,375 [main] ERROR - [ File .\jacorb.properties for configuration jacorb not found ] Thanks in advance for the reply Mohan. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863037#3863037 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863037 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Running Jboss with a SecurityManager: Documentation Availabi
Hi, I'd like to locate some comprehensive complete documentation (either paid-for-docs, books or public domain), covering the following: | * Jboss default, as-shipped SecurityManager behaviour | * Consequences of running Jboss without a SecurityManager | * Running Jboss with a SecurityManager | | | * Available SecurityManager implementations | | * Running with a default SecurityManager | | * Using RMISecurityManager | | * Locating or developing a suitable policy file | | * Configuring and running integrated servlet containers with a SecurityManager | | | | | Any recommendations or references would be appreciated. | | Thanks, | Brett Randall | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863039#3863039 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863039 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Differences between 3.2.6 and 4.0
Hello! I am currently using jboss 3.2.6 and I am thinking of changeing to 4.0. Before I do that I wonder if there are any performance or stability changes between jboss 3.2.6 and jboss 4.0? As I have understood it 4.0 is very much newly written code. New code tends to be not so very optimized and stable in the beginning. /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863041#3863041 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863041 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Configure Apache 2.0.52 + mod_jk2 with JBoss 3.2.6/Tomcat
Hello Everybody, My task is to configure a loadbalancer for two instances of JBoss 3.2.6 running on 2 different machines. I use Apache 2.0.52 and I use mod_jk2 as my connector. I find that Apache is not able to load mod_jk2. I do not know why. I do not get any error messages under apache/logs/mod_jk.log file. Any inputs on this is highly welcome. Can anybody provide me with a link from where I can find the steps necessary to configure a loadbalancer for my JBoss installations ? Awaiting your help, Thanks in advance, With regards, G.Mohanlal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863043#3863043 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863043 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Multiple bindings not supported for service
Hello I have a WSDL File which looks like Snippet from WSDL: | service name=RajaTest | port name=TestBeanEndPointPort binding=tns:TestBeanEndPointBinding | soap:address location=REPLACE_WITH_ACTUAL_URL/ | /port | port name=CEEBeanEndPointPort binding=tns:CEEBeanEndPointBinding | soap:address location=REPLACE_WITH_ACTUAL_URL/ | /port | /service | This has been generated using the JWSDP wscompile tool for 2 ports in a single service. So this has 2 ports defined with my single service. It deploys fine but when i invoke my client like |QName testQName = new QName(http://xxx.net;, RajaTest); | QName ceeQName = new QName(http://xxx.net;, RajaTest); | ServiceFactory fact = ServiceFactory.newInstance(); | testService = fact.createService(testURL, testQName); | ceeService = fact.createService(ceeURL, testQName); | the client code bombs out with a java.lang.IllegalArgumentException: Multiple bindings for not supported for service: {http://xxx.net}RajaTest javax.xml.rpc.ServiceException: java.lang.IllegalArgumentException: Multiple bindings for not supported for service: {http://collab.net}RajaTest at org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:125) at com.clientapp.TestClient.setUp(TestClient.java:29) Tracing back to the source, | Iterator it = wsdlService.getPorts().values().iterator(); | while (it.hasNext()) | { | Port port = (Port)it.next(); | Binding binding = port.getBinding(); | | if (wsdlBinding != null wsdlBinding.getQName().equals(binding.getQName()) == false) |throw new IllegalArgumentException(Multiple bindings for not supported for service: + wsdlService.getQName()); | | if (wsdlBinding == null) |wsdlBinding = binding; | } | } | It looks like this code will bomb for every service that can have multiple ports. If i have 2 ports that differ only in the type of transport, then both of them have the same QName and it looks like the code will error for such a case. In my case, i have a default namespace of http://xxx.com and i have the same namespace applied for both the ports. Is this a bug? Why should the ports within a service be restricted? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863045#3863045 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863045 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Problems redeploying EAR file.
I should also mention that, the error occures from a servlet which is load-on-startup. The description lies in a .war file, the servlet lies in the .jar file. This servlet runs a thread, which call's a session bean. This session bean calls some entity beans, and it is here the exception occures. /Morten N View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863048#3863048 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863048 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - How to declare a context path ?
Hello, I would like to declare a context path but I don't find the way to do it. For instance, I would like to have all my images, stored in /myapp/asubdir/images, mapped to /images in my webapp. I am using JBoss v4.0.0. Can you help me please ? Thank you ! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863055#3863055 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863055 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - HttpRequest size
Hello. Could anyone please tell me what do I have to do to increase the size of data I can put in a HttpRequest? I want to send a rather large amount of data to be stored on my database, and I was wondering what is the default limit of JBoss and how can I increase it. I currently have a solution of sending data in several chunks, but that raises other types of problems for me, so I would rather send all the data at once. Thank you! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863057#3863057 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863057 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - JSP security. Please help!
We are planing to make a JSP + ejb hosting. But there is one problem: how to prevent changing JSPs of one user by another user? Can I specify java.policy separatly for each war or ear? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863058#3863058 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863058 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: SNMP traps are not sent
Problem identified: UNIX bind permission exception The send port is a low port, and in this installation jboss is running as jboss user. Thats why the server has not access to low ports. Unfortunately there is no output in the logs about this fact. The Exception is just swallowed and thus hard to track down. Fix: use a high port as local send port (I used 8161 see Tomcat 8080 8-) Thomas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863059#3863059 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863059 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Security problem with accessing DB and JNDI
Is it possible to prevent accessing DB and JNDI staff from JSP? For example it will be greate to have security exception when new InitialContext(); is trying to create in JSP, but all is ok when from ejbXXX.jar. Any suggestions? Please help! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863060#3863060 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863060 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: JSP JSR77 MBeans and Statistics
Am not sure but if you see the web.xml file in jmx-console.war folder you can find each jsp is assigned with a servlet name. And all this servlets are being displayed in the jboss.management.local domain. ex: | servlet | servlet-nameDisplayMBeans/servlet-name | jsp-file/displayMBeans.jsp/jsp-file |/servlet |servlet | servlet-nameInspectMBean/servlet-name | jsp-file/inspectMBean.jsp/jsp-file |/servlet |servlet | servlet-nameDisplayOpResult/servlet-name | jsp-file/displayOpResult.jsp/jsp-file |/servlet | | | But if you copy any new jsp file in this folder , there will be no MBean is being created for the jsp file. Thats why am also interested in this..topic.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863064#3863064 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863064 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Classloading question
No. The first class loaded will be the one and only. I even can't imagine why you try to do so... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863065#3863065 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863065 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - ws-security in JBoss.net
Hello! Does anybody know if there is a way to integrate ws-security in jboss.net? I?ve been developing web services communicating over SSL with JAAS, but I need a way to add xml encryption and xml signature. Can anybody supply me some clues? Thanks in advance! Pedro View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863067#3863067 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863067 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - xml encription and signature in JBossWS
Hi! Does anybody know if there is a way to integrate ws-security in JBossWS? Can anybody supply some clues on how to add xml encryption and xml signature on a JBossWS web service? Thanks in advance! Pedro View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863070#3863070 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863070 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Jboss 4.0.1 and JSF
Hello, I am trying to deploy the jsf-components J2EE sample from sun in Jboss 4.0.1 but I have some problems. Can someone please help me? Thank you very much Paolo --- Here is the log: === . JBoss Bootstrap Environment . JBOSS_HOME: C:\Programmi\jboss-4.0.1\bin\\.. . JAVA: C:\j2sdk1.4.2_06\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\j2sdk1.4.2_06\lib\tools.jar;C:\Programmi\jboss-4.0.1\bin\\run.jar . === . 12:16:36,727 INFO [Server] Starting JBoss (MX MicroKernel)... 12:16:36,727 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944) 12:16:36,727 INFO [Server] Home Dir: C:\Programmi\jboss-4.0.1 12:16:36,727 INFO [Server] Home URL: file:/C:/Programmi/jboss-4.0.1/ 12:16:36,727 INFO [Server] Library URL: file:/C:/Programmi/jboss-4.0.1/lib/ 12:16:36,727 INFO [Server] Patch URL: null 12:16:36,727 INFO [Server] Server Name: default 12:16:36,727 INFO [Server] Server Home Dir: C:\Programmi\jboss-4.0.1\server\default 12:16:36,727 INFO [Server] Server Home URL: file:/C:/Programmi/jboss-4.0.1/server/default/ 12:16:36,727 INFO [Server] Server Data Dir: C:\Programmi\jboss-4.0.1\server\default\data 12:16:36,737 INFO [Server] Server Temp Dir: C:\Programmi\jboss-4.0.1\server\default\tmp 12:16:36,737 INFO [Server] Server Config URL: file:/C:/Programmi/jboss-4.0.1/server/default/conf/ 12:16:36,737 INFO [Server] Server Library URL: file:/C:/Programmi/jboss-4.0.1/server/default/lib/ 12:16:36,737 INFO [Server] Root Deployment Filename: jboss-service.xml 12:16:36,747 INFO [Server] Starting General Purpose Architecture (GPA)... 12:16:37,428 INFO [ServerInfo] Java version: 1.4.2_06,Sun Microsystems Inc. 12:16:37,428 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_06-b03,Sun Microsystems Inc. 12:16:37,438 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 12:16:38,680 INFO [Server] Core system initialized 12:16:41,574 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 12:16:41,804 INFO [WebService] Using RMI server codebase: http://tv222:8083/ 12:16:42,075 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] 12:17:01,082 INFO [Embedded] Catalina naming disabled 12:17:03,125 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 12:17:03,235 INFO [Catalina] Initialization processed in 1953 ms 12:17:03,235 INFO [StandardService] Starting service jboss.web 12:17:03,245 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28 12:17:03,335 INFO [StandardHost] XML validation disabled 12:17:03,435 INFO [Catalina] Server startup in 200 ms 12:17:03,736 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/Programmi/jboss-4.0.1/server/default/deploy/http-invoker.sar/invoker.war/ 12:17:05,759 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/Programmi/jboss-4.0.1/server/default/tmp/deploy/tmp14971jboss-ws4ee-exp.war/ 12:17:06,059 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/Programmi/jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ 12:17:06,369 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/Programmi/jboss-4.0.1/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 12:17:10,525 INFO [MailService] Mail Service bound to java:/Mail 12:17:11,407 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Programmi/jboss-4.0.1/server/default/deploy/jboss-local-jdbc.rar 12:17:11,707 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Programmi/jboss-4.0.1/server/default/deploy/jboss-xa-jdbc.rar 12:17:12,048 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Programmi/jboss-4.0.1/server/default/deploy/jms/jms-ra.rar 12:17:12,308 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/Programmi/jboss-4.0.1/server/default/deploy/mail-ra.rar 12:17:16,194 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name 'java:DefaultDS' 12:17:16,344 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no configured password! 12:17:17,145 INFO [A] Bound to JNDI name: queue/A 12:17:17,145 INFO [B] Bound to JNDI name: queue/B 12:17:17,185 INFO [C] Bound to JNDI name: queue/C 12:17:17,185 INFO [D] Bound to JNDI name: queue/D 12:17:17,185 INFO [ex] Bound to JNDI name: queue/ex 12:17:17,355 INFO [testTopic] Bound to JNDI name: topic/testTopic 12:17:17,365 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 12:17:17,365 INFO [testDurableTopic] Bound to JNDI name:
[JBoss-user] [Management, JMX/JBoss] - Re: JNDI name not found exception
Well, the lookup is masked by HomeHelper, therefore your code snippet doesn't help. Watch for errors in the server.log when your bean is deployed. Use the jmx console (JNDI view - list) to see if your bean is deployed within the JNDI namespace you exptect to see it. (http://your-host-jboss-is-running-on:8080/jmx-console View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863072#3863072 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863072 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ws4ee-deployment vs jaxrpc-mapping
thank you kanno, i generate wsdl, jaxrpc-mapping and server artifact with wscompile option gen:server and set werb service style as document literal. Anything go well (i can get wsdl from wsdl URL). i can invoke service (business logoc done!!!) via dii client but return type is missing.it still need Client artifacts like xxxEndpoint_xxx_ResponseStruct . how can solve this problem. do i need ws4ee-deployment.xml for addittional serialize and remove java-type-mapping tag in jaxrpc-mapping.xml or gen:Client Artifact and deploy it with Client side??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863073#3863073 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863073 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Is this a bug? stateful session bean is acting like stat
Hi James, I've never worked with Stateful EJBs and I've got a doubt: you said if you really want to use a Stateful Session Bean, you should create it only once from the client and then ... but... what happens if client is a servlet?: you cannot store EJB as a Servlet's attribute since Servlet is multithreaded; so you need to call objEJBSF = objEJBSFHome.create() every time you need to process a request. However, if a new instance is created every time then you lose all the information you had stored in EJB object; which could be the solution? thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863074#3863074 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863074 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - how to deploy more one ear in jboss
how to deploy more than one ear in jboss - need inputs. right now i have successfully deployed an ear and trying to deploy another ear in the same server.. but i am not able to deploy the second one. Following are the errors 1) java.rmi.server.ExportException: Port already in use: 1198; nested exception is 2) java.net.BindException: Cannot assign requested address 3) java.rmi.server.ExportException: Port already in use: 4544; nested exception is: 4) java.net.BindException: Cannot assign requested address:8081 5) LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address:8081 i tried tp changed the default ports to deploy the ear View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863075#3863075 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863075 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - JaasSecurityManager ? DefaultCacheTimeout property question
I have some doubts in proper interpretation of the DefaultCacheTimeout property of the JaasSecurityManager. At first I thought that this value means the time in the seconds during which the caller's credentials after successful logon are being kept in the security cache and treated as valid. In addition, this counter begins from zero any time the caller makes the successful call to the resource in the security domain (so, this mechanism works as ?desktop screensaver? - you don't know about it until you don't touch the keyboard or mouse for the predefined time period). But after some experiments I found that the last is not true (JBoss 3.2.6). The ?DefaultCacheTimeout? timeout means the duration of life of caller's credentials in the security cache beginning from the successful logon, without any updates. The ?stack? of the call can be described in the following way: JaasSecurityManager.java file, lines 236 ? 241 |public synchronized boolean isValid(Principal principal, Object credential, | Subject activeSubject) |{ | // Check the cache first | DomainInfo cacheInfo = getCacheInfo(principal, true); | this method is called any time the business call is being passed through the security interceptor (and if the JaasSecurityManager is used). The ?true? value in the getCacheInfo method means that the correspondent entity should be flushed if it is expired. But what about update? Or refresh the time marking? The implementation of this method is below - JaasSecurityManager, lines 556 ? 571 (the domainCache is an instance of the TimedCachePolicy class, and the DomainInfo implements TimedCachePolicy.TimedEntry interface): |private DomainInfo getCacheInfo(Principal principal, boolean allowRefresh) |{ | if( domainCache == null ) | return null; | | DomainInfo cacheInfo = null; | synchronized( domainCache ) | { | if( allowRefresh == true ) | cacheInfo = (DomainInfo) domainCache.get(principal); | else | cacheInfo = (DomainInfo) domainCache.peek(principal); | } | return cacheInfo; |} | domainCache.get is implemented in the TimedCachePolicy class, lines 156 ? 174: |public Object get(Object key) |{ | TimedEntry entry = (TimedEntry) entryMap.get(key); | if( entry == null ) | return null; | | if( entry.isCurrent(now) == false ) | { // Try to refresh the entry | if( entry.refresh() == false ) | { // Failed, remove the entry and return null | entry.destroy(); | entryMap.remove(key); | return null; | } | } | Object value = entry.getValue(); | return value; |} | and entry.refresh() in this case is implemented in DomainInfo class (JaasSecurityManager.java file, lines 75 ? 79: | public boolean refresh() | { | return false; | } | so ? no any update. May be the lifetime should be kept in the cache entry too, and the expiration time should be increased in refresh method? Best regards, Alexander View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863076#3863076 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863076 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS JDBC Persistence and server restart.
According to the JMX console, despite all efforts I am still unable to create durable subscriptions. I've searched through several web documents however there are serious discrepancies between different solutions. It is not clear (diffrent sources suggest different things) whether the jbossmq-state.xml (the one in the conf directory) should contain TopicName or simply Topic attribute in the DurableSubscriptions section, I tried both without success. I am even not sure if users are supposed to change the .xml file in question (it is included in the docs library but not in the default server configuration.) DurableSubscriptions | DurableSubscription | ClientID10001/ClientID | Namedur1/Name | TopicNameMessagingTopic/TopicName | /DurableSubscription | /DurableSubscriptions In connection with jboss.xml I've found that giving mdb-client-id attribute (which again has been suggested by several sources) results in a conflict between the ejb-jar.xml (the AS says that the client-id has been given) so I put it into a comment section (actually I don't really know what the mdb-subcription-id tag means, I couldn't found any descripiton. message-driven | ejb-nameOutboundProxyBean/ejb-name | destination-jndi-namejms/MessagingTopic/destination-jndi-name | mdb-userjohn/mdb-user |mdb-passwdneedle/mdb-passwd | !-- mdb-client-id10001/mdb-client-id -- |mdb-subscription-idmySubscription/mdb-subscription-id | /message-driven Using the 'guest' client in the ejb-jar.xml and the code segment above, viewing the DestinationManager service at jmx-console, the subscription-id is always 1 (not the 10001 value I set). Actually, the difference between client-id and subscription-id is not clear. Again I have to say, any help would be appreciated: Frank-15 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863077#3863077 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863077 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Fundamental performance problem with JaasSecurityManager
The updated reference to this defect is: http://jira.jboss.com/jira/browse/JBAS-977 Alexander View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863078#3863078 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863078 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JaasSecurityManager ? DefaultCacheTimeout property quest
The DefaultCacheTimeout is the validity from the login that inserted the entry into the cache. There is no update of the cache lifetime. The cache timeout is a period one is willing to avoid reauthentication with the underlying security store. This is not like an http session timeout. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863079#3863079 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863079 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JaasSecurityManager ? DefaultCacheTimeout property quest
Thank you. Now it is clear that there is no defect there. Is it possible to configure the alternative behavior without code writing? Or that is the simplest way to get the behavior like in http session timeout (if this solution is not covered by some patent)? Alexander View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863080#3863080 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863080 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ws4ee-deployment vs jaxrpc-mapping
The reason why ws4ee-deployment.xml is sometimes needed is that the underlying Axis implementation does not look at the XML schema definition of complex types. There is no schema parser in Axis, which I think is a fundamental problem especially with document style webservices where the entire payload is defined by schema. ws4ee-mapping.xml tries to breach that gap by telling the marshalling layer exactly how to put complex types on the wire. Its best practice to stick to wscompile, the Axis toolset (ant tasks) should be be used. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863081#3863081 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863081 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: port-component-uri limited to single directory web conte
Show me stack trace. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863082#3863082 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863082 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Logging SOAP requests and responses
anonymous wrote : Thomas: Setting org.apache.axis to DEBUG doesn't print the messages that are being exchanged (incredible!). Yes it does, I use it all the time View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863083#3863083 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863083 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Configuring beanMapping with JBossWS
The mapping meta information should primarily specified by jaxrpc-mapping.xml which can be generated with wscompile. Only in rare circumstances ws4ee-deployment.xml is needed at all. The wiki tells you how to define a valid ws4ee-deployment.xml http://www.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863084#3863084 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863084 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI
Each webservice-description-name needs to be unique in webservices.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863085#3863085 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863085 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Strange behaivour of jboss cluster
Hi all, I have two Host (A,B). Each host has a multihomed Jboss installation. Server A : Address ipA1, Address IpA2 Server B : Address ipB1, Address IpB2 Server A : Jboss1, Jboss2 Server B : Jboss1, Jboss2 Each Jboss1 is in the same cluster. Jboss2 are another cluster. My jboss version is 3.2.2. Jboss1 contains a j2ee application and hosts some ejbs (Stateless EJB) Jboss2 contains only ejbs (Stateless EJB). In a JSP page I do two lookups : one for an EJB hosted by Jboss1 and one for an EJB hosted by Jboss2. Jndi query are cached. If I stop Jboss2, sometimes I get Service unavalible in the stack trace. But this happends only for ejbs of Jboss2. My jndi lookup looks like this : p.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); p.put(Context.URL_PKG_PREFIXES,org.jboss.naming:org.jnp.interfaces); p.put(Context.PROVIDER_URL,ipA1:1101,ipA2:1101); p.put(jnp.partitionName,myPartition); p.put(jnp.discoveryGroup,224.10.10.10); p.put(jnp.discoveryPort,1103); Moreover, Jboss1 and Jboss2 have different Partition and Multicast address. Each Jboss is started with --host option. Anyone can help me ? BEST REGARDS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863086#3863086 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863086 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP Bean Finder expression error
illegal character, you should use lt; or sth else instead of View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863087#3863087 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863087 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Java Service Endpoints - JBOSS says
Actually the JSE does not need to implement the SEI, but there is no harm either. What is xdoclet-ws.jar ? Is this your JSE, if yes it should be a valid WAR deployment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863088#3863088 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863088 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: xml encription and signature in JBossWS
Its on the roadmap. Do you have an implementation that is not tied to a specific SOAP stack like Axis? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863089#3863089 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863089 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Newbie's Problems with JNDI
Hi all, I am very new to this and I have a problem with looking up stuff in the NS, ic.lookup(anything) seems to hang or I get comp not bound, the properties are all set fine. I am running JBoss 4.0.1 with JDK 1.5.0 on Linux and so far it's completely out of the box as I am having this problem at this point I assuming that I have a fundamental flaw in my knowlege of how this works. I have worked through the Fibo tutorial and have managed to get that deployed and running but it fails on trying to do the lookup and now I am stuck. Can I ask a favour? To save endless posts to try and find what is probably a very simple error on my part can someone post me a .ear that they know works in 4.0.1? Just something really simple that prints out Hello World or something and one that I can attach a java client as well as a servlet to. From that I should be able to work out where my deployment differs from what is expected. Many thanks Chris. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863090#3863090 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863090 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - EJB is VERY SLOW
I don't know why my ejb is very slow. I use Session Bean for execute comands in database, but when i execute the metod (execute();) in my jsp, the application is slow and it delays to answer. Please help me! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863091#3863091 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863091 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Hibernate 3 intergration to JBOSS
Hi Is it possible to intergrate hibernate 3 beta 1 into jboss 4. I think the Jboss-hibernate.jar still contains the old package names best regards kusan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863093#3863093 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863093 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Mbean persistence problem
I was trying to provide persistence to one of my MBeans, but it seems it doesn't go. My xml is like that: | mbean code=org.jboss.cache.TreeCache | name=jboss.cache:service=TreeCache xm-bean-dd=resource:TreeCache-xmbean.xml | | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | | !-- XMBean Descriptor BEGIN -- | xmbean | descriptionTreeCache/description | descriptors | persistence persistPolicy=OnUpdate/ | persistence-manager value=org.jboss.mx.persistence.DelegatingPersistenceManager/ | /descriptors | | classorg.jboss.cache.TreeCache/class | | !-- | Number of milliseconds to wait until all responses for a | synchronous call have been received. | -- | attribute access=read-write getMethod=getSyncReplTimeout setMethod=setSyncReplTimeout | nameSyncReplTimeout/name | typelong/type | value/value | /attribute | /xmbean | !-- XMBean Descriptor END -- | | ... | Where is the problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863094#3863094 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863094 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Porting to newer version Problem
I have a web aplication I developed in JBoss-2.4.4_Tomcat-3.2.3 with jdk1.3 Now I need to use jdk1.4 or higher but when using jdk1.4 with JBoss-2.4.4_Tomcat-3.2.3 I get this error: [INFO,Default] JBoss-2.4.4 Started in 0m:12s.188 [INFO,Default] View Requested: login Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D366658 Function=[Unknown.] Library=C:\Program Files\Java\j2re1.4.0_01\bin\client\jvm.dll NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. The ear and war file is deploying without error but when a request comes through is bombs out. I have tried using JBoss 4 but then I get errors when deploying the war file. The reason I need to port to a newer version is because jdk1.3's printing is very slow and it is fixed in 1.4 and above. Can anyone tell me how to go around this problem, please! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863097#3863097 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863097 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Message Driven Bean Config
Hello, I am trying to find some info on how to define the number of Mulitple Message Driven Beans assigned to a jms message queue at deployment. I was hoping to find a configurable bean pool size property on the bean deployment descriptor but cant see one there. Any clues would be greatly appreciated. cheers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863105#3863105 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863105 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Compiling JSPs via an Ant task
Please do a search for jspc using the forum search and you'll find a few previous threads discussing ways of performing jsp precompilation... here is a clipping from one of them. jspc | failonerror=false | srcdir= | destdir= | verbose=3 | compiler=jasper41 | webinc= | classpath | pathelement location=/WEB-INF/classes/ | fileset dir=/WEB-INF/libinclude name=*.jar//fileset | path refid=jsp.precomp.classpath/ | /classpath | /jspc | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863108#3863108 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863108 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Compiling JSPs via an Ant task
oops forgot to answer your actual question... the jasper compiler goes in the compiler attribute. see this link for more info on the how-to's of jasper: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863110#3863110 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863110 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: port-component-uri limited to single directory web conte
| java.lang.IllegalAccessException: /mycontext/services/MyWebService | at org.jboss.webservice.server.ServiceEndpointServlet.assertServiceAccess(ServiceEndpointServlet.java:69) | at org.jboss.webservice.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:93) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) | at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) | at java.lang.Thread.run(Thread.java:534) | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863111#3863111 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863111 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: xml encription and signature in JBossWS
Thanks for the quick reply. Actually I?ve been following your tutorial: Getting Started with JBoss 4.0. I?ve deployed successfully The Duke?s Bank Application as a web service. I was hopping to add xml encryption and signature to this web service. Is there a way to accomplish this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863113#3863113 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863113 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: xml encription and signature in JBossWS
Hello. I was also trying to add xml security to my web service My implementation is independent; it?s not tied to Axis. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863114#3863114 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863114 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Logging SOAP requests and responses
Ahh, so it does. At first I thought it was only printing the response, and not the request. I must have been blinded by the reams of other output :-) Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863117#3863117 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863117 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: NullPointerException in JBossSecurityMgrRealm.getCaching
Upgrade to a final release version. The latest is jboss-4.0.1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863118#3863118 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863118 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS JDBC Persistence and server restart.
You obviously have some skills since you claim a Phd. For us to help you we need enough information (supplying a simple mdb jar that demostrates your problem would be one solution). Debugging (show us what you are doing): http://www.jboss.org/index.html?module=bbop=viewtopict=43573 Post the logging for the MDB startup (i.e. when it makes the construction) and JBossMQ. Including what happens at the send to JBossMQ. Checking your Config (minimum): Show your ejb-jar.xml/jboss.xml with the full context, i.e. the entire MDB jbossmq-state.xml (no longer used) http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQState Just adding: | public void onMessage(Message m) | { | System.out.println(m); | ... | will show me a lot of information, i.e. the message properties (like persistence and the subscription id). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863119#3863119 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863119 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS JDBC Persistence and server restart.
FAQ: http://www.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectWayToMakeADurableSubscription Preconfigured clients ids (for the testsuite) from deploy/jms/hsqldb-jdbc-state-service.xml: | POPULATE.TABLES.03 = INSERT INTO JMS_USERS (USERID, PASSWD, CLIENTID) VALUES ('john', 'needle', 'DurableSubscriberExample') | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863120#3863120 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863120 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS JDBC Persistence and server restart.
If you find something wrong with the WIKI docs, feel free to correct it or at least point it out. Anybody can update the WIKI which is both a good thing and bad thing. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863121#3863121 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863121 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.0 Bank example compile error
For what it's worth, I was getting the same problem, on Red Hat Enterprise Linux 3, but fixed it by uninstalling the bundled Ant (1.5.2) and installing version 1.6.2 from ant.apache.org. I'm using JBoss 4.0.1 with the Sun 1.4.2_06 SDK. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863124#3863124 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863124 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re:
I look at the code and it seems that the session replication in jboss 3.2.6 doesn't support session passing by url. Cookies seems supported but i have lost sometimes my session storing in a cookie... If someone used session replications without problems, i be very gratefull if he explains what configuration was employed... any help will be very appreciate. HELP !! ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863125#3863125 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863125 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - non-String attribute setting in mbean attribute
When configuring your MBeans, you can set attributes like this: | mbean code=com.abc.MyBean name=domain:type=foo |attribute name=FileName/tmp/log.txt/attribute | /mbean | But that assumes all my attribute values are java.lang.String. What if my JMX attribute has a type other than String? In the above example, what if my FileName attribute is actually a java.io.File: com.abc.MyBeanMBean.java: |public File getFileName() { ... }; |public void setFileName(File f) { ... }; | Will I need to do anything special to get JBoss to convert that XML string found in the configuration file to a File value? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863126#3863126 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863126 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: non-String attribute setting in mbean attribute
The majority of the jboss means use non-string attributes. The conversion is based on the standard JavaBean property editor plugin mechanism. We bundle a number of property editors for commonly used types, java.io.File being one of them. | [EMAIL PROTECTED] Releases]$ jar -tf jboss-4.0.1/lib/jboss-common.jar | grep propertyeditor | org/jboss/util/propertyeditor/ | org/jboss/util/propertyeditor/BigDecimalEditor.class | org/jboss/util/propertyeditor/BlockingModeEditor.class | org/jboss/util/propertyeditor/BooleanEditor.class | org/jboss/util/propertyeditor/ClassArrayEditor.class | org/jboss/util/propertyeditor/ClassEditor.class | org/jboss/util/propertyeditor/DateEditor.class | org/jboss/util/propertyeditor/DocumentEditor.class | org/jboss/util/propertyeditor/DoubleEditor.class | org/jboss/util/propertyeditor/ElementEditor.class | org/jboss/util/propertyeditor/FileEditor.class | org/jboss/util/propertyeditor/FloatEditor.class | org/jboss/util/propertyeditor/InetAddressEditor.class | org/jboss/util/propertyeditor/IntArrayEditor.class | org/jboss/util/propertyeditor/IntegerEditor.class | org/jboss/util/propertyeditor/LongEditor.class | org/jboss/util/propertyeditor/PropertiesEditor.class | org/jboss/util/propertyeditor/PropertyEditors.class | org/jboss/util/propertyeditor/ShortEditor.class | org/jboss/util/propertyeditor/StringArrayEditor.class | org/jboss/util/propertyeditor/TextPropertyEditorSupport.class | org/jboss/util/propertyeditor/URLEditor.class | We will soon be adding support for using the jbossxb framework in combination with xml namespaces such that you can write more sophisticated xml - object parsing and ultimately a jaxb 2.0 mechanism. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863129#3863129 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863129 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Access JBoss logs without logging into the unix server.
Hi, I heard there is a way to keep the developers off the unix box. They mainly login to the unix server to look at the jboss logs. I heard this is done using log4j's SocketAppender. Request you guys to throw some light on this. Thanks, -GnanaShekar- View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863130#3863130 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863130 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: NullPointerException in JBossSecurityMgrRealm.getCaching
Thank you, that did the trick! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863132#3863132 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863132 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss MBean and start thread
Is there code out there for starting a thread in JBoss, mainly within in a MBean. I could do it the normal way, but I just want to make sure there isnt a JBoss way of doing it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863134#3863134 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863134 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Caching lookups
I've done some testing and here are the results I'm seeing. I am looking up an entity bean from a remote host which uses hajndi to get the bean from a cluster of 2 machines. Using the jnp.partitionName produces undesireable results. When both nodes are down and then one comes back up, the client lookups will fail with Service Unavailable exceptions. The client must be restarted to fix the problem, creating a new InitialContext will not help. Using the java.naming.provider.url produces better, but not optimal results. When both nodes are down an exception will be thrown on the client, but creating a new InitialContext will give you a context on the localhost which has recent lookups cached. Any lookups on immutable data will succeed, but volatile data cannot be found and lookups will return null. This means the client doesn't have to restart, which is good, but the behavior can give you headaches. You can never know if your lookup is legitimately returning null, or if your cluster is down. Does anyone have suggestions for clients surviving when an entire cluster goes down? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863135#3863135 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863135 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP Bean Finder expression error
Thanks for the reply. Its not complaining on ' ' its complaining on = ? I appreciate your help Xjava View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863139#3863139 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863139 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - jdbc driver not invoked properly?
This is a new installation using Jboss 4.0.1, postgreSQL 8.0 (driver postgresql-8.0.309.jdbc3.jar) and JDK 1.4. Jboss starts properly but when I try to log in thru openCRX, I get errors. From server.log: [STDOUT] loading /WEB-INF/config/bootstrap/101_security_subjects.xml [STDOUT] storing 5 objects [STDOUT] creating org::opencrx::security::identity1/provider/CRX/segment/Root [STDOUT] STATUS: DefaultDomain.MEDIA_ACCESS_FAILURE: (for more info see log) and later on lots of erros like this: [STDOUT] STATUS: OpenCrxDomain.1003: Requested principal not found. (for more info see log) From openCRX.shared.20050120.log: BasicException.Entry[0] Timestamp=2005-01-20 10:58:02.410 Class=org.openmdx.compatibility.base.dataprovider.layer.persistence.jdbc.Abst ractDatabase_1 boot.log has no errors. I don't know if it's related, but this page name=jdbc_opencrx_CRX,service=ManagedConnectionPool from the Jboss management console has some corruption in the html code. Settings are displayed in the table cell, not in the input field box. Thanks for any help Bart View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863140#3863140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863140 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP Bean Finder expression error
As suggested by dragon_jdh you need to escape your query in the xml file. So for every '' in the query use and similarly for every '' use . Another alternative is to put your query in CDATA tag | ejb-ql[CDATA[SELECT OBJECT(o) FROM test as o WHERE o.cln =?1 AND o.pt =?2 AND o.effDt =?3]]/ejb-ql | Good Luck, VM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863142#3863142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863142 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: JSP JSR77 MBeans and Statistics
Diripu Hi, It seems that the simple cases work like you have described, but as soon as the web.xml file gets more complex, the JSPs are not monitored. Take a look at what happens when you deploy JBoss Duke's bank application (the J2EE example application). In this case you will get only one MBean jsp which reports statistics for all JSPs - which means you can't get information for a specific JSP. The web.xml here declars its JSP using a jsp-property-group. As for jsps that will be added to a directory - you are correct. No MBeans will be added. Still waiting for an answer from one of the JBoss team... This looks to me a major issue for anyone that deals with management. Yaron. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863143#3863143 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863143 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP Bean Finder expression error
Correction to my reply... | ejb-ql![CDATA[SELECT OBJECT(o) FROM test as o WHERE o.cln =?1 AND o.pt =?2 AND o.effDt =?3]]/ejb-ql | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863144#3863144 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863144 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - app crashing - out of memory
I am running a .jsp webpage on JBoss. I am running security scans using AppScan that recursively makes requests to the server. Half way throught the scan the app crashes and I get a 503 service unavailable error. In the JBoss log I get an Out of Memory Exception. I am guessing the application queue is being overflowed and the threshold set in JBoss is being max'd out and the app crashes. Anyone know how to adjust the virtual memory threshold in JBoss? Or have any other ideas? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863145#3863145 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863145 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: sql performance
which driver are you using to access de sql server? i 'm actualy using net.sourceforge.jtds.jdbc.Driver and is far better than the com.microsoft.jdbc.sqlserver.SQLServerDriver. Hope this help. Matias View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863147#3863147 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863147 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Tapestry and Jboss
Hi am trying to set up Tapestry with Jboss I am using Tapestry3.0, Jboss4.0 and Eclipse. Have done the tutorial that uses Tomcat, but i need to use Jboss. Tomcat uses manager role. Have to set user and passward, but i came across something saying Jboss doess not use this. Here is the build file can you tell me exaclty what i need to change in it to make it work under Jboss? ?xml version=1.0? | project name=ServletDeploy default=Build_All |!-- | This ANT script does NOT compile the application, | we are relying on Eclipse to do all Java compilation. | This script merely deploys the application to Tomcat. | | This script will work with Tomcat 4.0, but Tapestry | says it requires Tomcat 4.1, so make sure you have | Tomcat 4.1 running. | | You will need Tomcat manager running and working | login for Tomcat manager. To create a user for | Tomcat manager, edit the file | | tomcat\conf\tomcat-users.xml | | and add a line for the desired user, such as | | user |username=username |password=password |fullName=Your Fullname |roles=manager/ | | If it is not already there, you may want a to add | the manager role above the user line... such as | | role rolename=manager/ | | This script was designed to deploy a Tapestry servlet | application using Tomcat 4.1+. This script assumes | that the project is laid out how Spindle lays out | applications. All that should need to be modified | is the few lines near the top... | | application | tomcatHome | workspaceHome | mgrUsername | mgrPassword | | Using the manager to install/remove applications keeps | you from having to stop and restart Tomcat every time | you need to update your application. |-- |property name=application value=hangman2 / |property name=tomcatHome value=c:/tomcat / |property name=workspaceHome value=c:/save/eclipse/TapestryTutorialWorkspace / |property name=mgrUsername value=username / |property name=mgrPassword value=password / | |property name=webappsHome value=${tomcatHome}/webapps / |property name=appHome value=${webappsHome}/${application} / |property name=contextHome value=${workspaceHome}/${application}/context / |property name=deployWarsDir value=${workspaceHome}/${application}/DeployWars / |property name=mgrUrl value=http://localhost:8080/manager; / |property name=mgrRemoveUrl value=${mgrUrl}/remove / |property name=mgrDeployUrl value=${mgrUrl}/install / | |target name=Deploy_to_LocalDev | !-- LocalDev deploys right into the local tomcat -- | mkdir dir=${deployWarsDir}/local-dev / | delete file=${deployWarsDir}/local-dev/${application}.war / | war | duplicate=preserve | destfile=${deployWarsDir}/local-dev/${application}.war | webxml=${contextHome}/WEB-INF/web.xml | classes dir=${contextHome}/WEB-INF/classes / | fileset dir=${contextHome} |include name=* / |include name=css/*.css / |include name=images/* / |include name=WEB-INF/*.page / |include name=WEB-INF/*.application / |include name=WEB-INF/*.jwc / |include name=WEB-INF/*.html / | /fileset | /war | | !-- Deploy to Tomcat 4.1 -- | !-- NOTE: The remaineder of this installation requires the Tomcat 4.0+ |manager be running and the build will fail if it is not. -- | !-- Remove the application -- | delete file=deploy-local-remove.txt / | get | src=${mgrRemoveUrl}?path=/${application} | dest=deploy-local-remove.txt | username=${mgrUsername} | password=${mgrPassword} / | loadfile property=deploy.local.remove.result | srcFile=deploy-local-remove.txt / | echo${deploy.local.remove.result}/echo | delete file=deploy-local-remove.txt / | | !-- Remove the directory containing the old version of the application -- | !-- | delete dir=${webappsHome}/${application} / | -- | unzip | src=${deployWarsDir}/local-dev/${application}.war | dest=${webappsHome}/${application} / | | !-- Install the application -- | delete file=deploy-local-remove.txt / | property name=mgrDeployParams | value=path=/${application}amp;war=file://${webappsHome}/${application}/ / | get |
[JBoss-user] [Security JAAS/JBoss] - Switching from Tomcat 4.x to Jboss 4 for deployment.. LDAP/J
We have an application that runs fine on Tomcat 4.x that we are trying to get running in JBoss. Most of the issues have been pretty minor. But I can't figure out how to use our existing LDAP code. In the current setup, we have an entry for Resource and ResourceParams in server.xml for the LDAP server under Host.Context. anonymous wrote : (Resource name=ldap/Foo scope=Shareable type=com.example.LDAPDataSource /) | | (ResourceParams name=ldap/Foo) | (parameter) | (name)factory(/name) | (value)com.example.LDAPDataSourceFactory(/value) | (/parameter) | (!-- other params follow --) | (/ResourceParams) | Basically - we use our own factory to spit back our LDAPDataSource. The reason we do this is so that we can encrypt the password to the LDAP machine so it does not sit in plain text. So right now, when our application uses j_security_check, the final JBoss authentication module (the one with users.properties and roles.properties) gets triggered, and it says that users.properties isn't there. So I need to add an auth module. But I'm just not sure how I am supposed to plumb this thing up. If it was just LDAP that's one thing, but I want to be able to use the custom LDAP classes. Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863149#3863149 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863149 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Switching from Tomcat 4.x to Jboss 4 for deployment.. LD
Er - that entry is in server.xml right now. Forgot to mention that. And the subject got cut off, it's sposed to say LDAP/JNDI. Ah well. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863150#3863150 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863150 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Invalid url-pattern /WEB-INF/*.tld
JBoss throws this exception when deploying my app: Caused by: java.lang.IllegalArgumentException: Invalid url-pattern /WEB-INF/*.tld in security constraint This pattern is indeed in my web.xml but so what? WLS is ok with it. Is it not a perfectly valid URL? This error prevents my app from deploying. If anyone knows why JBoss is complaining about this and/or how to resolve it please let me know. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863152#3863152 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863152 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Memory Leak: Read-Only Method
While upgrading our application from JBoss 3.0.2 to JBoss 3.2.5 we began experiencing a memory leak. Using JProfiler we found that there was a growing number of references to one of our entity beans that were never being released. I wrote a very simple unit test which performed the following steps: 1) Look up the home interface of the entity bean 2) Callled the findByPrimaryKey() method. 3) Called a getModel() method on the entity bean which returned a value object with the bean?s data back to the caller. The entity bean had no relationships defined to other beans, and the test was not executed in a transaction. I then ran the unit test in an infinite loop, always looking up the same entity bean each time, and after about 20 minutes (50,000 iterations) the JVM ran out of memory. JProfiler showed that there were over 50,000 references to the one entity bean in memory. I then noticed that the getModel() method was declared as read-only in the descriptor file. I removed this and then re-ran my test. The JVM never ran out of memory and there was only 1 reference to the problematic bean in memory. Once we then removed all of the read-only declarations from our descriptor files, our memory leak problem was resolved. Here is our setup: Java 1.4.2_03 Jboss 3.2.5 on Windows XP Professional Using CMP 2.0 with commit option C Bean caching is set to a maximum of 1000 (instead of the 100 by default) I wasn?t able to find any other similar problems reported in the forums, and thought I would post this to help anyone else who may be experiencing similar issues. Tripper McCarthy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863155#3863155 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863155 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP Bean Finder expression error
thank you Vmukkamala. This is what I got in my ejb-jar.xml ejb-ql![CDATA[SELECT OBJECT(o) FROM Test as o WHERE o.cln =?1 AND o.pt =?2 AND o.effDt =?3]]/ejb-ql but when I change = to just it did work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863157#3863157 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863157 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?
Thomas, Ole: Thanks for your answer! But, as expected, I ran into trouble again... 1) I've checked out the webservice module from both head and branch_4_0, but I can't find the MessageEndpointTestCase, where it is? 2) I mapped all my operations to the same method with service-endpoint-method-mapping. But it didn't work. I took a look at the generated WSDD file in the /data directory. It only described the last operation in document order, which makes me believe that, somewhere, a single operation is assumed to be mapped to a method, and such mapping is being overwritten. Can you help me out with this issue? If I can't map all operations to the same method, I'd have to generate a distinct interface and implementation (and compile them) for each partner link at deployment time, resulting in a considerably more complex deployment model. Thanks again! -Alex View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863159#3863159 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863159 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Warning Messages
Hi ppl, Hope u can help me While listing some valueobjects that were retried from entity beans using a session bean i get a lot of those messages, the listing is ok, but my console flood with those messages. 17:40:44,077 WARN [PerTxEntityInstanceCache] Unable to passivate due to ctx lock, id=a9ae05:1016821cb6e:-7ffd Can any1 help me plz? Thanks a lot! Regards, Bruno Arruda View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863163#3863163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863163 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ws4ee-deployment vs jaxrpc-mapping
thank you again Thomas, As i understand ,if i don't want to use server and client artifacts (stub and tie class) ... i have to override type-mapping in jaxrpc-mapping.xml with mapping in ws4ee-deployment.xml to serialize custom java bean class. am i closing the right way??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863171#3863171 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863171 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Password Hashing with UsernamePasswordLoginModule
I have UsernamePasswordLoginModule working fine without password hashing. I added the following two lines application-policy for jmx-console in the login-config.xml: module-option name=hashAlgorithmMDS/module-options module-option name=hashEncodingbase64/module-option I changed the password from clear text to the Base64Encoder value and it does not validate. What am I missing? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863172#3863172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863172 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - How to run a socket server in jboss?
Hi, I am not sure if this is the correct palce to ask but I could not think or a better one. We have application which sends/receives data over ip. I would like to build something which would listens for these transactions and process them acordingly. Since I cannot listen on a socket in SessionBean I was thinking about running something inside jboss ( what and how ? ) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863173#3863173 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863173 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - can't find src in cmproster example ((
Best regards! i had download startguide40.zip 2 times, but didn't find cmproster java source... where am i missing? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863175#3863175 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863175 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: How to run a socket server in jboss?
Ups, sorry I did not finish the question ... That something could be mbean,scheduled process or resource addaptor ... Anything else? What would work the best? Then that process would pass the socket to the session bean. Would that work? Any input would be greatly appreciated. robert View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863176#3863176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863176 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Cannot get CMP and Oracle JDBC configuration working
I have the same error after I uncommented related elements in db xml file. What is the reason? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863177#3863177 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863177 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: How to run a socket server in jboss?
FAQ: http://www.jboss.org/wiki/Wiki.jsp?page=IWantToConnectToXYZShouldIUseJCA And probably a hundred other posts with the same question in this forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863178#3863178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863178 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - wscompile/wsdl/ws4ee questions...
I think I'm finally getting the hang of creating a service, but I'm just not positive what files to edit; I want to post it to the group first, then see if it's right. If so, I'll generate a page on the wiki explaining what I did since there's a large gap between how to do it and why. :) In any case, I implemented my Java service endpoint classes. I ran it through wscompile using the -define and -mapping option through an ant task. This generated both a .wsdl and jaxrpc-mapping.xml file. These files are used in combination by JBoss to create the .wsdd file that's stored in the server's data/wsdl directory. Using wscompile, it places definitions of helper structs (complex types) in the wsdl and mapping file such as XXX_ResponseStruct and XXX_RequestStruct. For example, the complex type getProfiles is mapped to Java object getProfiles_ResponseStruct, etc. The problem of course arises is that these files aren't actually generated so when JBoss creates the .wsdd file, it can't find the actual Java class since they weren't generated and hence, it ignores the mapping. !-- Class not found, ignore type mapping | typeMapping | qname='ns2:getProfiles' xmlns:ns2='http://service.profiles/types' | type='java:profiles.service.endpoint.ProfileWebServiceInterface_getProfiles_RequestStruct' | serializer='null' | deserializer='null' | encodingStyle='' | typeDesc | elementDesc fieldName='String_1' xmlName='String_1'/ | elementOrder element name='String_1'/ | /elementOrder /typeDesc | /typeMapping | -- | Does this mean I have to completely edit the .wsdl that was created and the mapping file to remove references to these created structs? or Does this mean that I have to use the gen:server option on wscompile because I know that using this, it generates all the server artifacts, etc. There's a disconnect as to whether I have to use gen:server or if I can edit the wsdl to accomplish creating the service. I figure someone else must have the same questions I do. :) Btw, I'm creating a document/literal service using JBoss 4.0.1 with jwsdp 1.5 Any help would be greatly appreciated, Ryan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863179#3863179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863179 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: can't find src in
oh i found it (chapter 3.1 Getting Started with JBoss 4.0) http:// java.sun.com/j2ee/1.4/download.html#tutorial. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863180#3863180 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863180 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBOSS Ant Tasks
Is there ant tasks available for deploying, undeploying etc for JBoss Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863181#3863181 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863181 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Jboss 4.0.1 and JSF
We're running a jsf app on JBoss 4.0.1 succesfully. So I think it's a problem of packaging the app or the app configuration files or the app itself. Not a JBoss or jsf problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863182#3863182 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863182 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Testimonials] - Second success story
We successfully deployed our second application on JBoss in December last year. This was a Java Swing/EJB application running on BEA Weblogic. We successfully migrated it from Weblogic to JBoss and instead of using CMP entity beans we are now using Hibernate for persistence. We are very pleased with the results so far. Thanks to the JBoss and Hibernate teams. Javier View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863188#3863188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863188 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: wscompile/wsdl/ws4ee questions...
hi kanno, i've the same problem as u. i tried -gen:server with wscompile and package all xxx_Struct class in .war file(doesn't include ws4ee-deployment.xml). Anything look well i can call web service but return type become xxx_ReponseStruct (cause it's defined in mapping file). so ClassCastException occurs while i try to cast it into my custom type. i think this approach will work in one way communication (call void method). Another way i'm trying to do is override custom-mapping file by ws4ee-deployment.xml (i wish it help me to complete my work...). i'll post it if it success... Ken View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863190#3863190 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863190 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - HAJNDI/Clustering Bug in 4.0.x?
Possible Bug in JBoss 4.0.0 and JBoss 4.0.1 Tested with: JBoss 4.0.0 and JBoss 4.0.1 Redhat ES 3.0 Update 3 JDK 1.4.2_06 Please be patient as you read through all of this. I've tried to provide as much information as possible so that we can work towards a solution quickly. We have a system which is distributed over 3 separate clusters. During various processes, we require messages to be sent from one cluster to another. We are using HAJNDI to send and receive the JMS messages. However, any remote cluster HAJNDI lookup fails. It seems that, no matter what provider url we enter when we are creating the InitialContext for the lookup, it will always do the lookup on the local cluster! We will get a NameNotFoundException on the sending node, and if we hotdeploy the mdb that was waiting on the destination cluster, the previously sent message is immediately received on the sending node. There is no activity on the destination cluster. This configuration worked perfectly in JBoss 3.2.5. If we add our own clusters on top of a shared DefaultPartition, the messages are of course sent and received successfully. However, we need to have completely separate clusters, (DefaultPartitions and our own partitions) because we have MDB's that we only want deployed on certain clusters that we have created, and we don't want to share the same singleton DestinationManager that runs on the DefaultPartition accross all of our nodes. As a result, we've set up 3 different DefaultPartitions that each use a different UDP Multicast IP, configured in cluster-service.xml. Is this working as intended? Is HAJNDI designed to ONLY work within the same cluster? (it was working in earlier versions of JBoss) If you would like more detail, please read through the various config, code and log file excerpts below. If you need more clarification or more info, please ask. We set up a test environment with 2 different DefaultPartitions Server1 and Server2, distinguished from each other by Mulicast ip's. Neither node is multihomed. (If the DefaultPartitions are the same, this example works.) The only thing that we change is the Multicast ip for the DefaultPartition on Server2. When the two separate clusters are running, each has its own DestinationManager service running, as expected. The sender is an MBean with a method that accepts a String parameter running on Server1. This parameter is the provider url (192.168.129.49:1100 for the example Server2's ip) that will be used to create the InitialContext that is used for the lookup of the destination Queue on Server 2. The destination is an MDB bound to the jndi name of queue/TestingMDB. When we invoke the method in our MBean(Server1) it tries to Connect to the local HAJNDI port not Server2's HAJNDI port. We endup seeing the following error on Server1: anonymous wrote : ERROR [testing.QueueTester] NamingException in QueueTester.sendMessage(): queue/TestingMDB | Nothing is logged on Server2 when this fails. If we change the Provider url to 192.168.129.49:1099 everything works as planned.(except no High Availablity is involved on Server2's Cluster). From cluster-service.xml on the sender node: anonymous wrote : | ... | UDP mcast_addr=228.1.2.3 mcast_port=45566 | From cluster-service.xml on the destination node: anonymous wrote : | ... | UDP mcast_addr=228.1.2.4 mcast_port=45566 | MBean test code that is sending the JMS message: (providerUrl has been verified at runtime to contain the correct destination ip and correct destination port of the remote destination (ie: 192.168.129.49:1100)) anonymous wrote : public void connect(String providerUrl) throws NamingException, JMSException | { | Properties props = new Properties(); | props.put(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); | props.put(java.naming.factory.url.pkgs,org.jnp.interfaces); | props.put(Context.PROVIDER_URL, providerUrl); | Context context = new InitialContext(props); | | // Lookup the managed connection factory for a topic | QueueConnectionFactory factory = | (QueueConnectionFactory) context.lookup(UIL2XAConnectionFactory); | | // Create a connection to the JMS provider | queueConnection = factory.createQueueConnection(); | | // Lookup the destination you want to send to | queue = (Queue) context.lookup(queue/TestingMDB); | Test MDB on the destination node that has been verified to be bound to the jndi name queue/TestingMDB: anonymous wrote : public void onMessage(Message _incMessage) { | log = Logger.getLogger(this.getClass()); | try | { | TextMessage message = (TextMessage)
[JBoss-user] [Persistence CMP/JBoss] - CMP With object attributes
Hi, I've got existing POJO/DAO classes and I'm converting them into CMP Beans. Works fine. I've reached the case where I have a class Customer with an attribute Address (another class). public final class Customer extends PersistentObject { private String _id; private String _firstname; private String _lastname; private final Address _address = new Address(); } public final class Address { private String _street1; private String _city; private String _zipcode; } To turn that into a CMP you would thing 'well, let's create 2 CMPs, one for Customer and one for address with a relation'. The problem is that I only have one DB Table t_customer with all attributes, but there's not table for address CREATE TABLE T_CUSTOMER( id VARCHAR(10), PRIMARY KEY(id), firstname VARCHAR(50) NOT NULL, lastname VARCHAR(50) NOT NULL, street1 VARCHAR(50), city VARCHAR(25), zipcode VARCHAR(10)); And I don't want to create a second table (t_address). How can I use a CMP and map its composed attributes (address) into the table t_customer ? If I creat a BMP instead I will have problems with relationship between CMPs and BMPs. Any help, thanks, Antonio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863192#3863192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863192 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Configuring beanMapping with JBossWS
Looking at the axis docs, I came across this that might be of some help. And I quote, anonymous wrote : | (The tag is really just shorthand for a tag with serializer=org.apache.axis.encoding.ser.BeanSerializerFactory, deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory, and encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;, but clearly it can save a lot of typing!) | But, as Thomas has posted in the past, I think the SOAP encoding is not WS-I Basic Profile compliant? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863195#3863195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863195 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Problems mapping strut's ActionServlet while using embed
Hi! Last time I did similar with JBoss and Struts application. What I had was properly working version of Struts based application on Tomcat. It was packed as *.war file. For my private needs I've applied AOP to my application, but it should make zero difference for your problem. I've downloaded latest Jboss AS version 4.0.1. Unpacked. Put my application inside JBOSS_HOME/server/default/deploy/ - actually I've unpacked it into directory name: application.war/ Started JBoss: ./bin/run.sh -c default That's all. It works smooth for me. With Struts of course. I don't use any EJB nor standard DB. But it shouldn't be the reason. Check directories once more. Watch the log.. there should be information about deploying your application. Regards, Tomasz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863196#3863196 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863196 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Is
the rmiregistry is not supported in JBoss - IMO View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863199#3863199 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863199 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - security association set for main thread during deployment a
Potential Security Flaw Using MDB During the deployment of a message driven bean, the container creates a connection to the message queue using the user/pwd provided by the deployment descriptor. The authenticated subject created by this operation is bound to the current thread (via the security association class) using a ThreadLocal. The thread that deploys components existing in the deploy directory at startup is the main thread. This means that the main thread has a security association. This security association (meaning the Subject bound to the thread by a ThreadLocal) is then copied to every other thread created by JBoss, including the the HTTP processor threads, class loader threads, etc. The very first time the application is accessed using one of the HTTP processor threads, it has the security association create the jms login. Once the processor thread has processed one request, the security association is cleared and functions normally. This is a serious security vulnerability. A partial workaround is to not deploy the MDBs until after JBoss has finished starting up. This prevents the jms-connection user security association from being inherited by the HTTP processor threads. Regards, Eugene View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863200#3863200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863200 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: security association set for main thread during deployme
The security association simply needs to be cleared at the end of the deployment. Create a bug report in jira with the jboss versions. http://jira.jboss.com View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863201#3863201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863201 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: wscompile/wsdl/ws4ee questions...
Ok, after going through all the examples, I sorta see what's going on with the assorted mapping files, etc. Since apparently the automatically generated wsdl creates a wsdl that validates a message of | getProfiles | String_1*BLAH*/String_1 | /getProfiles | I can't just use this type mapping | typeMapping qname='ns1:getProfiles' xmlns:ns1='http://namespace' | type='java:java.lang.String' | serializer='org.apache.axis.encoding.ser.SimpleSerializerFactory' | deserializer='org.apache.axis.encoding.ser.SimpleDeserializerFactory' | encodingStyle='' | /typeMapping | because the value between the tags isn't a string type. Is it standard to just edit the wsdl file or to edit the typemappings via the ws4ee-deployment file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863202#3863202 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863202 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Unable to find a javac compiler;
I am experiencing a similar problem. OS Win/2K JBoss Version 3.2.5 JBoss IDE version 1.4.0 Eclipse Version 3.0.1 Two problems: First, on starting server 17:37:56,454 ERROR [HANamingService] Could not start on port 1100 java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:318) at java.net.ServerSocket.(ServerSocket.java:185) at org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:223) ... If I ignore this and try to run my web app, I get on the web page: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) Yet: U:\set JAVA_HOME JAVA_HOME=C:\j2sdk1.4.2_05 U:\set JDK_HOME JDK_HOME=C:\j2sdk1.4.2_05 Inside Eclipse, the Window-Preferences-Java-Installed Runtime JREs also points at C:\j2sdk1.4.2_05. What is this port 1100? Nothing in my jboss-service.xml points there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863203#3863203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863203 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - JavaScript to Java remote scripting
Hi Folks, Thought you may be interested in my project JSON-RPC-Java which enables simple JavaScript to Java remote scripting using JBoss (tomcat): http://oss.metaparadigm.com/jsonrpc/ Feedback, testing, contributions much appreciated. Cheers, Michael. IntroductionJSON-RPC-Java is a key piece of infrastructure that allows JavaScript DHTML web applications to call remote methods in a Java Application Server (remote scripting) without the need for page reloading (as is the case with the vast majority of current web applications). It enables a new breed of fast and highly dynamic enterprise Java web applications.JSON (JavaScript Object Notation) is a lightweight data-interchange format with language bindings for C, C++, C#, Java, JavaScript, Perl, TCL and others.JSON-RPC is a simple remote procedure call protocol similar to XML-RPC although it uses the lightweight JSON format instead of XML.JSON-RPC-Java is a Java implementation of the JSON-RPC protocol.JSON-RPC-Java OverviewJSON-RPC-Java is a dynamic JSON-RPC to Java ORB (Object Request Broker) that allows you to transparently call server-side Java code from JavaScript. It is designed to run in a Servlet container such as Tomcat and can be used with JBoss to allow calling of EJB methods from within a JavaScript DHTML web application.Minimal or zero changes are necessary to existing server-side Java code to allow calling from JavaScript (such as the marshalling and unmarshalling of special types) as JSON-RPC-Java dynamically maps JavaScript objects to and from Java objects using Java reflection. JSON-RPC-Java also allows simple exporting of Java objects by reflection on their method signatures (a single line of code is required to provide access to a Java object).JSON-RPC-Java currently supports transparent marshalling and unmarshalling of the following types:Primitive types (int, long, short, byte, boolean, char, float, double)Numbers (Float, Integer, etc...), Strings, Char and Byte arraysJava Beans (any Object with set and get methods)Arrays of primitive types, Strings, Numbers, Collections and Java BeansExceptions (although type information isn't currently preserved)Concrete and abstract collection types:List, ArrayList, LinkedList, and VectorMap, HashMap, TreeMap, and LinkedHashMapSet, HashSet, TreeSet, and LinkedHashSetDictionary, HashtableAny arbitrary nested combination of the above (excluding circular references)JSON-RPC-Java has some basic ORB (Object Request Broker) functionality with an API to register Java classes as:References - Objects of classes registered as References will be returned as opaque reference objects to JavaScript that when passed to succussive Java method calls will then be reassociated back to the original Java object (great for security sensitive objects).Callable References - Objects of classes registered as Callable References will return dynamic proxies to allow invocation on the particular object instance in the server-side Java. There are changes to the included jsolait json-rpc client for dynamic proxy creation support.JSON-RPC-Java is intended for use in next generation Java / DHTML / JavaScript enterprise web applications to provide a similar level of speed and interactivity to that of typical standalone client server GUI applications. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863206#3863206 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863206 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Disguising non-XA resource as an XA resource
Well atlast got somebody who has a similar problem. I need to make a file server transactional. I'm making calls to Oracle XAResource datasources which gives no problem but the issue is to make the calls to the file server also transactional. Both the connections should rollback together. Any ideas would really help. Thnx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863208#3863208 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863208 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - How to seperate log file of one MBean into an seperate file
As we know,JBOSS logging's default config logging all info into server.log,I want to log one mbean's log into a seperate file ,how can i do this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863209#3863209 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863209 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - commit option A plus optimistic locking on read only operati
I am using commit option A on entity beans, so that there is no redundant ejbLoad of entity beans between transactions. But this means for 2 concurrent transactions, even if they were read-only operations, one would be locked out till the other completed, since the global instance cache is pessimistically locked. How do I devise a strategy to let read-only transactions proceed simultaneously (not one after other) despite using commit option A ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863210#3863210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863210 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user