[jboss-user] [Beginner's Corner] - ERROR: invalid console appender config detected, console str

2009-09-17 Thread shilpasrinivas


I have deployed my web application in jboss 4.2.2 and when i start the server i 
m getting the error ERROR: invalid console appender config detected, console 
stream is looping

Please can any one let me know what is the problem?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255646#4255646

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: ERROR: invalid console appender config detected, console

2009-09-17 Thread shilpasrinivas
log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; 
xmlns=http://jakarta.apache.org/log4j/;

   !-- Chainsaw is a graphical appender--






!-- This is the Orbeon Forms Studio monitor --








!-- Logging to a single file, typically used in development when you don't 
want
 to be dealing with multiple files generated by the RollingFileAppender.
 See: 
http://logging.apache.org/log4j/docs/api/org/apache/log4j/FileAppender.html --








!-- Logging to a rolling files. Every time the file exceeds a certain 
size, a backup
 is created and the file used for logging is truncated.
 See: 
http://logging.apache.org/log4j/docs/api/org/apache/log4j/RollingFileAppender.html
 --



 






!
!
!

!
!
!

!
!
!

!-- To enable logging for any of the sub-systems below, copy that section 
outside of the
 comment block. The XFormsServer is the one you are most likely to be 
interested in. --
!--























--

!-- Prevent extra display of eXist paging activity --













  
  appender-ref ref=RollingFileAppender/appender-ref
   

!-- You decide here which one of the loggers listed above you want to use. 
--

!--appender-ref ref=ConsoleAppender/--
!--appender-ref ref=ChainsawAppender/--
!--appender-ref ref=SingleFileAppender/--
appender-ref ref=RollingFileAppender/
!--appender-ref ref=OPSMonitor/--


/log4j:configuration


This is my log4j contents.
Please help me if any one has idea regarding this error.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255648#4255648

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: ERROR: invalid console appender config detected, console

2009-09-17 Thread shilpasrinivas
log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; 
xmlns=http://jakarta.apache.org/log4j/;

   !-- Chainsaw is a graphical appender--






!-- This is the Orbeon Forms Studio monitor --








!-- Logging to a single file, typically used in development when you don't 
want
 to be dealing with multiple files generated by the RollingFileAppender.
 See: 
http://logging.apache.org/log4j/docs/api/org/apache/log4j/FileAppender.html --








   !-- Logging to a rolling files. Every time the file exceeds a certain size, 
a backup
 is created and the file used for logging is truncated.
 See: 
http://logging.apache.org/log4j/docs/api/org/apache/log4j/RollingFileAppender.html
 --



 





   












  
  appender-ref ref=RollingFileAppender/appender-ref
   

!-- You decide here which one of the loggers listed above you want to use. 
--

!--appender-ref ref=ConsoleAppender/--
!--appender-ref ref=ChainsawAppender/--
!--appender-ref ref=SingleFileAppender/--
appender-ref ref=RollingFileAppender/
!--appender-ref ref=OPSMonitor/--


/log4j:configuration




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255649#4255649

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: ERROR: invalid console appender config detected, console

2009-09-17 Thread jaikiran
Let's continue the discussion in your other thread 
http://www.jboss.org/index.html?module=bbop=viewtopict=161257

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255650#4255650

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: ERROR: invalid console appender config detected, console

2009-09-17 Thread jaikiran
While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255651#4255651

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss 5 and ClassLoader problem

2009-09-17 Thread jaikiran
theice wrote : hi, jaikiran, what's the better way?
  | 

Depends on why you need the path of the resource. If you just need the 
resource, you could do something like:

this.getClass().getClassLoader().getResource(...);

Let us know some more details about what you are trying to do. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255652#4255652

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Using Jboss Portal with Spring Portal MVC Spring Applicati

2009-09-17 Thread schamarthi
Hi,

I am using Jboss Portal with Spring Portlet MVC and application specific spring 
security at portlet level.

I have posted my problem in Spring forum but I haven't received any reply so 
far. I thought I would post it here if any one using Jboss Portal with Spring 
can point me in right direction.

Here is the post in Spring Forums

http://forum.springsource.org/showthread.php?t=77780

Appreciate your help in advance.

thx  rgds,
Srinivas 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255653#4255653

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Error trying to start Jboss with Proxy settings

2009-09-17 Thread petejboss
Hi, 

I have currently inherited a jboss installation and am trying to setup a 
development environment which unlike the production environment sits behind a 
proxy. Because of the proxy a call to an external web-service fails with a 
java.net.ConnectException: Connection refused: connect.

When I try to pass the proxy settings in as jvm args the server fails to start 
and falls over with the error bellow. 

Jboss version is [Trinity] 4.2.3.GA running on windows xp

Java opts are passed in run.bat as follows -Dhttp.proxySet=true 
-Dhttp.proxyHost=my.proxy.ip -Dhttp.proxyPort=80 
-Dhttp.proxyUserName=myUsername -Dhttp.proxyPassword=myPassword


2009-09-17 14:31:28,721 ERROR [org.apache.struts.tiles.TilesPlugin] Can't 
create Tiles definition factory for module ''.
2009-09-17 14:31:28,721 ERROR [org.apache.struts.action.ActionServlet] Unable 
to initialize Struts ActionServlet due to an unexpected exception or error 
thrown, so marking the servlet as unavailable.  Most likely, this is due to an 
incorrect or missing library dependency.
javax.servlet.ServletException: 
org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing 
file '/WEB-INF/tiles-defs.xml'. Server returned HTTP response code: 407 for 
URL: http://jakarta.apache.org/struts/dtds/tiles-config_1_3.dtd
at 
org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:237)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:141)
at 
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:871)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:359)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


Any help much appreciated

Pete

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255654#4255654

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: using c3p0 as DefaultDS, can`t force ejb-deployer [EJBTi

2009-09-17 Thread jaikiran
anonymous wrote : This worked, but EJBTimerSerivce try look up DataSource with 
null: 

Do you need the EJB2.x timer service? If not, you can just remove it:

http://www.jboss.org/community/wiki/RemoveEJBTimer
http://www.jboss.org/community/wiki/JBoss4xSlimming

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255656#4255656

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: Runtime Exception when adding a queue in Snow Leopard?

2009-09-17 Thread ataylor
I'm not really sure what this has to do with JBoss Messaging?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255660#4255660

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255660
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat

2009-09-17 Thread jbarrez
That's indeed very strange. Do you happen to know which xml libs you needed to 
remove?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255661#4255661

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: NullPointerException using identityService

2009-09-17 Thread jbarrez
Which is logical, since not every one is using the identityService (so the 
default import does not include it)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255662#4255662

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255662
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat Integration] - Re: JSP pre compilation vs. JBoss 5

2009-09-17 Thread pkx
Thanks for your reply.
I could solve the problem when I use the Jsp compiler embedded in the 
jbossweb.jar instead of using the jasper.jar used by the  
jsp-compiler-tomcat.jar. Below you can find a snippet of pom.xml, to compile 
the JSPs successfully with the jspc-maven-plugin:



  | plugin
  | groupIdorg.codehaus.mojo.jspc/groupId
  | artifactIdjspc-maven-plugin/artifactId
  | version2.0-alpha-3/version
  |executions
  | execution
  |idjsp-compile/id
  |   goals   goalcompile/goal/goals
  |   /execution
  |/executions
  |   configuration
  | !-- jspc configuration --
  | 
  |   /configuration
  |dependencies
  |   dependency
  |   groupIdorg.codehaus.mojo.jspc/groupId
  |   artifactIdjspc-compiler-tomcat6/artifactId
  |  version2.0-alpha-3/version
  |  scoperuntime/scope
  |  !--  exclude tomcat6 jsp compiler--
  |  exclusions
  | exclusion
  | groupIdorg.apache.tomcat/groupId
  | artifactIdjasper/artifactId
  | /exclusion
  | exclusion
  |  groupIdorg.apache.tomcat/groupId
  |artifactIdjasper-jdt/artifactId
  | /exclusion
  | /exclusions
  |  /dependency
  | !--  Add jboss jsp compiler dependencies--
  | dependency
  | groupIdjboss.web/groupId
  | artifactIdjbossweb/artifactId
  | version2.1.4.GA/version
  | scopeprovided/scope
  |/dependency
  |dependency
  | groupIdorg.jboss.logging/groupId
  | artifactIdjboss-logging-spi/artifactId
  | version2.1.0.GA/version
  | scopeprovided/scope
  | /dependency   

  | dependency
  | groupIdjavax.servlet/groupId
  |artifactIdservlet-api/artifactId
  |version2.5/version
  |scopeprovided/scope
  | /dependency   
  | dependency
  | groupIdjavax.servlet.jsp/groupId
  |   artifactIdjsp-api/artifactId
  |version2.1/version
  |   scopeprovided/scope
  | /dependency
  |/dependencies
  | /plugin

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255663#4255663

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Transition Timers Not Marking a Task as Complete

2009-09-17 Thread jbarrez
There is currently a Jira issue made for this feature (and planned for 4.3)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255664#4255664

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to create png from a jpdl

2009-09-17 Thread kukeltje
The GPD does that 'automatically'. So no way to  do that outside of eclipse

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255665#4255665

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-17 Thread rmswalsh1
What I mean is that I dont need BPEL, PageFlow, GPD, Identity, Task Management 
 Enterprise.

Bear in mind at this point I have little/no experience with jBPM, so I am just 
looking for advise. 

Another team have worked with jBPM PVM in order to develop a workflow. They 
created there own API for PVM via XML, however, I am essentially hoping that I 
can use jPDL as the language to communiate with PVM instead. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255666#4255666

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255666
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Same token seems to be attached to two task instances?

2009-09-17 Thread jbarrez
Which once again proves that no matter how you design applications, end-users 
will always find something to break ;-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255667#4255667

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat

2009-09-17 Thread kukeltje
Maybe also (indirectly) jdk related?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255668#4255668

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255668
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: command service

2009-09-17 Thread jbarrez
The SprinfConfiguration class is an implementation of the ProcessEngine, so you 
shouldn't need to define the processEngine again.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255671#4255671

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: view diagram of process in jbpm-console

2009-09-17 Thread kukeltje
The examples do not contain images, so the message is correct. If you open the 
jpdl files from the examples in the GPD, save them (which creates the images), 
redeploy them with the ant task then it works.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255673#4255673

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: NullPointerException using identityService

2009-09-17 Thread kukeltje
Might be something for a section in the userguide

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255674#4255674

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Transition Timers Not Marking a Task as Complete

2009-09-17 Thread kukeltje
hmm... I almost pointed to a 'lecture' document again, which in this case 
states to search the jira, forum, etc... but I won't since I'm in a good mood 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255676#4255676

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-17 Thread kukeltje
Well, everything you mention is a module in the jBPM source, some even separate 
projects (BPEL, PageFlow, GPD) so you can easily just use what you need.

The download (I assume the downloading is not the problem is it?) does contain 
everything, but just use the jar files/config files you need. 

jPDL is not a language to communicate with the PVM, it is a language 
implemented on top of the PVM.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255678#4255678

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-17 Thread jbarrez
mmm it seems that the SQL queries that are used are no 'sybase-compatible', 
which could be true since we don't have Sybase in our QA setup (yet). So I'm 
afraid it's a specific Sybase/driver issue here ...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255679#4255679

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-17 Thread rmswalsh1
Thanks for this. I guess there is no substitute for getting my hands dirty on 
this one. 

I was hoping to download jPDL and PVM seperatly and just use them. However, 
what you say makes sense. 

Can you point me towards some good samples on how to get started easiliy with 
jPDL (using GPD as the designer) and PVM?

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255680#4255680

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: startProcessInstanceByKey causing a

2009-09-17 Thread jbarrez
Exactly, without a good explanation is is hard for us to guess what is going 
wrong. There are so many use cases of jBPM out there, multiply this with a 
gazillion ways how people actually implement them and then you understand it is 
hard to guess what actually is going on. That is why we are asking for detailed 
information (db, environment, etc).

I do have a hunch the issue is related to 
https://jira.jboss.org/jira/browse/JBPM-2510. Tom is currently working on a new 
key generator (https://jira.jboss.org/jira/browse/JBPM-2526) which will fix 
this issue (planned for 4.2).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255682#4255682

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255682
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-17 Thread kukeltje
if you just want to use jPDL, the PVM is not needed, kind of like it is not 
needed to know how a combustion engine works to be able to drive a car.

Regarding your question, http://www.google.com/search?q=jbpm+4+getting+started

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255686#4255686

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-17 Thread kukeltje
Sorry, I meant the PVM docs are not needed ;-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255687#4255687

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255687
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Data too long for column 'EXCEPTION_'

2009-09-17 Thread massimo.zanette
Hello,
I'm executing a very simple simple process in jbpm3.2.5.  When an action throws 
an Exception jbpm reports this problem:

09:09:35,868 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: 22001
09:09:35,868 ERROR [JDBCExceptionReporter] Data truncation: Data too long for 
column 'EXCEPTION_' at row 1

As a workaround i have increased the size of the column EXCEPTION_  
in the tables jbpm_job and jbpm_log .
It works but i don't like to modify jbpm tables. 
Does someone have experienced the same issue and solved it in a more robust way?
Thank you 





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255688#4255688

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-17 Thread HelloW
I think you right. Just spoke with the DBA who turned Auditing on. He pulled 
some of the queries which are being executed and they seem to have syntax 
issues with Sybase.

Thanks for help dudes

Now I just need to convince them to let me use mySQL or something which 
actually is working :D

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255689#4255689

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-17 Thread rmswalsh1
Thanks. The google email search, well thats something anyone could have come up 
with ;-). 

I was looking for specfic JBoss resources that may be very useful be difficult 
for a jBPM novice to find. 

But not to worry - I will dig around. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255698#4255698

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255698
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Data too long for column 'EXCEPTION_'

2009-09-17 Thread kukeltje
If you search the jira, you see several mentiones of this. 

There are basically two robust ways to fix it:
- Change the colum type (to what depends on your dbms)
- Change the jBPM code to truncate the error in an intelligent way 

The former is the most simple one.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255699#4255699

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-17 Thread kukeltje
Or change the queries in the source so we can have a look to and maybe fix it 
on our side ;-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255700#4255700

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jPDL PVM

2009-09-17 Thread kukeltje
Sorry, no, really getting started docs for jBPM have up to now always been 
written by community people. 

But... the jBPM userguide should always kept open on the side :-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255703#4255703

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Error trying to start Jboss with Proxy settings

2009-09-17 Thread Wolfgang Knauf
Hi Pete,

I think -Dhttp.proxyUserName=myUsername -Dhttp.proxyPassword=myPassword are 
actually no official core Java properties and thus unsupported.
For a list:
http://java.sun.com/javase/7/docs/api/java/net/doc-files/net-properties.html

You might ask this in the Tiles forums.

There is a config file server\default\conf\jax-ws-catalog.xml, which contains 
a catalog for resolving DTDs/schemas. You could add tiles-config_1_3.dtd  to 
this one and point to some local directory (a production server should NOT 
perform internet lookups anyway). But I don't know whether this will work ;-).

Best regards

Wolfgang


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255707#4255707

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread timfox
That is not correct.

It is an *anti pattern* to create a new session/consumer/producer each time you 
say, send a message.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255710#4255710

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255710
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Error from Fork element with transitions to FreeMarker f

2009-09-17 Thread pektop
jbarrez wrote : Oleg could you provide me the complete process?
  | 
Sure, here it is. 
?xml version=1.0 encoding=UTF-8?
  | 
  | process name=VacationRequest_bug xmlns=http://jbpm.org/4.0/jpdl;
  |   start form=org/jbpm/examples/taskform_bug/request_vacation.ftl 
g=170,16,48,48 name=start
  |   transition to=fork1/
  |   /start
  |   task candidate-users=mike,peter 
form=org/jbpm/examples/taskform_bug/verify_request.ftl g=16,176,178,52 
name=verify_request
  |   transition name=accept to=join1 g=-52,-19/
  |   /task
  |   end g=170,340,48,48 name=vacation_accepted/
  |task  candidate-users=mike,peter 
form=org/jbpm/examples/taskform_bug/verify_request2.ftl 
name=verify_request2 g=226,176,114,52
  |   transition name=accept to=join1 g=-52,-19/
  |/task
  |fork name=fork1 g=170,96,48,48
  |   transition to=verify_request/
  |   transition to=verify_request2/
  |/fork
  |join name=join1 g=170,260,48,48
  |   transition to=vacation_accepted/
  |/join
  | /process
Hope this will help in investigation.

BR 
Oleg Ladizhensky

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255711#4255711

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255711
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread timfox
I'm going to wite a wiki page on this. This question must have come up about 
10 times and I'm getting tired of answering it ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255717#4255717

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Using Jboss Portal with Spring Portal MVC Spring Appli

2009-09-17 Thread ozguy
Another way you do this is by using Jboss Login modules.

You can plugin you custom Login Module which does authentication and Jboss 
handles the rest.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255719#4255719

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255719
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: How to make one war file depend on other war file.

2009-09-17 Thread ozguy
Jboss 4.2.2 has jmx also, so you can register a service name when war1 is 
deployed and only deploy war2  if the service registered by war1 is available.

this is done using depends config

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255723#4255723

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Data too long for column 'EXCEPTION_'

2009-09-17 Thread massimo.zanette
Thank you Ronald

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255724#4255724

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: ERROR: invalid console appender config detected, console

2009-09-17 Thread shilpasrinivas
log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; 
xmlns=http://jakarta.apache.org/log4j/;
  | 
  |!-- Chainsaw is a graphical appender--
  | appender name=ChainsawAppender 
class=org.apache.log4j.net.SocketAppender
  | param name=RemoteHost value=localhost/
  | param name=Port value=4445/
  | param name=LocationInfo value=true/
  | /appender
  | 
  | !-- This is the Orbeon Forms Studio monitor --
  | appender name=OPSMonitor 
class=org.apache.log4j.net.SocketHubAppender
  | param name=Port value=4446/
  | param name=LocationInfo value=true/
  | filter class=org.apache.log4j.varia.LevelRangeFilter
  | param name=LevelMin value=debug /
  | /filter
  | /appender
  | 
  | !-- Logging to a single file, typically used in development when you 
don't want
  |  to be dealing with multiple files generated by the 
RollingFileAppender.
  |  See: 
http://logging.apache.org/log4j/docs/api/org/apache/log4j/FileAppender.html --
  | appender name=SingleFileAppender 
class=org.apache.log4j.FileAppender
  | param name=File value=../logs/orbeon.log/
  | param name=Append value=false /
  | layout class=org.apache.log4j.PatternLayout
  | param name=ConversionPattern value=%d{ISO8601} %-5p %c{1} 
%x - %m%n/
  | /layout
  | /appender
  | 
  | !-- Logging to a rolling files. Every time the file exceeds a certain 
size, a backup
  |  is created and the file used for logging is truncated.
  |  See: 
http://logging.apache.org/log4j/docs/api/org/apache/log4j/RollingFileAppender.html
 --
  | appender name=RollingFileAppender 
class=org.apache.log4j.RollingFileAppender
  | param name=File value=../logs/orbeon.log/
  | param name=MaxFileSize value=5MB/
  | param name=MaxBackupIndex value=5/ 
  | param name=Append value=false /
  | layout class=org.apache.log4j.PatternLayout
  | param name=ConversionPattern value=%d{ISO8601} %-5p %c{1} 
%x - %m%n/
  | /layout
  | /appender
  | category name=org.exist.storage.btree.Paged
  | priority value=warn/
  | /category
  | 
  | category name=org.exist.storage.DBBroker
  | priority value=warn/
  | /category
  | 
  | category name=org.exist.storage.BrokerPool
  | priority value=warn/
  | /category
  | 
  | category name=com.app1
  |   priority value=info/
  |   appender-ref ref=RollingFileAppender/appender-ref
  |/category
  | 
  | !-- You decide here which one of the loggers listed above you want to 
use. --
  | root
  | !--appender-ref ref=ConsoleAppender/--
  | !--appender-ref ref=ChainsawAppender/--
  | !--appender-ref ref=SingleFileAppender/--
  | appender-ref ref=RollingFileAppender/
  | !--appender-ref ref=OPSMonitor/--
  | /root
  | 
  | /log4j:configuration
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255725#4255725

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: command service

2009-09-17 Thread sravyts
How do you call the buildProcessEngine method if you remove the line

  | bean id=processEngine factory-bean=jbpmConfiguration 
factory-method=buildProcessEngine /
  | 
?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255730#4255730

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread gaohoward
That's great. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255731#4255731

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255731
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Unauthenticated caller null N sqlException

2009-09-17 Thread ravirachannavar
Hi Peter

When I am trying te deploy the EAR in JBoss It is failing because of the below 
exception.The ear has jar and war. after deploying the jar,war deployment fails 
because of the below exception 

But with the same web.xml and struts-config.xml we are able to deploy the ear 
in Weblogic and Websphere where we only get a exception but the server startsup 

17:54:57,689 ERROR [[/V4BETA1]] Exception sending context initialized event to 
listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener 
java.lang.ClassCastException: org.apache.crimson.jaxp.SAXParserFactoryImpl 
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107) 
at 
com.sun.faces.config.ConfigureListener$WebXmlProcessor.getConfiguredFactory(ConfigureListener.java:698)
 
at 
com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:670)
 
at 
com.sun.faces.config.ConfigureListener$WebXmlProcessor.(ConfigureListener.java:644)
 
at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:156)
 
at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60)
 
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
 
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) 




leading to... 

17:55:00,314 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.web.deployment:war=/V4BETA1 state=Create mode=Manual 
requiredState=Installed 
org.jboss.deployers.spi.DeploymentException: URL 
file:/C:/jboss-5.1.0.GA/server/default/tmp/4sk6b8-xi87hr-fzgqmqsb-1-fzgrou4c-9u/MCAppWAR.war/
 deployment failed 
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331)
 
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
 
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
 
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) 
at org.jboss.web.deployers.WebModule.start(WebModule.java:97) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
at java.lang.reflect.Method.invoke(Method.java:585) 
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) 
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) 
at $Proxy38.start(Unknown Source) 




7:56:31,879 INFO [ProxyFactory] Unbind EJB Home 'PTR' from jndi 'PTR' 
17:56:31,926 INFO [EjbModule] Undeployed PTR 
17:58:06,210 ERROR [AbstractKernelController] Error installing to Real: 
name=vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/MCApplication.ear/ 
state=PreReal mode=Manual requiredState=Real 
org.jboss.deployers.spi.DeploymentException: URL 
file:/C:/jboss-5.1.0.GA/server/default/tmp/4sk6b8-xi87hr-fzgqmqsb-1-fzgrou4c-9u/MCAppWAR.war/
 deployment failed 
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331)
 
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
 
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
 
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) 
at org.jboss.web.deployers.WebModule.start(WebModule.java:97) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
at java.lang.reflect.Method.invoke(Method.java:585) 
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) 
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) 
at $Proxy38.start(Unknown Source) 
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
 
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
 
at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
 

[jboss-user] [Performance Tuning] - JBoss High CPU Load

2009-09-17 Thread KaushalPanjwani
Hello Everybody,

More often now we are facing a high CPU usage for our jboss4.0.5 application.
On analyzing the ThreadDump and ThreadCpuUtilization I see that maximum CPU is 
consumed by JMS SessionPool Worker Threads and they are all in Timed_WAITING 
state.


  | Thread: JMS SessionPool Worker-21 : priority:5, demon:true, threadId:780, 
threadState:TIMED_WAITING, 
threadLockName:edu.oswego.cs.dl.util.concurrent.linkedn...@d93b98
  | java.lang.Object.wait(Native Method)
  | 
  | 
EDU.oswego.cs.dl.util.concurrent.SynchronousChannel.poll(SynchronousChannel.java:353)
  | 
  | 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask(PooledExecutor.java:723)
  | 
  | 
org.jboss.jms.asf.StdServerSessionPool$MyPooledExecutor.getTask(StdServerSessionPool.java:376)
  | 
  | 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:747)
  | 
  | java.lang.Thread.run(Thread.java:619)
  | 
  | 


If we consider the number of threads the majority is working on storing 
Hibernate's second level cahed objects.


  | Thread: Store com.xyz.persistence.company.CompanyContactXref Spool Thread : 
priority:2, demon:true, threadId:54, threadState:TIMED_WAITING, 
threadLockName:null
  | java.lang.Thread.sleep(Native Method)
  | 
  | net.sf.ehcache.store.DiskStore.spoolThreadMain(DiskStore.java:556)
  | 
  | net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:59)
  | 
  | net.sf.ehcache.store.DiskStore$SpoolThread.run(DiskStore.java:990)
  | 
  | 

Please let me know how do I move forward, we use JBoss MQ for messaging. I can 
post the complete ThreadDumps, but I did not see an option to attach files.

Thanks in advance!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255736#4255736

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255736
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Fork branch runs through Join node

2009-09-17 Thread michaelholtzman
OK, I searched through JIRA.

I found two fixes that seem related to other problems we are having, but 
nothing that directly addresses this problem with the join node.

In 3.2/3.3 a token entering a join locks its parent node. There's a lot of 
discussion about this and it seems relevant, but in 3.1 there is no equivalent 
locking mechanism. 

If anyone can supply some details about this, please chime in. I suspect this 
may also be causing StaleObjectStateException / cannot sync session errors we 
are seeing.

Thanx.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255737#4255737

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread bdamato
Is there connection pooling built in, or is it something I'd have to create 
myself? I'm looking forward to the wiki.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255738#4255738

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: Runtime Exception when adding a queue in Snow Leopard?

2009-09-17 Thread steffi2
Well the error appears when I'm trying to use Jboss messaging ie. create a 
queue in the console. The console doesn't let me create the queue.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255739#4255739

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255739
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Running JBoss with other servers online

2009-09-17 Thread hoodi
Hey, 

first of all: I'm not good in these things, i am just about gathering the first 
experience using JBoss or web-applications in general. So please excuse the 
lack of info or knowledge i can provide.

I have installed an JBoss instance within the installation of JBPM, so the ANT 
script provided by jbpm set up the whole thing for me.

I was able to install it on my machine and when i browsed to localhost, the 
JBoss interface showed up. So that worked.

But now i am trying to run the server on a machine where other server or 
applications are already running.

I can execute the run.bat script and it starts successfully. (last line is: 
started in 

But when i browse to my localhost address, i dont see the jboss interface but 
an interface of another application/server. So how can i access jboss? Or how 
can i change the port where my JBoss launches on?

Thank you very much!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255744#4255744

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-17 Thread HelloW
kukeltje: hehehe, will see what i can do

On a related note I tried Oracle and mySQL now and I think I have found a 
pattern.

When you access the reporting screen it displays this on mySQL:

Caused by: java.sql.SQLException: Access denied for user 'sa'@'localhost' 
(using password: NO)
  | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
  | at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
  | at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)
  | at com.mysql.jdbc.Connection.createNewIO(Connection.java:2775)
  | at com.mysql.jdbc.Connection.init(Connection.java:1555)
  | at 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
  | at 
com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:425)
  | at 
com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:140)
  | at 
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource.getXAConnection(MysqlXADataSource.java:58
  | )

For Oracle:


  | Caused by: java.sql.SQLException: ORA-01017: invalid username/password; 
logon denied
  | 
  | at 
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
  | at 
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
  | at 
oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:799)
  | at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
  | at 
oracle.jdbc.driver.PhysicalConnection.init(PhysicalConnection.java:508)
  | at oracle.jdbc.driver.T4CConnection.init(T4CConnection.java:203)
  | at 
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
  | at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
  | at 
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:275)
  | at 
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:454
  | 
  | at 
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:159)
  | at 
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:130)
  | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XA
  | anagedConnectionFactory.java:137)
  | 

For Sybase:


  | Caused by: java.sql.SQLException: Login failed
  | at 
net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
  | at net.sourceforge.jtds.jdbc.TdsCore.tdsLoginAckToken(TdsCore.java:2956)
  | at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2264)
  | at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:603)
  | at 
net.sourceforge.jtds.jdbc.ConnectionJDBC2.init(ConnectionJDBC2.java:357)
  | at 
net.sourceforge.jtds.jdbc.ConnectionJDBC3.init(ConnectionJDBC3.java:50)
  | at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(Loca
  | lManagedConnectionFactory.java:172)
  | 

I think it's trying to use a user called sa with null password. If you add that 
to mySQL then the error disappears. Sybase and Oracle won't let me add users 
with no passwords (for good reason :P). 

I think this might be the actual problem...any clue where to force a different 
user? Or where it is setting this user.

I thought it was in jbpm.hibernate.cfg.xml but that doesn't seem to work :(

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255745#4255745

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: command service

2009-09-17 Thread jbarrez
@Sofie:

I'm sorry I hadnt read your code good, so you can neglect my previous command.

The problem here is that both the Configuration and ProcessEngine (Both 
interfaces) are mplemented by the SpringConfiguration class. That's why you get 
the exception.

I guess the easiest way to quickly fix this issue is to inject by name instead 
of by type.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255746#4255746

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: Runtime Exception when adding a queue in Snow Leopard?

2009-09-17 Thread ataylor
like i say, this has nothing to do with JBoss MessagIng, this is part of the 
app server, in particular the console i guess.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255749#4255749

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255749
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - EJBTimer Restart Issue : Dropped/Failed Timer Execution

2009-09-17 Thread kyle.bober
Running JBoss 5.1.0.GA

Here is the situation: I launch a series of EJBTimers that are scheduled to run 
in the future. I shut down JBoss and restart the server. Upon Jboss restart I 
notice a good portion of the EJBTimer(s) which were scheduled to execute fail 
on JBoss restart. This is what I see in the log:


  | 
  | 10:02:35,250 ERROR [TimerImpl] Error invoking ejbTimeout
  | org.jboss.aop.DispatcherConnectException: EJB container is not completely 
started, or is stopped.
  | at 
org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:6
  | 2)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterce
  | ptor.java:67)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:249)
  | at 
org.jboss.as.ejb3.timerservice.TimedObjectInvokerBridge.callTimeout(TimedObjectInvokerBridge.jav
  | a:44)
  | at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | 

It almost looks as if my EJBTimer bean hasn't fully loaded or something else 
related to the EJB Container at hand. The unfortunate thing about this is that 
a good portion of the EJBTimer(s) that were schedule to execute are never 
executed and are removed from the Timers Table. Yet some of the EJBTimer(s) are 
successfully kicked of and executed properly. Any ideas as to why or what could 
be causing this issue and how to rectify it???

Here is the EJBTimer code snippet:


  | @Stateless
  | @Remote
  | @RemoteBinding(jndiBinding=IProcessTimerService.PROCESS_TIMER_EJB_JNDI)
  | @TransactionManagement(TransactionManagementType.BEAN)
  | public class ProcessTimerService implements IProcessTimerService { ... }
  | 


Thanks again for your help!

FYI: Here are a couple other posts related to what seems to be a similar issue 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4212804#4212804

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255753#4255753

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: EJBTimer Restart Issue : Dropped/Failed Timer Execution

2009-09-17 Thread jaikiran
Looking at the stacktrace it appears that the timer is triggered even before 
the EJB container is probably completely started. Can you post the entire 
console logs (not server.log) - even the lines after this exception stacktrace.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255757#4255757

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot d

2009-09-17 Thread jaikiran
Sorry, i sort of ignored your last post about the new exception. But you did 
the right thing by opening a new thread to discuss it 
http://www.jboss.org/index.html?module=bbop=viewtopict=161403. Let's continue 
it there. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255761#4255761

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255761
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - HTTPRouter and Attachments

2009-09-17 Thread karnivas
We are using jboss-soa-p.4.3.0

We are trying to send an attachment with the request through SOAP UI to a ESB 
Service which has Apache HTTP Router.

SAXParseException - Content not allowed in prolog is been thrown.

Why the HTTPRouter is throwing this exception ? 
Is there a way to set the Content-Type as TEXT ?

Any thoughts might be helpful

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255762#4255762

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Can JBPM manages more than one datasource?

2009-09-17 Thread jbosspnet
Hi all,
I have installed JBPM 3.2.3 (with datasource hypersonic) on JBoss 4.2.3.GA.
My goal is to have only one instance of JBPM under JBoss to manage more than 
one client, each with a different database (every database contains
the JBPM_* tables and client specific tables).
Can I deploy process archive containing the file processdefinition.xml (and 
others like gpd.xml, etc.) and files like jbpm.cfg.xml and 
hibernate.cfg.xml referring to the client specific datasource (already deployed 
in JBOSS? or can I specify it in some other way, for example in the same 
archive)? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255764#4255764

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255764
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-17 Thread kukeltje
user sa is normally one for hsqldb so that leads me to think (again) that a 
different config file is used. Can you do a zgrep or something on all jbpm and 
console related jar's?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255774#4255774

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Can JBPM manages more than one datasource?

2009-09-17 Thread kukeltje
no, sorry.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255775#4255775

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: MessageSucker failure

2009-09-17 Thread chipschoch
Thanks for the tip.  Any clues on how to determine what a reasonable value for 
this is?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255776#4255776

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255776
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Source code for ShoppingCart and ShoppingCatalog portlet

2009-09-17 Thread PeterJ
I haven't used those portlets so I cannot comment on whether that is all the 
code you need or not.

You can place both portlets into a single project.

To configure a database for Portal see 
http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html/installation.html#d0e927

Accessing a database within a portlet is no different from accessing a database 
within any other app deployed to the app server. Specifically how you go about 
it depends on the data access technology (i.e., JPA, Hibernate, JDBC). However, 
I recommend that you do not use the same database used by the Portal, you 
should create a separate database and a separate *-ds.xml file to access it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255778#4255778

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI and Naming] - Re: remote JNDI lookup problem

2009-09-17 Thread PeterJ
See if this prior post helps:
http://www.jboss.org/index.html?module=bbop=viewtopict=93668

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255779#4255779

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255779
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: run.sh: Missing required file: /usr/local/jboss/system/s

2009-09-17 Thread PeterJ
Did the compile go through without errors? Also, what JDK are you using?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255780#4255780

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread PeterJ
anonymous wrote : I've looked around at many tutorials, but they all show the 
simplistic approach of creating a new connection and session each time. 

I know of one example that doesn't do this - it creates the connection, session 
and producer up front and uses that one producer to send an arbitrary number of 
messages. When it is done, it closes everything.

(I hope that is correct, otherwise I will fix it right away.)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255786#4255786

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255786
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread bdamato
I've tried something like that, and I'm not sure whether it's a bug or not, but 
it doesn't seem to work well when the source queue or source queue's jboss 
instance goes away and comes back (eg during a restart). We're working on a 
small test case to see if we can reproduce in a simple way.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255787#4255787

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255787
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Using Jboss Portal with Spring Portal MVC Spring Appli

2009-09-17 Thread apemberton
Agreed; I decided against using Spring Security in the Portal environment. Most 
of what Spring Security offers at least from an authentication/basic 
authorization (ie: not ACLs) perspective, JBoss Portal offers out of the box 
with appropriately used LoginModules, etc.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255788#4255788

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255788
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Running JBoss with other servers online

2009-09-17 Thread PeterJ
anonymous wrote : But when i browse to my localhost address,

You want to browse to the server, not to localhost. For example, if you ran 
JBoss AS on a system whose hostname is server1, then you would use the URL 
http://server1:8080. Also, make sure you use the -b option to start the app 
server. See https://www.jboss.org/community/wiki/JBoss42FAQ

Another possibility - just because you get the started in xxx seconds message 
does not mean that everything went OK. If there are port conflict then there 
will be many errors. To solve port conflicts see 
https://www.jboss.org/community/wiki/DebugBindException and
http://www.jboss.org/community/wiki/AS5ServiceBindingManager

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255790#4255790

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255790
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread timfox
I've written a wiki article on this subject, on the HornetQ wiki:

http://www.jboss.org/community/wiki/ShouldIcacheJMSconnectionsandJMSsessions

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255793#4255793

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI and Naming] - Re: remote JNDI lookup problem

2009-09-17 Thread bwarren
The IP address shown in the stuff that comes back matches the IP address I get 
when I ping the server.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255795#4255795

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255795
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: Runtime Exception when adding a queue in Snow Leopard?

2009-09-17 Thread steffi2
Yes that's fair enough although I originally wanted people who are using 
messaging to see my error because others who needed to create queues because 
they were using messaging may have seen this error.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255796#4255796

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255796
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: birt integration - reportContext.getHttpServletRequest i

2009-09-17 Thread gonzalad
Thanks snjeza !

I didn't had any time to work on this one today, and the fix I suggested breaks 
on first request (reportContext.getHttpServletRequest() is null on the first 
call to the servlet).

I don't understand...

I'll work more on this next week and I'll create JIRA when I have a better fix 
to submit.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255798#4255798

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255798
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: NotSerializableException: org.jboss.ws.core.soap.SOAPFau

2009-09-17 Thread andrei.harangus
Using JBoss 4.2.3GA, jbossws 3.0.1
Have the same issue basically.
Has this been fixed / is it considered fixable?

  | org.jboss.soa.esb.couriers.CourierMarshalUnmarshalException: Failed to 
serialize ESB Message.
  | at 
org.jboss.internal.soa.esb.couriers.JmsCourier.deliver(JmsCourier.java:203)
  | at 
org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.deliver(TwoWayCourierImpl.java:189)
  | at 
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.messageTo(ActionProcessingPipeline.java:860)
  | at 
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.faultTo(ActionProcessingPipeline.java:810)
  | at 
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:665)
  | at 
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:585)
  | at 
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:419)
  | at 
org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:548)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.io.IOException: Util.serialize caught XMLStreamException:
  | at org.jboss.soa.esb.util.Util.serialize(Util.java:197)
  | at 
org.jboss.internal.soa.esb.couriers.JmsCourier.deliver(JmsCourier.java:197)
  | ... 10 more
  | Caused by: javax.xml.stream.XMLStreamException: 
org.jboss.soa.esb.MarshalException: Failed to encode value
  | at 
org.jboss.internal.soa.esb.message.format.xml.marshal.MarshalUnmarshalManager.marshal(MarshalUnmarshalManager.java:149)
  | at 
org.jboss.internal.soa.esb.message.format.xml.BodyImpl.writeChildContent(BodyImpl.java:146)
  | at 
org.jboss.internal.soa.esb.util.stax.ElementContent.writeContent(ElementContent.java:41)
  | at 
org.jboss.internal.soa.esb.util.stax.StreamHelper.writeElement(StreamHelper.java:125)
  | at 
org.jboss.internal.soa.esb.message.format.xml.MessageImpl.writeChildContent(MessageImpl.java:230)
  | at 
org.jboss.internal.soa.esb.util.stax.ElementContent.writeContent(ElementContent.java:41)
  | at org.jboss.soa.esb.util.Util.serialize(Util.java:188)
  | ... 11 more
  | Caused by: org.jboss.soa.esb.MarshalException: Failed to encode value
  | at 
org.jboss.internal.soa.esb.message.format.xml.marshal.SerializedMarshalUnmarshalPlugin.marshal(SerializedMarshalUnmarshalPlugin.java:87)
  | at 
org.jboss.internal.soa.esb.message.format.xml.marshal.MarshalUnmarshalManager.marshal(MarshalUnmarshalManager.java:145)
  | ... 17 more
  | Caused by: java.io.NotSerializableException: 
org.jboss.ws.core.soap.SOAPFaultImpl
  | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
  | at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
  | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
  | at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
  | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
  | at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
  | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
  | at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
  | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
  | at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
  | at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
  | at java.lang.Throwable.writeObject(Throwable.java:648)
  | at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
  | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
  | at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
  | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
  | at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
  | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
  | at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
  | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
  | at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
  | at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
  | at java.lang.Throwable.writeObject(Throwable.java:648)
  | at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
  | at 

[jboss-user] [JNDI and Naming] - Re: remote JNDI lookup problem

2009-09-17 Thread PeterJ
I see something interesting in the netstat response - it seems that two apps 
have bound to port 1099, one via 0.0.0.0 and the other via the host's IP 
address. Try running netstat -apn and see what you get.

Oh, and could you post the telnet reply? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255815#4255815

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI and Naming] - Re: remote JNDI lookup problem

2009-09-17 Thread PeterJ
And the telnet request that got that reply.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255816#4255816

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255816
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - JBoss 3.2.0 native stack won't start

2009-09-17 Thread neillott
Hi,

If I take jboss 5.1.0.GA-jdk6 and the jboss 3.2.0 native stack it won't start.

I install the jboss 3.2.0 native stack by changing the ant.properties.example 
and pointing it to my jboss home directory.  In addition, I change the 
jboss.server.instance=all.

I start jboss using run.sh -c all

I get the following exception:

2009-09-17 12:24:02,597 INFO  [org.jboss.web.WebService] (main) Using RMI 
server codebase: http://127.0.0.1:8083/
2009-09-17 12:24:06,629 ERROR [STDERR] (main) [Deprecated] Xalan: 
org.apache.xml.serializer.XMLEntities
2009-09-17 12:24:08,309 WARN  
[org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) 
Unable to register deployment mbean WSKernelLocator
javax.management.InstanceAlreadyExistsException: 
jboss.deployment:id=WSKernelLocator,type=Component already registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:756)
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:233)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:1030)
at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:722)
at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:251)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:52)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at 
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at 
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at 

[jboss-user] [jBPM Users] - Re: view diagram of process in jbpm-console

2009-09-17 Thread wchinchio
kukeltje wrote : The examples do not contain images, so the message is 
correct. If you open the jpdl files from the examples in the GPD, save them 
(which creates the images), redeploy them with the ant task then it works.

Hi Ronald, I did that and now I can see the Diagram.
Thank's a lot.

Wladimir Chinchio

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255819#4255819

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255819
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JobExecutorThread exception

2009-09-17 Thread jbpm_user369
Hello,

thanks for your prompt reply.

anonymous wrote : And if you would have analysed the the logging a little 
(really, just a little) you would have seen
  | 
  | 250 [JbpmJobExecutor:141.29.39.58:1] ERROR org.jbpm.db.JobSession - 
org.hibernate.MappingException
  | : Named query not known: JobSe
  | ssion.getFirstAcquirableJob 

If you have noticed my first post you would have seen that I had shown that 
only portion of the stack trace. So I knew that the problem was there, but I 
did not know what to do about it.

BTW, thanks for your indications for posts

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255820#4255820

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JMS connection/session handling

2009-09-17 Thread theamazingtoby
Cheers. I'm working with Bob on this issue, and we've found something when 
keeping open connections, sessions, consumers in our receiver. Below is the 
code for our sender and our receiver. The receiver continues to check the JMS 
queue when the queue is stopped and started, and also when the JBoss server is 
shutdown and restarted. On a queue stop/start, the receiver continues to act as 
if it's actually trying to get messages. It does not error. When the queue 
comes back up, the receiver will receive any new messages that arrive after the 
restart. On a JBoss restart, the receiver does pretty much the same, with no 
notification of the loss of connectivity, and upon restart, the receiver does 
NOT receive any new messages that arrive after the JBoss restart. Any ideas on 
how we can make the receiver realize the server is down so it can handle 
reconnecting?


Sender code:

  | package com.valpak.renderingservice.indesign.unittests;
  | 
  | import java.util.Properties;
  | 
  | import javax.jms.DeliveryMode;
  | import javax.jms.JMSException;
  | import javax.jms.ObjectMessage;
  | import javax.jms.Queue;
  | import javax.jms.QueueConnection;
  | import javax.jms.QueueConnectionFactory;
  | import javax.jms.QueueReceiver;
  | import javax.jms.QueueSender;
  | import javax.jms.QueueSession;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | 
  | import org.apache.log4j.Logger;
  | 
  | public class JMSSender {
  | private static Logger log = Logger.getLogger(JMSReceiver.class);
  | private String jmsServer = jms queue server URL;
  | private String jmsQueue = queue name;
  | 
  | public static void main(String[] args) {
  | JMSSender jmss = new JMSSender();
  | try {
  | while (true) {
  | log.debug(Sending a message);
  | jmss.sendMessage();
  | Thread.sleep(1);
  | }
  | } catch (InterruptedException e) {
  | e.printStackTrace();
  | }
  | 
  | }
  | 
  | private void sendMessage() {
  | InitialContext ctx = null;
  | QueueConnection conn = null;
  | QueueConnectionFactory tcf = null;
  | Queue queue = null;
  | QueueSession session = null;
  | QueueSender sender = null;
  | QueueReceiver receiver = null;
  | Properties properties = new Properties();
  | int replyWaitMS = 3000;
  | ObjectMessage message = null;
  | 
  | try {
  | properties.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | properties.put(Context.URL_PKG_PREFIXES, 
org.jnp.interfaces);
  | properties.put(Context.PROVIDER_URL, jmsServer);
  | ctx = new InitialContext(properties);
  | tcf = (QueueConnectionFactory) 
ctx.lookup(ConnectionFactory);
  | conn = tcf.createQueueConnection();
  | queue = (Queue) ctx.lookup(jmsQueue);
  | conn.start();
  | session = conn.createQueueSession(false, 
QueueSession.AUTO_ACKNOWLEDGE);
  | sender = session.createSender(queue);
  | sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
  | String messageBody = You're an idiot!;
  | message = session.createObjectMessage(messageBody);
  | Queue tempQueue = session.createTemporaryQueue();
  | if (tempQueue != null) {
  | message.setJMSReplyTo(tempQueue);
  | sender.setTimeToLive(replyWaitMS * 20);
  | } else {
  | sender.setTimeToLive(60 * 60 * 1000); // 60 
minutes
  | }
  | sender.send(message);
  | 
  | if (tempQueue != null) {
  | receiver = session.createReceiver(tempQueue);
  | Object responseMessage = 
receiver.receive(replyWaitMS);
  | if (responseMessage != null) {
  | ObjectMessage response = 
(ObjectMessage) responseMessage;
  | Object responseObject = 
response.getObject();
  | if (responseObject instanceof String) {
  | log.debug(responseObject);
  | }
  | }
  | }
  | } catch (NamingException e) {
  | e.printStackTrace();
  | } catch (JMSException e) {
  | 

[jboss-user] [jBPM Users] - Re: problem with forks, nodes (abnormally) keep active.

2009-09-17 Thread jbarrez
Paul, couldn't the problem be related to the fact you have 3 forks, but only 2 
joins (ie not nested correctly)?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255826#4255826

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security] - Client Authentication

2009-09-17 Thread overma
Hello All,

This might be more appropriate for the beginner's section, but it is security 
related. Anyways, here's my situation.

I am working on a thick-client application that utilizes JBoss for JMS. I have 
an appropriate database login module setup for that in my login-config.xml that 
works beautifully. However, I would like to implement an authentication scheme 
at application start up instead of just at initializing the JMS. What I am 
trying to figure out is how to point my login logic on the client to the 
already configured authentication policy in login-config. 

I have briefly looked into a lot of the JAAS documentation, but a lot of that 
seems more appropriate to applications sitting on the server as apposed to 
separate clients. Anyways, any hints, links or suggestions would be appreciated.

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255835#4255835

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255835
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: continuos redeployment of seam with birt

2009-09-17 Thread rob.stry...@jboss.com
does this happen if you take your jar / project and deploy ti once from the 
command line via file system copy? is it just a tooling error or does it also 
happen always? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255837#4255837

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to create png from a jpdl

2009-09-17 Thread gfargone
What are you trying to do?

The process image is saved in the process archive and can be retrieved from the 
process definition object.
You can get the process definition object either through the embedded jpdl 
engine or through the command service interface.
But as the previous poster said it is generated in Eclipse and uploaded with 
the process archive.
Folks on this board have posted some jsp stuff to generate the image by 
iterating through the process graph.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255838#4255838

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - in tomcat, redeployment of webapp on class file changes?

2009-09-17 Thread deanhiller
How do I debug the following problem further?

I change a class file and wait a few seconds and my webapp redeploys.  I don't 
want it to.  I just want the hot swap which did happen through the debugger.  
How do I figure out why it is redeploying?  All I am seeing is...


  | Sep 17, 2009 8:35:40 PM org.apache.catalina.core.StandardContext reload
  | INFO: Reloading this Context has started
  | Sep 17, 2009 8:35:40 PM org.hibernate.impl.SessionFactoryImpl close
  | INFO: closing
  | 

I tried changing logging levels...


  | org.apache.level=FINER
  | org.apache.tomcat.util.digester.level=INFO #was spewing stuff
  | 

but the second thing kept spewing stuff because the logger must be named 
different then the class spitting out the logs.  I am not sure why every code 
change, my webapp is redeployed.  It is really really annoying.  Any ideas on 
how to debug this issue further?

thanks,
Dean

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255843#4255843

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255843
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: run.sh: Missing required file: /usr/local/jboss/system/s

2009-09-17 Thread hioctane
Hi,

Thank you guys for your help.  I tool jaikiran's advice and used the 
pre-compiled Jboss instead and it worked fine.   
Yes, compiling the source code for about 20 mins ended with a successful 
message and I'm using JDK 1.6.  
I pretty much gave up on compiling the source code at this point.


Thanks again

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255845#4255845

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: MessageSucker failure

2009-09-17 Thread gaohoward
About the value, I think it depends on your network's latency. 
Ask remoting team, they have the expertise.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4255847#4255847

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4255847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user