[jboss-user] [Remoting] - Re: NPE from one way message dispatch

2008-10-24 Thread [EMAIL PROTECTED]
I've created JBREM-1046 "HTTPClientInvoker throws NullPointerException when HttpURLConnection.getInputStream() returns null" and committed a fix. Andrew? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184617#4184617 Reply to the post : http://www.jboss.com/

[jboss-user] Re: Transient conversation data

2008-10-24 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=19476 Posted on behalf of a User Hi, Did u solve the above issue. I am getting the same issue now - Mouli In Response To: Hi, I am using Seam with RichFaces. I am currently running into an issue where Seam tries to serialise the ric

[jboss-user] [Performance Tuning] - Re: Issue with Performance of Jboss in Pick period

2008-10-24 Thread neel.gurjar
Thanks Peter Neelesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184616#4184616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184616 ___ jboss-user mailing list jboss-user

[jboss-user] [Remoting] - Re: Deadlock in BlockingCallbackStore

2008-10-24 Thread [EMAIL PROTECTED]
Ok, I've created JBREM-1045 "ServerInvokerCallbackHandler can suffer deadlock when used with BlockingCallbackStore" (http://jira.jboss.org/jira/browse/JBREM-1045), applied a fix to branches 2.2 and 2.x, and attached a preview version of jboss-remoting.jar from the 2.2 branch. The fix is to cha

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to secure the JMX Console?

2008-10-24 Thread sachin.parnami
Hi Peter, Here are the changes done by me in default/conf/props/jmx-console-users.properties | # A sample users.properties file for use with the UsersRolesLoginModule | master=Sachin default/conf/props/jmx-console-roles.properties | # A sample roles.properties file for use with the Use

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Servlet Deployment Issue

2008-10-24 Thread RVince99
I package up a file, gg.war, as follows: (note, the same directory structure I have running in Tomcat 5x with no problems) MANIFEST.MF (in META-INF\ ) IsItWorking.class ( in WEB-INF\classes\ ) web.xml (in WEB-INF\ ) My web.xml appears as follows: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="ht

[jboss-user] [JBoss AOP] - I would like to know what is exacty HotSwapping

2008-10-24 Thread aquatr7
Hello, My question is: Do the use of the HotSwapping allows the application to take into account changes in the code of the interceptor without having to click once on the "Run" under eclipse. For example, If we have this code: | for(int i=0;i<10;i++) | { |try |{ | Ad

[jboss-user] [Management, JMX/JBoss] - Re: configure scheduling of mbean in .sar

2008-10-24 Thread sfisque
... or failing that, is there a way to get the scheduler mbean (if deployed from the .sar) to watch for a configuration file (similar to how .rar files are configured via external xml files). TIA == sfisque View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=418

[jboss-user] [Management, JMX/JBoss] - configure scheduling of mbean in .sar

2008-10-24 Thread sfisque
running jboss as 4.2.3-GA i have a .sar which contains an mbean, its interface, and the appropriate jboss-service.xml file. if i configure a scheduler in the jboss-service.xml file, it fires up correctly and everything is happy. if i remove the scheduling mbean block, and try to configure a sc

[jboss-user] [JBossWS] - Re: Full control of client and server certificates with a JB

2008-10-24 Thread yhrn
Hi, When I posted this JBossWS did not yet support multiple JAX-WS implementations. When this feature came I solved the problem by switching to the Metro flavor of JBossWS instead and then implement it as described in the initial post of this thread. This of course resulted in a set of other

[jboss-user] [JBoss jBPM] - BPEL Review

2008-10-24 Thread pruna
Hi, My name is Andres. I'm currently writing a comparaison about open source BPEL engines. I was reviewing the info in your website and published documentation, and there are several things that I couldn't find info about. I'd like to know if I can ask for these stuff here or is there anyone els

[jboss-user] [Remoting] - Re: Deadlock in BlockingCallbackStore

2008-10-24 Thread [EMAIL PROTECTED]
"JeremyStong" wrote : | Sorry, Ron, I tried but I don't seem to have bug sumit permissions. | Hmmm. Are you registered? I thought anyone that's registered could create a JIRA bug issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184578#4184578

[jboss-user] [Remoting] - Re: NPE from one way message dispatch

2008-10-24 Thread [EMAIL PROTECTED]
Thanks. I'll look into it. -Ron View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184577#4184577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184577 ___ jboss-user mailing li

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread woo37830
Not sure what is meant by an if sentence. Do we mean that in the jsf, we have an if clause, get the name of the process, and then how do we locate the correct stylesheets that are packaged and deployed with the process? what i did works, but you have to separately manage the stylesheets and im

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Code Completion suddenly disapear

2008-10-24 Thread UTDrew
I'm having this same problem after I created a branch in my svn repository for my project. I have both 'versions' in the workspace (new project names start with DEV) but I closed the 'head' version so I don't accidentally modify the wrong files. Similar to graben the only error I can find whic

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Is it ok to remove commons-httpclient.jar??

2008-10-24 Thread patwary_shiva
I am talking about commons-httpclient.jar in lib directory of thr server View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184565#4184565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184565 _

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to secure the JMX Console?

2008-10-24 Thread PeterJ
There is no "lockout after x failed log in attempts" within jbossas, at least not for the default login module for jmx console. I just now tried it and after after 10 failed attempts I can still log in. What are all of the configuration changes you made? View the original post : http://www.jbo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Is it ok to remove commons-httpclient.jar??

2008-10-24 Thread patwary_shiva
our application uses older version of commons.jar from apache which contains httpclient code.we have ear file which uses one of the classes of httpclient.It will take lot of testing and resouces to replace the comons.jar. we are not using it for our aplication and it is creating problem while cl

[jboss-user] [Performance Tuning] - Re: Issue with Performance of Jboss in Pick period

2008-10-24 Thread PeterJ
Oh, and as for the rest of the book, it is very beginner-friendly. The book is more geared towards JBossAS configuration than app development. But most chapters walk you through a simple app before we get into the details of configuring the app. So, for example, someone who wants to get into mes

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: External directory

2008-10-24 Thread bronzeiii
hey Peter Yes, it was a mistype... it should be /html thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184552#4184552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184552 ___

[jboss-user] [Performance Tuning] - Re: Issue with Performance of Jboss in Pick period

2008-10-24 Thread PeterJ
Yes, I assume that the reader knows nothing about Java performance and describe everything in detail. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184551#4184551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184551

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss process suddenly terminates from time to time

2008-10-24 Thread PeterJ
Try starting it with nohup and see if that helps. I think that the '&' just runs the process in the background, but that process is still a child of the shell process. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184550#4184550 Reply to the post : http:/

[jboss-user] [JBossMQ] - Message Drivern Bean with a remote queue

2008-10-24 Thread fylb
Hi there, let's say we have 2 applications app1 and app2. These 2 applications were previously running on the same server. We have a message driven bean EventTopicSubscriberBean in app1, listening to a JMS queue "eventQueue". This eventQueue is filled by app2. On a single-server architecture,

[jboss-user] [JBoss Cache: Core Edition] - Re: Found Bug with Hibernate, TreeCache and Cacheloader, if

2008-10-24 Thread genman
The CacheLoader is designed to persist the state of the cache, but when using Hibernate, it's the database itself that holds state. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184547#4184547 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread salaboy21
Ronald I'm saying that use 2 applications sounds odd to me.. my proposal is 1) Use the console and customize it (i never recommend this option) 2) Write a new application that use the APIs to fulfill the requirements.. I think we both are saying the same... View the original post : http://www.j

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread kukeltje
Maurico, I think that is what he does (we've done the same). A separate webapp with a generic tasklist and if forms are opened (self designed in jsf, not console forms) a specific layout appears. This can even be done in the console froms. But then you still have the 'wrapper' View the origin

[jboss-user] [JBossWS] - Re: @WebService - Invalid byte 2 of 2-byte UTF-8 sequence

2008-10-24 Thread martin.capote
Hi. I have the same problem. Do you found the solution? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184542#4184542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184542

[jboss-user] [Performance Tuning] - Re: Issue with Performance of Jboss in Pick period

2008-10-24 Thread neel.gurjar
Thanks a lot Peter. I do appreciate your efforts. Is it good for new commers? Regards NeeleshG View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184541#4184541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184541 __

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss process suddenly terminates from time to time

2008-10-24 Thread NullDevice
"PeterJ" wrote : In the server.log file, was there a shutdown message like the following... Nope, there was not. These lines never showed up there. So i guess our JVM crashes from time to time maybe. I can't imagine what processes should be there trying to kill/quit it, none i think. anonymous

[jboss-user] [Performance Tuning] - Re: Issue with Performance of Jboss in Pick period

2008-10-24 Thread PeterJ
Check out the book JBoss in Action http://manning.com/jamae. Chapter 14 is all about performance tuning and includes almost everything I know on the topic. The book is geared towards JBossAS 5.0, but most of the performance chapter can be applied to any Java application. View the original post

[jboss-user] [Remoting] - NPE from one way message dispatch

2008-10-24 Thread adinn
I'm seeing a spurious CannotConnect error from the AS5.0.0.CR2 remoting code, specifically from method HTTPClientInvoker.useHttpURLConnection. The exception is actually caused by a NPE thrown after dispatching the message. The problem occurs in a JaxWS-based test program which sends a one way m

[jboss-user] [Performance Tuning] - Re: Issue with Performance of Jboss in Pick period

2008-10-24 Thread neel.gurjar
Sure please provide me the URL. Also please let me know how much charges? Regards NeeleshG View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184535#4184535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184535 ___

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: External directory

2008-10-24 Thread PeterJ
I am confused. Your original post says that you can already access your content from http://localhost:8080/web and want to access it from http://localhost:8080/html instead, yet the contents of the jboss-web.xml file indicate that the context should be /web, which means you are still accessing

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: External directory

2008-10-24 Thread bronzeiii
Hey PeterJ Thanks.. actually i figured it out after i posted last night. I just created a jboss-web.xml and put it in the WEB-INF folder of my project. The content of it is.. /web now i can get the pages from the web directory without a problem. do you think this is the right app

[jboss-user] [JBossWS] - Re: SSL & Authorization

2008-10-24 Thread jeckles933
you need to create a truststore. the exception is telling you that the server you are connecting to probably self gernerated it's certificate. So you can setup a truststore, containing the public keys for anyone you trust. View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Tools (users)] - Re: Cannot create J2EE JBOSS project in Eclipse

2008-10-24 Thread PeterJ
I am going to assume that you installed JBoss Tools, and not JBoss IDE. You are looking at the old JBoss IDE tutorial. You should be looking at the JBoss Tools tutorial: http://docs.jboss.org/tools/2.1.0.GA/en/GettingStartedGuide/html/index.html View the original post : http://www.jboss.com/in

[jboss-user] [JBossWS] - Re: JBossWS 3.0.4 Released

2008-10-24 Thread [EMAIL PROTECTED]
No, that's another issue I think. Please open another thread on this so that we can analyze it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184519#4184519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184519 __

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss server.log to syslog redirection

2008-10-24 Thread PeterJ
Well, now you are outside of JBossAS territory and into Log4j territory. So I would get the source code for log4j and start going through it. My first task would be to write a simple Java app and get it to log to syslog, using an xml config file. If that did not help, or I could not get that to

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss process suddenly terminates from time to time

2008-10-24 Thread PeterJ
In the server.log file, was there a shutdown message like the following: 2008-10-22 11:27:18,253 INFO [org.jboss.system.server.Server] Shutting down the server, blockingShutdown: false 2008-10-22 11:27:18,269 INFO [org.jboss.system.server.Server] Server exit(0) called 2008-10-22 11:27:18,269 I

[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-10-24 Thread ALRubinger
Jaikiran, you give a good example of why the spec dictates the fields must be injected into static members. But it's OK to criticize something for being stupid. "bcn" wrote : In real-world application that would make it almost useless. Yep. Imagine if MC or Spring or any injection container l

[jboss-user] [JBossWS] - Re: Full control of client and server certificates with a JB

2008-10-24 Thread jeckles933
Trying to do the same thing. I can't understand what other people are doing to get around this problem. We have multiple keystores, so i have to override the default behavior for the SSLContext... This is what i need to do, but i can't figure out how/when to call this to set the socket factory

[jboss-user] [JBoss Getting Started Documentation] - Re: Getting Started v5 Chapter 6.2 Normal Exception?

2008-10-24 Thread Aahz
Sorry! I didn't saw "DEBUG" until you told me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184511#4184511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184511 ___ jboss-us

[jboss-user] [Security & JAAS/JBoss] - Re: ClientLoginModule & ServerInvokerServlet

2008-10-24 Thread LB24
Ok, the lack of response forced me to investigate the issue myself - something I was hoping to avoid. Turns out I had a few teething config errors. All is now working as expected. Thanks to everyone that didn't respond, forcing me to stop being lazy! View the original post : http://www.jboss

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: External directory

2008-10-24 Thread PeterJ
Yes you can do this, what you need is an extenral directory. Here's how: http://www.jboss.org/community/docs/DOC-9727 And here is a recent discussion on the same topic: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=139630 View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [Performance Tuning] - Re: Issue with Performance of Jboss in Pick period

2008-10-24 Thread PeterJ
I understand completely. If this is your first encounter with attempting to tune a Java application, it can be overwhelming. As I mentioned in one of those posts, I do have other material on performance analysis and tuning that you might find more helpful - it is text rather than slides and thus

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread salaboy21
I think (and I supose) that this is a very extreme solution. Why don't you use some kind of If sentence that ask the name of the process, or the department in the company and then find the correct style sheets? In this approach the if is the only logic that you need, why use another webapps, and

[jboss-user] [Beginners Corner] - Re: Does jboss support PHP and MySQL?

2008-10-24 Thread PeterJ
I use MySQL with JBossAS all the time, so yes it supports that. For PHP support, see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146675 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184505#4184505 Reply to the post : http://www.jboss.com/index

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss process suddenly terminates from time to time

2008-10-24 Thread zhulin
You can use process monitoring tools such as monit or ps-watcher to restart jboss when the process dies, at least until you find out the cause of the process to terminate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184504#4184504 Reply to the post : ht

[jboss-user] [EJB 3.0] - Re: many to many mapping exception in EJB3

2008-10-24 Thread Wolfgang Knauf
Hi, bi-directional mappings are a bit tricky: you always have to update BOTH sides of the mapping. So, if you want to map a Skill to an User, this will NOT work: user.getSkills().add ( mySkill); | entityManager.merge(user); You will have to do something like this: myUser.getSkills().add ( my

[jboss-user] [JBoss Tools (users)] - Cannot create J2EE JBOSS project in Eclipse

2008-10-24 Thread newmanw10
Hi, I've been looking at the JBOSS tutorial found here: http://docs.jboss.com/jbosside/tutorial/build/en/pdf/JBossIDE-Tutorial.pdf My problem starts at page 4, when i try to Create a new J2EE Project. According to the tutorial, i should have the following option: Select File > New >Project >JBoss

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread woo37830
I implemented the idea of a separate webapp that just holds the resources for various processes as I described previously. I structured it as deploy/default/resources.war/BCL/stylesheets/stylesheet1.css, deploy/default/resources.war/BCL/images/image1.jpg, etc. where BCL is the name of a proces

[jboss-user] [JNDI/Naming/Network] - JNDI lookup for XADatasource fails with error

2008-10-24 Thread pradeeps
This involves using JBOSS 4.2.3 GA, Spring 2.5 and SQLServer 2000 XA jdbc driver. I created a file pxdatasource-xa-ds.xml file in the deploy folder with the following definition- pxDS True jdbc:microsoft:sqlserver://SQLTEST1;SelectMethod=cursor;databasename=App_Dev com.microsoft.sqlserver.jdbc

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - entity specific row-locking?

2008-10-24 Thread robertmorschel
Porting from Weblogic to JBoss and need to set SELECT for UPDATE on an entity. The JBoss documentation suggests this can be done for an entity in jbosscmp-jdbc using but this doesn't validate against the DTD even though it seems visually it should. Any ideas? Robert soaprobe.blogspot.com Vie

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss server.log to syslog redirection

2008-10-24 Thread rajamurugank
Peter, Thanks for your help, I am unable to get the jboss log redirected to SYSLOG. Could you please give me hints on how to debug and get it working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184494#4184494 Reply to the post : http://www.jboss.com/i

[jboss-user] [EJB 3.0] - JBoss ClassLoader - Parent Last

2008-10-24 Thread Akshay Chandrashekar
Could somebody help me in understanding what configurations need to be done for Parent Last Class loading? I have an EAR which has a version of xerces.jar. While I try to start the server with my EAR, it errors out giving ClassCastException. Instead of loading the DocumentBuilderFactory from the

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread woo37830
Sorry for flame! Frustrated and shouldn't take it out on others. You're a better person than I am ;-) Thanks for the calm reply and attempt to help. Here is the problem: 1) Customer wants to see a demo of having one "console" where we run several business processes from different department

[jboss-user] [EJB 3.0] - many to many mapping exception in EJB3

2008-10-24 Thread mravikrish
Hello EveryOne, i've mapped many2many between user and skill tables ,when it is uni-directional works fine but the problem occurs when i made it to bi-directional. i've written many2many mapping in user class The following exception is thrown when i try to insert record

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss process suddenly terminates from time to time

2008-10-24 Thread NullDevice
Ok i just talked to them - nope they are not doing that on that server. Any other suggestions what it could be? Or where should i start to search for the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184480#4184480 Reply to the post : http://ww

[jboss-user] [Security & JAAS/JBoss] - Accessing a secure EJB from standalone Java client

2008-10-24 Thread jej2003
I am attempting to connect to an EJB that is under a JAAS Domain which has unauthenticated access support via the unauthenticatedIdentity attribute in my login-config.xml. If I provide the appropriate information when building my initalcontext (a valid username and password) everything works fi

[jboss-user] [JBoss Portal] - Re: java.net.UnknownHostException: www.w3.org

2008-10-24 Thread [EMAIL PROTECTED]
I need to update the wiki entry as there is a known issue with the version of JBoss WS bundled with AS 4.2.3.GA. Please upgrade to JBoss WS 3.0.4.GA to solve the issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184475#4184475 Reply to the post : http:/

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss process suddenly terminates from time to time

2008-10-24 Thread NullDevice
Yes im using a rootserver from http://www.synserver.de/ But i didn't notice that with other permanently running processes there yet. And also they don't say anything like that in their contract. Possibly i should mail them and ask them to make it sure... hmm View the original post : http://w

[jboss-user] [Security & JAAS/JBoss] - Re: @PermitAll and UnauthenticatedIdentity

2008-10-24 Thread jej2003
Ok, it made a liar out of me and just worked. I guess I had something screwy when doing the hot deploy...simple jboss restart fixed it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184470#4184470 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [Security & JAAS/JBoss] - @PermitAll and UnauthenticatedIdentity

2008-10-24 Thread jej2003
The Java Docs for PermitAll say the following anonymous wrote : Specifies that all security roles are allowed to invoke the specified method(s) i.e that the specified method(s) are "unchecked". It can be specified on a class or on methods. Specifying it on the class means that it applies to all

[jboss-user] [JBoss AOP] - Re: Do I need to have all the classes to run aopcompiler on

2008-10-24 Thread DerMas
Never mind, I just added all libs to the aop classpath and now I dont need to exclude anything. I guess thats ok, since its precompiled and not loadtime weaving. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184468#4184468 Reply to the post : http://www.jb

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss process suddenly terminates from time to time

2008-10-24 Thread zhulin
Are you running on a hosted machined? I know some hosting services don't allow long-running processes. The process simple dies after a period of time. Lin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184464#4184464 Reply to the post : http://www.jboss.com

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss process suddenly terminates from time to time

2008-10-24 Thread NullDevice
Hello, Im running Jboss 4.2.2 GA on a Debian Etch machine. The process from time to time (quite rarely though) terminates without any reasonable log entry. The java/jboss process suddenly is just not there anymore if i do "ps aux". I looked into /var/log/messages and into /opt/jboss4/server/d

[jboss-user] [JBoss Tools (users)] - Re: how to create new ejb project for use with seam project

2008-10-24 Thread [EMAIL PROTECTED]
Ah I missed the point about not enabling the facet ;) So you can actually already do this when creating the proect, don't have to wait after it has been created. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184452#4184452 Reply to the post : http://www.jb

[jboss-user] [JBoss AOP] - Field visibility and aspect

2008-10-24 Thread mane81
Hi, if I have a class with an enclosed class like this Class POJO { private String aField; ... class AnotherClass { public void someMethod() { aField = "something"; } } } and I add an aspect at runtime through these instructions: AdviceBinding binding = new AdviceBinding("execution(publi

[jboss-user] [JBoss Cache: Core Edition] - I want to insert data after i attach an object in pojo cache

2008-10-24 Thread anupamajboss
anonymous wrote : | | I am attaching an Object | | Set stateSet = new HashSet(); | | // STATE ONE | stateOne = new State(); | stateOne.setStateName("KARNATAKA"); | stateOne.setStateId(new Long(1)); | | // STATE

[jboss-user] [JBoss Tools (users)] - Re: how to create new ejb project for use with seam project

2008-10-24 Thread akazakov
You have to add a seam facet. 1. Create an EJB Project. 2. File->Properties (or right click on project->properties) -> Project Facets 3. Select Seam Facet. Change version, if you need. 4. Then I recomend you to click on Further configuration available... and set up Seam facet. Seam facet will be i

[jboss-user] [JBoss Portal] - java.net.UnknownHostException: www.w3.org

2008-10-24 Thread dboeckli
I am getting "java.net.UnknownHostException: www.w3.org" for following versions: - jboss-portal-2.7.0.CR1-bundled - jboss-portal-2.6.6.GA-bundled - jboss-portal-2.4.2-bundled jboss-portal-2.2.1-SP3-bundled worked well. I am behind a Firewall, so i used this for the JVM: | -Dhttp.proxyHost=prox

[jboss-user] [JBossWS] - Re: Sharing HttpSession between multiple webservices

2008-10-24 Thread agori
I found that this solution works: | MyService client1 = (MyService) service.getPort(...); | BindingProvider prov1 = (BindingProvider) client1; | Map request = prov1.getRequestContext(); | request.put(BindingProvider.SESSION_MAINTAIN_PROPERTY, true); | client1.login("agori", "sfsfaf");

[jboss-user] [EJB 3.0] - ejb client cannot reconnect automatically after a network re

2008-10-24 Thread ywtsang
for normal situation, our ejb client (tomcat) can connect to jboss server successfully e.g. we have 3 jboss in clusters, we are using ejb 3 stateless session bean (clustered), when one jboss is down for deployment, and up again, the client can reconnect to this jboss again but if a network f

[jboss-user] [JBoss Messaging] - Re: Accessing jnp port 1099

2008-10-24 Thread noelo
try using run.sh -c messaging -b 192.168.200.50 instead of --host View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184425#4184425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184425

[jboss-user] [Clustering/JBoss] - Re: why scanner redeploy custer-service.xml frequently?

2008-10-24 Thread tomshanghai
log info: DEBUG [org.jboss.deployment.scanner.URLDirectoryScanner] (ScannerThread:) Deploying Modified (or new) url: file:/C:/firmament/jboss/server/default/deploy/deploy-hasingleton-service.xml DEBUG [org.jboss.deployment.scanner.URLDirectoryScanner] (ScannerThread:) Deploying Modified (or new)

[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-10-24 Thread Wolfgang Knauf
Carefully read the spec: "supported for the application client main class" ;-). If you declare your injected EJBs as "public static" variables in the main class, you can access them from anywhere inside your client app. Best regards Wolfgang View the original post : http://www.jboss.com/inde

[jboss-user] [JBoss Portal] - CMS window title behavior

2008-10-24 Thread luck.meon
Hi, I have a portal with three CMS portlets into the first page. When users minimize a CMS portlet the window title reverts to default (CMS) instead of the title provided by the html page previous displayed. I added the display-name property to the *-object.xml file but it seams to be ignored :

[jboss-user] [JBossWS] - Re: NPE deploying web services in service archive in CR1 rel

2008-10-24 Thread [EMAIL PROTECTED]
We know about all these problems adinn. It should be fixed with next JBossWS release. You can register for events here: JBWS-2332 and see the progress on this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184417#4184417 Reply to the post : http://www

[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-10-24 Thread bcn
Thank you both for the answers. So stateful beans should work, okay, great. I understand that the field with the EJB annotation unfortunately has to be static. That could make it harder to use the same code in an app client and in an J2EE server. Okay, maybe you can use always static fields. W

[jboss-user] [JBossWS] - Re: NPE deploying web services in service archive in CR1 rel

2008-10-24 Thread adinn
I managed to debug this a little further and have identified why the startup code is hanging -- it is because of something my code is doing (I'll come to that in a second). I still don't know why the WebService port is being looked up before it is defined so there is still an issue there. The h

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread kukeltje
"woo37830" wrote : It is a tool to deploy processes and learn how to use them isn't it? | Yes "woo37830" wrote : | Yes, it is NOT an end user application, but that doesn't answer the question. | Correct "woo37830" wrote : | The question was ( I repeat it since it obviously wasn't re

[jboss-user] [JBoss Portal] - injecting header content at portal level

2008-10-24 Thread je.a.le
hi, it's more a question than a real problem :-) I'm wondering if it's possible to inject header - javascript - for a portal (or page) instance in the same way as portlet, ei, add a tag into an xml descriptor ? I tried to add a to my portal-object.xml descriptor, deployment doesn't comp

[jboss-user] [JBoss jBPM] - Re: Job Executor and Spring

2008-10-24 Thread kukeltje
Leo, I know the usecase is quite common, but that does not mean it makes sense in all cases (to me) My initial question was real and serious. But if I talk to people who use spring this way, I always get the answer about the config files and a statement like 'that is the way we do it' (often th

[jboss-user] [JBoss Portal] - Problems with Identity portlet and user portlet

2008-10-24 Thread alessio.papi
Hi, I have a problem with identity portlet and user portlet, when users add a new properties to their profile and confirm changes both portlets throw an exception : | javax.servlet.ServletException: java.sql.BatchUpdateException: ORA-1: unique constraint (JBOSSPORTAL.SYS_C0093012) viola

[jboss-user] [Remoting] - Re: Deadlock in BlockingCallbackStore

2008-10-24 Thread JeremyStone
Sorry, Ron, I tried but I don't seem to have bug sumit permissions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184399#4184399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184399 ___

[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-10-24 Thread Wolfgang Knauf
In addition: spec chapter 9.4 says this: anonymous wrote : Injection is also supported for the application client main class. Because the application client container does not create instances of the application client main class, but merely loads the class and invokes the static main method, i

[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-10-24 Thread jaikiran
"bcn" wrote : | 1. Can you really use the EJB annotation only in the main class (and only for static fields)? | That's what the spec says. "bcn" wrote : | In real-world application that would make it almost useless. | | Why do you think so? >From what i understand, they do have

[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

2008-10-24 Thread bcn
Hello, two more questions: 1. Can you really use the EJB annotation only in the main class (and only for static fields)? In real-world application that would make it almost useless. 2. Can you use in the same way a stateful session bean? E. g. to handle the client authentication and session. T

[jboss-user] [JBoss jBPM] - Re: Different processes should be able to use different styl

2008-10-24 Thread jbarrez
woo37830, Reacting like that will get you only no answers. I will give you my opinion nontheless: What you want is conceptually wrong: a process should not have to know anything about how it will be shown in the front-end. It is as if you would store stylesheet urls in your Hibernate domain mod

[jboss-user] [JBoss Cache: Core Edition] - Re: Found Bug with Hibernate, TreeCache and Cacheloader, if

2008-10-24 Thread HolgiBln
Why not? Can you explain? Thanks! Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184370#4184370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184370 ___ jboss-user m

[jboss-user] [Beginners Corner] - Re: Web Console did not start

2008-10-24 Thread jaikiran
How about the recently released Embedded Jopr http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184364#4184364 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184365#4184365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod