[jboss-user] [JBoss Cache: Core Edition] - Connection not re-established using JDBCCacheLoader

2008-11-07 Thread vinudhara
Hi,
we am using the JDBCCacheLoader for my cache.(Jboss cache version used 
is 1.4.1.SP8) CacheLoader Configuration for  my cache is as follows,

 

   
org.jboss.cache.loader.JDBCCacheLoader 

cache.jdbc.table.name=MyCache
cache.jdbc.table.create=false
cache.jdbc.table.drop=false
cache.jdbc.table.primarykey=jbosscache_pk
cache.jdbc.fqn.column=fqn
cache.jdbc.fqn.type=varchar(255)
cache.jdbc.node.column=node
cache.jdbc.node.type=blob
cache.jdbc.parent.column=parent
cache.jdbc.driver=oracle.jdbc.OracleDriver
cache.jdbc.url=jdbc:oracle:thin:@myhost:1521:SID
cache.jdbc.user=myusr
cache.jdbc.password=myusrpwd
cache.async.batchSize=1
cache.async.pollWait=100 
cache.async.returnOld=true 
cache.async.queueSize=100 
cache.async.put=true

 
 



It is working fine as long as Database is up and running continously. 
When database goes down in middle, i am getting "IllegalStateException: Failed 
to load node : Closed Exception" from JDBCCacheLoader. This is fine. But when 
the Database comes up again and running properly, still getting the same error 
from JDBCCacheLoader. 

org.jboss.cache.loader.JDBCCacheLoader --> Failed to load node for fqn 
/MyNode: Closed Connection
java.sql.SQLException: Closed Connection
at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:153)
at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:201)
at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:306)
at 
oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:1009)
at 
oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:915)
at 
org.jboss.cache.loader.JDBCCacheLoader.loadNode(JDBCCacheLoader.java:1121)
at 
org.jboss.cache.loader.JDBCCacheLoader.get(JDBCCacheLoader.java:269)
at 
org.jboss.cache.loader.AsyncCacheLoader.get(AsyncCacheLoader.java:171)
at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.loadData(CacheLoaderInterceptor.java:452)
at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.loadNode(CacheLoaderInterceptor.java:362)
at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:197)
at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at 
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:39)
at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365)
at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5917)
at org.jboss.cache.TreeCache.get(TreeCache.java:3550)

The connection is not re-established eventhough database became up. It 
is using the same connection which is closed already when the Database gone 
down.

Does anybody have idea? Is this problem fixed in any subsequent 
version?.

Thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187607#4187607

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Delivery Status Notification (Failure)

2008-11-07 Thread postmaster
This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

   [EMAIL PROTECTED]



Reporting-MTA: dns;MS-CRM.JSC.TPCHEL.RU
Received-From-MTA: dns;mail.tpchel.ru
Arrival-Date: Fri, 7 Nov 2008 11:17:46 +0300

Final-Recipient: rfc822;sale@localhost
Action: failed
Status: 5.1.1
--- Begin Message ---
ЭзжчЭ  Уникальный информационный отчет
Рибтр  о безопастности бизнеса
дКчуе   exCMhttp://businest.ru
ЖЬчрЭ   Заявки принимаем на сайте, звоните:  8-(495)-585-lО68


--- End Message ---
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Queue Monitoring

2008-11-07 Thread mihirkumar
Hi,

How to know the no of messages currently active in a queue?

Thanks
M.Kumar

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187619#4187619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Transaction Timeouts/Deadlocks using MSSQL (none using

2008-11-07 Thread jaikiran
"lpmon" wrote : 
  | How can I change logging to get more information.  
  | 

I had once enabled the Arjuna logs to log at TRACE level:

  | 
  |  
  |  
  |

I don't remember if there was any useful information in the logs after this 
change.
 
"lpmon" wrote : 
  | I think there are deadlocks.  
  | 
Then the best place to look for information would be the DB server 
administration tool.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187622#4187622

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss Server hangs before

2008-11-07 Thread pxstein
"pxstein
"production" configuration
[/quote wrote : 
  | 
  | As I just saw Eclipse is starting EAP with "default" configuration.
  | 
  | When I start EAP with
  | 
  | run.bat -c default
  | 
  | then everything is fine.
  | 
  | However the problem persists: Why is it NOT possible to start the 
"production" configuration?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187625#4187625

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187625
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss Server hangs before

2008-11-07 Thread pxstein
"PeterJ" wrote : Which configuration are you running (that is, what is the run 
command line you are using)? What changes have you made to the configuration? 
Is this the first time you brought up EAP?
  | 
  | Is the java process showing any CPU usage? In other words, does it look 
like it is looping or does it look like it is waiting on something?
  | 
  | What are the last dozen or so lines in the server.log?

"production" configuration

simply "run.bat" with no parameter

No configuration changes were made

It is the first time of starting EAP through run.bat. However I started 
successfully the server already dozend of times through Eclipse.

Approx 20 second after the last line output CPU usage is observable. Then it 
turns to zero.

Last lines in server.log see bottom.

However some hundreds line above the last server.log line the following 
exception can be seen:

2008-11-07 10:03:22,950 DEBUG [org.jboss.system.ServiceController] starting 
service jboss.messaging:service=PersistenceManager
2008-11-07 10:03:22,950 DEBUG 
[org.jboss.messaging.core.jmx.JDBCPersistenceManagerService] Starting 
jboss.messaging:service=PersistenceManager
2008-11-07 10:03:22,982 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] 
Failed to execute: CREATE TABLE JBM_DUAL (DUMMY INTEGER, PRIMARY KEY(DUMMY))
java.sql.SQLException: Table already exists: JBM_DUAL in statement [CREATE 
TABLE JBM_DUAL]
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at 
org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:237)
at 
org.jboss.messaging.core.impl.JDBCSupport.createSchema(JDBCSupport.java:301)
at org.jboss.messaging.core.impl.JDBCSupport.start(JDBCSupport.java:167)
.
..
approx 1000 lines


2008-11-07 10:03:31,825 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, 
start step: url 
file:/C:/jbdev1.1.0/jboss-eap/jboss-as/server/production/farm/cluster-examples-service.xml
2008-11-07 10:03:31,825 DEBUG [org.jboss.deployment.MainDeployer] End 
deployment start on package: cluster-examples-service.xml
2008-11-07 10:03:31,825 DEBUG [org.jboss.deployment.MainDeployer] Deployed 
package: 
file:/C:/jbdev1.1.0/jboss-eap/jboss-as/server/production/farm/cluster-examples-service.xml
2008-11-07 10:03:31,825 DEBUG 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified 
that enabled: true
2008-11-07 10:03:31,825 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: jboss:service=FarmMember,partition=DefaultPartition 
dependent components: []
2008-11-07 10:03:31,841 DEBUG [org.jboss.deployment.MainDeployer] End 
deployment start on package: farm-service.xml
2008-11-07 10:03:31,841 DEBUG [org.jboss.deployment.MainDeployer] End 
deployment start on package: deploy.last
2008-11-07 10:03:31,841 DEBUG [org.jboss.deployment.MainDeployer] Deployed 
package: 
file:/C:/jbdev1.1.0/jboss-eap/jboss-as/server/production/deploy/deploy.last/
2008-11-07 10:03:31,841 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: 
file:/C:/jbdev1.1.0/jboss-eap/jboss-as/server/production/deploy/deploy.last/ -> 
file:/C:/jbdev1.1.0/jboss-eap/jboss-as/server/production/deploy/deploy.last/
2008-11-07 10:03:31,841 DEBUG 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified 
that enabled: true
2008-11-07 10:03:31,841 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] Started 
jboss.deployment:type=DeploymentScanner,flavor=URL
2008-11-07 10:03:31,841 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: jboss.deployment:type=DeploymentScanner,flavor=URL 
dependent components: []
2008-11-07 10:03:31,872 DEBUG [org.jboss.deployment.MainDeployer] End 
deployment start on package: jboss-service.xml
2008-11-07 10:03:31,872 DEBUG [org.jboss.deployment.MainDeployer] Deployed 
package: 
file:/C:/jbdev1.1.0/jboss-eap/jboss-as/server/production/conf/jboss-service.xml
2008-11-07 10:03:31,935 INFO  [org.jboss.system.server.Server] JBoss (MX 
MicroKernel) [4.3.0.GA_CP01 (build: SVNTag=JBPAPP_4_3_0_GA_CP01 
date=200804211657)] Started in 33s:860ms




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187621#4187621

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187621
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Alfresco Portlet.

2008-11-07 Thread rammyramkumar
even i want the link to download the alfresco portlet. please do help me in 
this issue. I think i cant anywhere in the jboss forum in this regards as well 
as in alfresco forums.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187629#4187629

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPL OYMENT] - Doesn´t run (Windows 2000, JDK6)

2008-11-07 Thread majiy
Hello,

I am a complete newbie with JBoss.

I successfully installed the Application Server on a Linux System, but I fail 
to get it started under Windows 2000 (Service Pack 4).

I installed jboss-4.2.3.GA for JDK 6 (which is installed on the system).

JAVA_HOME and JBOSS_HOME are set correctly.

When I run the run.bat I do not get any message (no error, no "started in x 
seconds").

Connection to http://localhost:8080 fails. No other program does use this port.

It seems that even the server.log file (which was mentioned in the docs) is not 
created.

Does anyone have any idea what the problem might be, or can someone point me to 
a documentation, where I could find a solution? I´m a bit helpless right now, 
due to the lack of error messages...

Thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187659#4187659

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187659

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPL OYMENT] - Re: Doesn´t run (Windows 200 0, JDK6)

2008-11-07 Thread jaikiran
anonymous wrote : When I run the run.bat I do not get any message (no error, no 
"started in x seconds"). 

>From the command prompt, post the output of 

echo %JAVA_HOME%

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187663#4187663

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: need help on import tld file

2008-11-07 Thread akazakov
Our Import TLD Dialog shows the tree of jboss tools web projects (with jsf or 
struts nature). So if the project doesn't have jsf (or struts) nature then we 
don't gather TLDs from such projects. But it is possible to look for all tlds 
from all WTP projects. It's a feature request.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187670#4187670

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187670
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: advice needed, simultaneously active tasks where there i

2008-11-07 Thread salaboy21
Let's make it clear:

1) Signalling is when the task (s) are done the (last one, the first one, etc. 
Look for signal attribute in task-node) task that is ended signal the token to 
continue the execution. If you don't check this option (or put the attribute) 
when you end some task you need to manually signal the token to continue the 
execution. It's like a silence ended task if you don't put the task signalling

2) Blocking means that the task could not be signaled until the tasks inside 
the task-node  are (all, the first, etc. Look for the signal attribute in 
task-node) ended. So if you not set this attribute. Your user can manually 
signal the node and the process will continue though the taks are not ended yet.

I think that is clear enough.. 
Hope it helps.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187674#4187674

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Samples? Tutorials? There is a lack of readable docs!

2008-11-07 Thread eminil
"[EMAIL PROTECTED]" wrote : Have you taken a look at the project documentation? 
http://jbossws.jboss.org/mediawiki/index.php?title=JBossWS

Yes found no good examples or easy to follow tutorials.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187680#4187680

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Help! Timeout occuring.

2008-11-07 Thread DanielK
Anyone with a hint? I have the same problem with my own portlet. Exception is 
the same. But my configuration differs a little bit:

 - Sun JSF RI 1.2
 - Richfaces 3.2.2 GA
 - Facelets 1.1.4
 - JBoss Portal 2.6.5 GA
 - PortletBridge B4

Problem occoured by doing the following:
 - Logged in
 - go to MyPortlet page
 - click on a suggestionBox

All fine until now:
 - wait 20 Min. (session timeout configured to 15 Min.)
 - click after that time on suggestionBox again
 - FacesException occours

Nice2Know if this can be fixed or an workaround exists that can be hide this 
exception from a user (perhaps by a redirect to login page).

wbr,

DanielK

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187695#4187695

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Cache locking issue after one node of the cluster is res

2008-11-07 Thread [EMAIL PROTECTED]
Is this something you see consistently/reproducibly?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187709#4187709

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Doesnt run (Windows 2000, JDK6)

2008-11-07 Thread majiy
This seems to have been the problem.

I out-commented the following two lines:

"%JAVA%" -server -version 2>&1 | findstr /I hotspot > nul
  | if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)

and replaced them with the following line
set JAVA_OPTS=%JAVA_OPTS% -server

Now it works properly. Thanks a lot :)

But I´m still slightly confused how it doesn´t seem to find the 
"findstr.exe". It is placed inside the "WINNT\System32\" directory, which is 
included in the PATH environmental variable.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187710#4187710

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187710

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Is user visit entity Bean directly????

2008-11-07 Thread Wolfgang Knauf
What do you mean?

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187713#4187713

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187713
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Jboss 4.2.2 hangs when after deploying a WAR

2008-11-07 Thread [EMAIL PROTECTED]
Please file a jira issue for this, if possible with an application reproducing 
the issue, so that we can work on it.
Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187714#4187714

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-07 Thread lblaauw
Well,

Here is one usecase we are currently facing. We have lots and lots of timers 
spread around over many processinstances. The timers are pretty much only 
expring once every few months so are long outstanding timers.
We started of with EJB timers untill recently i discovered exactly this, that 
they are instantiating one thread per timer/job. In my specific scenario I am 
also currently investigating not using EJB timers as the jobScheduler because 
this causes way to much threads open in the application server and eventually 
performance will decrease dramatically dependant upon the resources of the 
machine...

Not really sure wich route we will take though...

As allways any ideas appreciated ;-)

Regards,
leo


"kukeltje" wrote : I miss your point...
  | 
  | They are different because in JEE we can use something that is already 
there and is proven. For the other envs the jobexecutor is there
  | 
  | Making a new JEE jobexecutor seems illogical to me

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187685#4187685

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Samples? Tutorials? There is a lack of readable docs!

2008-11-07 Thread [EMAIL PROTECTED]
Perhaps you didn't look carefully ;-)

"eminil" wrote : 1. From our wsdl files how do we exactly turn it into the java 
source files. Using wsdl2java yes, but need more info. What do we need to 
download to get it working on the computer we have installed JBoss on. What do 
we need to put in PATHS etc.

Contract-first (top-down) development:
- the JAXWS tools page: 
http://jbossws.jboss.org/mediawiki/index.php?title=JBossWS_JAX-WS_Tools
- in particular, the Wsconsume tool's page: 
http://jbossws.jboss.org/mediawiki/index.php?title=Wsconsume
The tool, which lives in your JBoss installation's bin directory, automatically 
pulls in all the required libraries, but if you want to know which libraries 
are required, you can see the classpath declared in its script.

anonymous wrote : 2. When we have the java files... What do we do now? How do 
we package it? Can we package it with the rest of our EJB files that we put on 
the jboss server as an .ear?
http://jbossws.jboss.org/mediawiki/index.php?title=JAX-WS_User_Guide#Web_Service_Endpoints

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187688#4187688

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: jax-ws soap protocol handler and white space.

2008-11-07 Thread mignaak
I'm using jboss 4.2.3 + jbossws native 3.0.4 ga.

My application in a client to a web service.
Everything worked fine with jboss 4.2.2 and jbossws 2.0.3

After jbossws went to 2.0.4 nothing worked anymore.

The remote server always responds with a java.io.exception:

It seems something is wrong with how jboss connects to the remote service. 
Notice that the soap message produced by jbossws works fine if run through 
soapui.

Thanks.

Caused by: org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker. Invalid HTTP server response [400] - POST/PUT Must Be 
Explicitly Terminated. Response: POST/PUT Must Be Explicitly Terminated/400.
at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)
at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137)
at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at 
org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:242)
... 131 more
Caused by: org.jboss.ws.WSException: Invalid HTTP server response [400] - 
POST/PUT Must Be Explicitly Terminated
at 
org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:75)
at 
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:518)
at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:307)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187716#4187716

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: How to pass whole ValueObjects as parameter to a webserv

2008-11-07 Thread [EMAIL PROTECTED]
"pxstein" wrote : Nearly all of the web service examples show on how to pass 
single input parameters as "string" or "int" to a web service.
  | 
  | But what if I want to pass a whole Java class ValueObject like e.g.
  | 
  | public class MyValueObj {
  | public String name;
  | public int value;
  | protected boolean result;  }
  | 
  | Is there somewhere an example (client and webservice implementation)
  | of passing such more complex ValueObjects to a web service?
  | 
  | Peter
Take a look at the jbossws testsuite, package 
org.jboss.test.ws.jaxws.samples.advanced.retail for instance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187717#4187717

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Changing default templates

2008-11-07 Thread juanignaciosl
I'm using JBoss Tools and seam-gen. When I create a new Entity, JBT create 
pages with relative paths. I linked that just because of that's the reason why 
I want to change the default paths.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187646#4187646

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPL OYMENT] - Re: Doesn´t run (Win dows 2000, JDK6)

2008-11-07 Thread itsme
JAVA_HOME should point to parent directory of the bin folder. In your case 
JAVA_HOME should be set to
C:\Programme\Java\jdk1.6.0_07\

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187667#4187667

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-07 Thread [EMAIL PROTECTED]
Does this 
http://jbossws.jboss.org/mediawiki/index.php?title=FAQ#How_does_rewriting_of_the_soap_address_in_WSDL_work.3F
 address your issue?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187693#4187693

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: need help on import tld file

2008-11-07 Thread [EMAIL PROTECTED]
If our backend just need a TLD location then no reason to limit to specific 
project types IMO

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187677#4187677

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2008-11-07 Thread newmanw10
I have the eclipse plugin for jboss.  I tried looking at the doc you provided 
but it did not help me in terms of eclipse.  Any eclipse turtorial (that are 
recent for eclipse v3.4) using jboss that anyone knows about.  I am having 
problem creating a web service using JBossWS.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187729#4187729

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - OSGi

2008-11-07 Thread misge
Hello,
 is there any example "Hello World :-)" of how to implement an OSGi 
(knopflerfish,Felix) service?
Regards,
George

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187733#4187733

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Cannot build bottom up web service in eclipse using JBossWS

2008-11-07 Thread newmanw10
I am running into a problem creating a WSDL file using Eclipse IDE v3.4. When I 
go through through the 'bottom up web service' wizard and select JBossWS for my 
web service runtime and choose a simple web service that I created I get the 
following erorr: 

Error: Could not load class [and]. Did you specify a valid --classpath? 

When I hit next on the 'JBoss Web Service Code Generation Configuration' menu. 
I have both check boxes checked which are 'Generate WSDL file' and 'Update 
default web.xml' 

I assume that I do not have something setup correctly in Eclipse as far as 
JBoss is concerened. 

Please help I have been struggling with this for over a week and I cannot find 
anything on the web as to why this is happening. 

Thanks, 
Billy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187735#4187735

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187735
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Howto install custom classloader

2008-11-07 Thread Deady
For simplicity let's load class from file.

here's a trick:

1. create classloader

  | package test.jboss;
  | 
  | import org.jboss.logging.Logger;
  | import org.jboss.mx.loading.RepositoryClassLoader;
  | 
  | import javax.management.MalformedObjectNameException;
  | import javax.management.ObjectName;
  | import java.net.URL;
  | import java.io.FileInputStream;
  | import java.io.IOException;
  | 
  | /**
  |  * User: Deady
  |  * Date: 06.11.2008
  |  * Time: 16:58:53
  |  */
  | 
  | public class DBClassLoader extends RepositoryClassLoader {
  | 
  | 
  | protected Logger log;
  | private String name;
  | 
  | 
  | /**
  |  * Create a new LoaderRepositoryClassLoader
  |  *
  |  * @param parent the parent classloader
  |  */
  | public DBClassLoader(String name, URL[] url, ClassLoader parent) {
  | super(url, parent);
  | this.name = name;
  | this.log = org.jboss.logging.Logger.getLogger(getClass().getName());
  | }
  | 
  | public ObjectName getObjectName() throws MalformedObjectNameException {
  | return new ObjectName("dbclassloader");
  | }
  | 
  | public Class loadClass(String name, boolean resolve) throws 
ClassNotFoundException {
  | log.info("loading class: "+name);
  | return super.loadClass(name, resolve);
  | }
  | 
  | public URL getResourceLocally(String name) {
  | log.info("getting resource locally: "+name);
  | return getURL();
  | }
  | 
  | public Class loadClassLocally(String name, boolean resolve) throws 
ClassNotFoundException {
  | log.info("loading class locally: "+name);
  | String file = 
"/home/Deady/testbean/classes/"+name.replace(".","/")+".class";
  | byte[] b = null;
  | int readen = 0;
  | try {
  | FileInputStream in = new FileInputStream(file);
  | b = new byte[in.available()];
  | readen = in.read(b);
  | in.close();
  | } catch (IOException e) {
  | e.printStackTrace();
  | }
  | return defineClass(name, b, 0, readen);
  | }
  | 
  | public Package[] getPackages() {
  | log.info("return packages: "+getPackage(name));
  | return new Package[]{getPackage(name)};
  | }
  | }
  | 


2. create deployer MBean:



  | package test.jboss;
  | 
  | import org.jboss.deployment.DeploymentException;
  | import org.jboss.deployment.DeploymentInfo;
  | import org.jboss.deployment.SubDeployerSupport;
  | import org.jboss.logging.Logger;
  | 
  | import java.net.URL;
  | 
  | /**
  |  * User: Deady
  |  * Date: 06.11.2008
  |  * Time: 13:42:03
  |  */
  | public class DBDeployerMBean extends SubDeployerSupport {
  | 
  | protected Logger log;
  | 
  | public DBDeployerMBean() {
  | this.log = org.jboss.logging.Logger.getLogger(getClass().getName());
  | }
  | 
  | public boolean accepts(DeploymentInfo di) {
  | String urlStr = di.url.toString();
  | String extension = getExtension();
  | boolean res = urlStr.endsWith(extension);
  | if (res) {
  | log.info("accepted: "+di);
  | }
  | return res;
  | }
  | 
  | 
  | public void init(DeploymentInfo di) throws DeploymentException {
  | log.info("initializing: "+di);
  | try {
  | di.createClassLoaders();
  | di.ucl.getLoaderRepository().addClassLoader(new 
DBClassLoader("foo", new URL[]{di.localUrl}, di.ucl));
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | super.init(di);
  | }
  | 
  | protected void deployUrl(DeploymentInfo di, URL url, String name) 
throws DeploymentException {
  | log.info("di: "+di+", url:"+url+", name: "+name);
  | super.deployUrl(di, url, name);
  | }
  | 
  | public String getExtension() {
  | return ".dbr";
  | }
  | 
  | }
  | 

3. create sar descriptor:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | The DBDeployer responsible for dbr jar 
deployment
  | test.jboss.DBDeployerMBean
  | 
  | 
  | 
  | Standard MBean lifecycle method
  | create
  | 
  | 
  | 
  | The start lifecycle operation
  | start
  | 
  | 
  | 
  | The stop lifecycle operation
  | stop
  | 
  | 
  | 
  | The destroy lifecycle operation
  | destroy
  | 
  | 
  | 
  | The detyped lifecycle operation (for internal 
use only)
  | jbossInternalLifecycle
  | 
  | The lifecycle operation
  | method
  |   

[jboss-user] [JBoss OSGi] - OSGi

2008-11-07 Thread misge
Hello,
 is there any example "Hello World :-)" of how to implement an OSGi 
(knopflerfish,Felix) service?
Regards,
George

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187741#4187741

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187741
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Advanced Documentation] - Clustering, HA Singleton

2008-11-07 Thread mohitanchlia
I have been looking for complete tutorial and examples that gives me 
information about clustering, HASingleton,Barrier, Election policy etc. I am 
getting bits and pieces on the web but nothing that gives me a complete 
example/tutorial. Could someone point me to correct/complete tutorial.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187748#4187748

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: How to generate the WSDL at build time for EJB3 based we

2008-11-07 Thread [EMAIL PROTECTED]
Try using the wsprovide tool.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187696#4187696

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Portlet Caches Expiration Doesn't appear to work...

2008-11-07 Thread DanielK
Prabhat can you please give a short explanation, if expiration-cache should do 
what analyzediz described? Is it true that expiration-cache set to 0 should 
give a behaviour, where each call to that portlet will return a "fresh" new 
portlet instance?

Perhaps he (and i) misunderstood something? Another point, in exampled is see 
this setting will be set to -0. Is there a difference between 0 and -0 ??? I 
hope 0 = -0, but perhaps i am wrong ...

Thanks for answering,

DanielK

PS:
 - JBoss Portal 2.6.5 GA
 - Richfaces 3.2.2 GA
 - PortletBridge B4
 - Part from http://www.scribd.com/doc/4857633/portlet1-0prdspec:
anonymous wrote : A portlet that has defined an expiration cache in its portlet 
definition mayprogrammatically alter the expiration time by setting the 
expiration-cache property in the RenderResponse object. If the expiration value 
is set to 0, caching is disabled for the 25portlet. If the expiration-cache 
property is set to -1, the cache does not expire. If during  a render 
invocation the expiration-cache property is not set, the expirationtime defined 
in the deployment descriptor must be used. For a portlet that has not 
definedexpiration cache in the deployment descriptor, if the expiration-cache 
property is set itmust be ignored by the portlet-container.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187701#4187701

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - Re: OSGi

2008-11-07 Thread misge
Thanks,
i will have a look in the provided URL's.

Cheers,
George

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187753#4187753

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problem deploy new process

2008-11-07 Thread Christy
Hi,
I would like to deploy new process, which invoking web-service. 
Using Eclipse pluging I created following files:
bpel-file:

anonymous wrote : 
  | http://docs.oasis-open.org/wsbpel/2.0/process/executable";
  | xmlns:ns="newArtifacts" xmlns:ns0="http://dictionary.ws.esimo/"; 
xmlns:tns="new">
  | http://schemas.xmlsoap.org/wsdl/";
  | location="proc.wsdl" namespace="new"/>
  | http://schemas.xmlsoap.org/wsdl/";
  | location="http://127.0.0.1:8080/dictionaryws?wsdl"; 
namespace="http://dictionary.ws.esimo/"/>
  | http://schemas.xmlsoap.org/wsdl/"; 
namespace="newArtifacts"/>
  | http://schemas.xmlsoap.org/wsdl/";
  | location="procArtifacts.wsdl" namespace="newArtifacts"/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

wsdl-file:

anonymous wrote : 
  | http://docs.oasis-open.org/wsbpel/2.0/plnktype"; 
xmlns="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

wsdl artifacts:

anonymous wrote : 
  | http://docs.oasis-open.org/wsbpel/2.0/plnktype"; 
xmlns:tns="newArtifacts" 
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"; 
xmlns:wsdl="http://dictionary.ws.esimo/"; name="procArtifacts" 
targetNamespace="newArtifacts" xmlns="http://schemas.xmlsoap.org/wsdl/";>
  |   
  | 
  |   
  |   
  | 

Then I built these three files into .zip and tryed to deploy using 
http://localhost:8080/jbpm-bpel/processes.jsp . 

But I have the error:

anonymous wrote : ERROR [org.jbpm.bpel.xml.ProblemHandler] document is not 
readable ()
  | java.io.FileNotFoundException: C:\jboss-4.2.2.GA\bin (Отказано в 
доступе)
  | at java.io.FileInputStream.open(Native Method)
  | at java.io.FileInputStream.(FileInputStream.java:106)
  | at 
org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:105)
  | at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
Source)
  | at 
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  | at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  | at 
org.jbpm.bpel.xml.ProcessWsdlLocator.upgradeWsdlDocumentIfNeeded(ProcessWsdlLocator.java:153)
  | at 
org.jbpm.bpel.xml.ProcessWsdlLocator.getBaseInputSource(ProcessWsdlLocator.java:109)
  | at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2316)
  | at 
org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java:519)
  | at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447)
  | at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296)
  | at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204)
  | at 
org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser.java:49)
  | at 
org.jbpm.bpel.par.GenericArchiveParser.callProcessArchiveParsers(GenericArchiveParser.java:134)
  | at 
org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchiveParser.java:54)
  | at 
org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81)
  | at 
org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentServlet.java:169)
  | at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina

[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-07 Thread ataylor
If you say you're closing all the connections and you think the vpn is quite 
stable then the clients being disconnected could be caused by something else. I 
know remoting has some ping settings that might be affecting things.You could 
try changing some of these

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187758#4187758

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187758
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Help need to solve the jms not bound error

2008-11-07 Thread houston_dragon
PeterJ:

I was following the tutorial

http://www.netbeans.org/kb/60/javaee/ejb30.html

Thanks



  | /*
  |  * To change this template, choose Tools | Templates
  |  * and open the template in the editor.
  |  */
  | 
  | package ejb;
  | 
  | import javax.annotation.Resource;
  | import javax.ejb.ActivationConfigProperty;
  | import javax.ejb.MessageDriven;
  | import javax.ejb.MessageDrivenContext;
  | import javax.jms.JMSException;
  | import javax.jms.Message;
  | import javax.jms.MessageListener;
  | import javax.jms.ObjectMessage;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | 
  | /**
  |  *
  |  * @author swu3
  |  */
  | @MessageDriven(mappedName = "jms/NewMessage", activationConfig =  {
  | @ActivationConfigProperty(propertyName = "acknowledgeMode", 
propertyValue = "Auto-acknowledge"),
  | @ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Queue")
  | 
  | })
  | 
  | public class NewMessageBean implements MessageListener {
  | 
  | @Resource
  | private MessageDrivenContext mdc;
  | 
  | @PersistenceContext
  | private EntityManager em;
  | 
  | public NewMessageBean() {
  | }
  | 
  | public void onMessage(Message message) {
  | ObjectMessage msg = null;
  | try {
  | if (message instanceof ObjectMessage) {
  | msg = (ObjectMessage) message;
  | NewsEntity e = (NewsEntity) msg.getObject();
  | save(e);
  | }
  | } catch (JMSException e) {
  | e.printStackTrace();
  | mdc.setRollbackOnly();
  | } catch (Throwable te) {
  | te.printStackTrace();
  | }
  | }
  | 
  | public void save(Object object) {
  | em.persist(object);
  | }
  | 
  | }
  | 




  | /*
  |  * To change this template, choose Tools | Templates
  |  * and open the template in the editor.
  |  */
  | 
  | package ejb;
  | 
  | import java.io.Serializable;
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.GenerationType;
  | import javax.persistence.Id;
  | 
  | /**
  |  *
  |  * @author swu3
  |  */
  | @Entity
  | public class NewsEntity implements Serializable {
  | private static final long serialVersionUID = 1L;
  | @Id
  | @GeneratedValue(strategy = GenerationType.AUTO)
  | private Long id;
  | 
  | private String title;
  | private String body;
  | 
  | public void setBody(String body) {
  | this.body = body;
  | }
  | 
  | public void setTitle(String title) {
  | this.title = title;
  | }
  | 
  | public String getBody() {
  | return body;
  | }
  | 
  | public String getTitle() {
  | return title;
  | }
  | 
  | public Long getId() {
  | return id;
  | }
  | 
  | public void setId(Long id) {
  | this.id = id;
  | }
  | 
  | @Override
  | public int hashCode() {
  | int hash = 0;
  | hash += (id != null ? id.hashCode() : 0);
  | return hash;
  | }
  | 
  | @Override
  | public boolean equals(Object object) {
  | // TODO: Warning - this method won't work in the case the id fields 
are not set
  | if (!(object instanceof NewsEntity)) {
  | return false;
  | }
  | NewsEntity other = (NewsEntity) object;
  | if ((this.id == null && other.id != null) || (this.id != null && 
!this.id.equals(other.id))) {
  | return false;
  | }
  | return true;
  | }
  | 
  | @Override
  | public String toString() {
  | return "ejb.NewsEntity[id=" + id + "]";
  | }
  | 
  | }
  | 


  | /*
  |  * To change this template, choose Tools | Templates
  |  * and open the template in the editor.
  |  */
  | 
  | package ejb;
  | 
  | import java.util.List;
  | import javax.ejb.Stateless;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | 
  | /**
  |  *
  |  * @author swu3
  |  */
  | @Stateless
  | public class NewsEntityFacade implements NewsEntityFacadeLocal {
  | @PersistenceContext
  | private EntityManager em;
  | 
  | public void create(NewsEntity newsEntity) {
  | em.persist(newsEntity);
  | }
  | 
  | public void edit(NewsEntity newsEntity) {
  | em.merge(newsEntity);
  | }
  | 
  | public void remove(NewsEntity newsEntity) {
  | em.remove(em.merge(newsEntity));
  | }
  | 
  | public NewsEntity find(Object id) {
  | return em.find(ejb.NewsEntity.class, id);
  | }
  | 
  | public List findAll() {
  | return em.createQuery("select object(o) from NewsEntity as 
o").getResultList();
  | }
  | 
  | }
  | 


  | /*
  |  * To change this template, choose Tools | Templates
  |  *

[jboss-user] [JBoss OSGi] - Re: OSGi

2008-11-07 Thread alesj
What kind of service?

MC currently doesn't have full OSGi service (registry) support, yet.
But you can already do most of the thing you expect from OSR.
As our impl will be a simple facade on top of OSGi core interfaces.

The classloading part - OSGi kind of CL - is mostly in place.
Only a few corner cases to polish.
The best docs part is (unfortunately) this:
 - https://jira.jboss.org/jira/browse/JBCL-10

Perhaps check my demos for 'HelloWorld':
 - http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/
Read about it here:
 - http://java.dzone.com/articles/a-look-inside-jboss-microconta

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187745#4187745

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: advice needed, simultaneously active tasks where there i

2008-11-07 Thread rossputin
Hi thanks for your help with answering the second question, it is reassuring to 
hear that this could be an explanation...

Regarding my first question.. I assume I should have both the 'blocking' and 
'signalling' check boxes checked for each task in the processes ?

Thanks again,

Ross

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187635#4187635

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Local ejb access vs remote access

2008-11-07 Thread msecrist
I'm trying to figure out why remote access to my EJB works but local access 
doesn't seem to.  If I create a test remote test client using the following 
code, everything seems to work fine.


  | Hashtable env = new Hashtable();
  | env.put(Context.INITIAL_CONTEXT_FACTORY, 
  | "org.jnp.interfaces.NamingContextFactory");
  | env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
  | 
  | try {
  | LeagueFacade leagueFacade = 
LeagueFacadeUtil.getHome(env).create();
  | League league = leagueFacade.findLeague(1);
  | 

If I use the following code in a jsp or servlet deployed as part of the same 
EAR into the Jboss container, I get an exception (failing on the call to 
LeagueFacadeUtil.getHome() ).

  | LeagueFacadeHome h = LeagueFacadeUtil.getHome();
  | LeagueFacade l = h.create();
  | League league = l.findLeague(1);
  | Iterator schedules = league.getSchedules()
  | .iterator();
  | 


  | java.lang.ClassCastException
  | com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(Unknown 
Source)
  | javax.rmi.PortableRemoteObject.narrow(Unknown Source)
  | 
com.leagueplanet.ejb.LeagueFacadeUtil.lookupHome(LeagueFacadeUtil.java:25)
  | com.leagueplanet.ejb.LeagueFacadeUtil.getHome(LeagueFacadeUtil.java:42)
  | org.apache.jsp.schedule_jsp._jspService(schedule_jsp.java:78)
  | 

If I try to add an initial context environment as I did for the remote client, 
I get a different exception and it fails on the call to 
LeagueFacadeHome.create()

  | root cause 
  | 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: Invalid invocation, check your deployment 
packaging, method=public abstract com.leagueplanet.ejb.LeagueFacade 
com.leagueplanet.ejb.LeagueFacadeHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
  | 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365)
  | org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
  | org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer
  | 

I'm obviously missing something but can't quite figure out what it is.  BTW, 
this is the basic code from the WTP book, which was aimed at a JBoss 4.0 
deployment.

Thanks,

mark

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187765#4187765

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member

2008-11-07 Thread wjm
"[EMAIL PROTECTED]" wrote : Do you see any issues with the replication?  E.g., 
if you turn off the cache loader - or even use a different cache loader - does 
this work?
  | 

Hello again, and thanks for the followup.  We tried the cache without a loader 
today, and got the same result.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187766#4187766

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187766
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem deploy new process

2008-11-07 Thread salaboy21
I know a very little things about bpel but your problem appers to be something 
else, look at this line:

anonymous wrote : 
  | Caused by: java.io.FileNotFoundException: C:\jboss-4.2.2.GA\bin 
(Отказано в Ð´Ð¾Ñ Ñ‚ÑƒÐ¿Ðµ)
  | 

I think this is clearly jboss/permission/corrupted filesystem problem...



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187768#4187768

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187768

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Upgrade jbossws on JBoss EAP 4.2

2008-11-07 Thread [EMAIL PROTECTED]
You are supposed not to change the webservice stack on a EAP distribution. 
Please get in touch with your JBoss product contact and explain the problems 
you need to solve by updating the stack so that you can get the appropriate 
support.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187691#4187691

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Help need to solve the jms not bound error

2008-11-07 Thread jaikiran
@MessageDriven(mappedName = "jms/NewMessage", activationConfig =  {
  | @ActivationConfigProperty(propertyName = "acknowledgeMode", 
propertyValue = "Auto-acknowledge"),
  | @ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Queue")
  | 
  | })
  | 

You seem to be missing the destination property. Try this:

@MessageDriven(mappedName = "jms/NewMessage", activationConfig =  {
  | @ActivationConfigProperty(propertyName = "acknowledgeMode", 
propertyValue = "Auto-acknowledge"),
  | @ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Queue")
  | @ActivationConfigProperty(propertyName="destination", 
propertyValue="queue/NewMessage")
  | 
  | })
  | 

Also, remember what Peter mentioned about the jndi-names of queues:

"PeterJ" wrote : In addition, you will want to change you queue reference to:
  | 
  | @Resource(mappedName="queue/NewMessage")
  |   | private  Queue queue;   
  |   | 
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187773#4187773

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: Location JNDI Bindings

2008-11-07 Thread PeterJ
I think the text is referring to the jndi.properties file. For JBossAS, this 
file should contain:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.provider.url=jnp://yourhostname:1099
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces 

Where 'yourhostname' is the name or IP address of the host running JBossAS. You 
can place this file anywhere.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187774#4187774

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: How to check the connection status between JBoss and Dat

2008-11-07 Thread PeterJ
In JBossAS, you use a *-ds.xml file to set up a data source, which is then used 
to maintain database connections. See the docs for more details.

You can use the JMX Console to monitor a connection. In a browser enter 
http://localhost:8080/jmx-console. You will be shown a long list on mbeans. 
Scroll down to a bean named 
jboss.jca:name=DSNAME,service=ManagedConnectionPool, where DSNAME is the name 
of your data source (this name comes from the *-ds.xml file). Click on that 
link and you will be shown the current connection statistics.

Finally, if there is an issue with a connection, an exception stack trace 
usually shows up in the logs.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187775#4187775

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Diff. between @WebService(name=... and @WebService(endpo

2008-11-07 Thread [EMAIL PROTECTED]
The @WebService annotation is defined by the JAX-WS specifications, so its 
usage is not framework specific.
The above mentioned ways of declaring a ws endpoint simply differ in providing 
or not an endpoint interface (which of course can have further annotations).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187694#4187694

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Error occured accessing the

2008-11-07 Thread SivaSekhar
I just followed the Installation Tutorial.
I downloaded the jboss-portal-2.7.0.GA binary code.
Next I added mysql-connector-java-5.1.7-bin to 
D:\jboss-4.2.2.GA\server\default\lib
Next I added portal-mysql-ds to the 
D:\jboss-4.2.2.GA\server\default\\deploy directory.
I run the server using run command.
Next When I access the "http://localhost:8080/por"; the following error is 
produced.


anonymous wrote : 
  | javax.servlet.ServletException: java.lang.NullPointerException
  | 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:278)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | root cause 
  | 
  | java.lang.NullPointerException
  | 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
  | 
org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:112)
  | 
org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81)
  | 
org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
  | org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
  | 
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
  | 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
and  portal-mysql-ds.xml file as
  | 
  |   
  | JBOSSPortalDS
  | jdbc:mysql://localhost:3306/jbossportal
  | com.mysql.jdbc.Driver
  | root
  | sa
  |   
  | 

Is any thing wrong here.
Can any one help me in this aspect.

Thanx-
sekhar

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187686#4187686

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running JBoss on AIX on port 80

2008-11-07 Thread PeterJ
Isn't there some way, other than iptables, to do port forwarding in AIX?

I know that there are some AIX users out there, perhaps one of them might offer 
some help?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187778#4187778

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Cache locking issue after one node of the cluster is restart

2008-11-07 Thread michalkozakiewicz
Hi, 
The issue was posted in clustering forum as well:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=145274

I would appreciate any help on the issue,
Michal

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187681#4187681

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPL OYMENT] - Re: Doesn´t run (Windows 200 0, JDK6)

2008-11-07 Thread jaikiran
Do this:

- Open the run.bat in a text editor
- Remove the first line which contains @echo off. Save the file
- Go to command prompt and run the run.bat
- Post the output here.

If the error is related to 'findstr' then have a look at 
http://wiki.jboss.org/wiki/FindstrCommandNotFound

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187699#4187699

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Changing default templates

2008-11-07 Thread [EMAIL PROTECTED]
The link you point to is about JSF runtime usage of paths; why are you asking 
here in the tools forum ?

Any specific issue with VPE or ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187642#4187642

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss Server hangs before

2008-11-07 Thread PeterJ
According to the log output, the app server started without problems. See this 
line:

2008-11-07 10:03:31,935 INFO [org.jboss.system.server.Server] JBoss (MX 
MicroKernel) [4.3.0.GA_CP01 (build: SVNTag=JBPAPP_4_3_0_GA_CP01 
date=200804211657)] Started in 33s:860ms 

My guess would be that the CONSOLE log  is turned off, in which case only the 
bootstrap logging goes to the console. Looking at the jboss-log4j.xml file in 
the production configuration, I see that the console log is indeed turned off. 
Therefore, this is not a problem.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187779#4187779

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187779
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Samples? Tutorials? There is a lack of readable docs!

2008-11-07 Thread PeterJ
How about this: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182251

Or this: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104843

In addition, I have a complete tutorial, but it is not free. I can supply the 
URL if you like.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187780#4187780

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: i want to disable page

2008-11-07 Thread PeterJ
See this discussion: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98753

and this one: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115712

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187781#4187781

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187781
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-07 Thread bob_walker99
Thanks Andy,

Could you elaborate a little please? I assume you are talking about the values 
set in remoting-bisocket-service.xml?

The documentation warns quite emphatically about changing values in that file:

http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp02/html/JBoss_Messaging_User_Guide/conf.connector.html

If you could give me a little guidance as to what you are thinking may be the 
problem, and in what way I might change the values I'd appreciate it.

Regards,

Bob 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187782#4187782

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Create WSDL file using jbossws in Eclipse

2008-11-07 Thread [EMAIL PROTECTED]
If this relates the Eclipse tooling provided by JBoss please post it here:
http://www.jboss.com/index.html?module=bb&op=viewforum&f=201
or
http://www.jboss.com/index.html?module=bb&op=viewforum&f=258

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187692#4187692

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187692
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: need help on import tld file

2008-11-07 Thread [EMAIL PROTECTED]
Alexey, is there any reason why we require the TLD files to be in a JSF project 
?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187640#4187640

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Naming parameters in a management bean using annotations

2008-11-07 Thread jimmycallaghan
How can I name the parameters in my Managent bean so that they show up in the 
MBean view with useful names instead of p1 and p2?

My MBean interface looks like this:

import org.jboss.annotation.ejb.Management;
  | 
  | @Management
  | public interface MyServiceMBean
  | {
  | public String showCustomerDetails(String accountNumber);
  | 
  | public String getPathToMessageRequestDefinitionXML();
  | 
  | public String getPathToMessageResponseDefinitionXML();
  | }

My implementing class looks like this:

@Service(objectName = "myservice:service=MyServiceMBean")
  | public class MyServiceMBeanImpl implements MyServiceMBean
  | {
  | 
  | public String getPathToMessageRequestDefinitionXML()
  | {
  | return "some text";
  | }
  | 
  | public String getPathToMessageResponseDefinitionXML()
  | {
  | return "some text";
  | }
  | 
  | public String showCustomerDetails(String accountNumber)
  | {
  | // code removed.
  | return "some text";
  | }
  | }

I'd imagine that there's a simple annotation I can put on the interface methods 
to define the parameters but, for the life of me, I cannot find a single 
reference out there that shows me how.

Appologies if I'm missing the obvious.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187633#4187633

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: BPEL Problem with Fault Handler

2008-11-07 Thread Fabiana
No, unfortunately I didn't solve this problem.
If you solve the problem, can you post the solution on the forum?
Fabiana

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187690#4187690

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Samples? Tutorials? There is a lack of readable docs!

2008-11-07 Thread eminil
I've been looking into putting our wsdl files into a webservice using JBossWS 
on JBoss 4.2.3 but the docs are so bad i'm getting a headache!

For example: http://docs.jboss.org/jbossas/getting_started/v4/html/ws.html
There is no explanation AT ALL what the following does:
ant -f jboss-build.xml package-ws
ant -f jboss-build.xml deploy-ws

I would like to put that into our own build script.

So my questions are:

1. From our wsdl files how do we exactly turn it into the java source files. 
Using wsdl2java yes, but need more info. What do we need to download to get it 
working on the computer we have installed JBoss on. What do we need to put in 
PATHS etc.

2. When we have the java files... What do we do now? How do we package it? Can 
we package it with the rest of our EJB files that we put on the jboss server as 
an .ear?

JBossWS seriously lack a good tutorial that has links to all referenced build 
scripts or files.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187651#4187651

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Question re Hot deployment of JSPs

2008-11-07 Thread [EMAIL PROTECTED]
You're right that is what I meant. 

Some background: I have a .war and a .ear whose classloaders aren't scoped (so 
they're share the same repository). 

Questions:
Can I safely hot deploy jsps to the war (if it's deployed exploded). 
If the war isn't re-deployed how is the jsp relinked?
What happens to references made by that jsp to shared classes? 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187647#4187647

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-07 Thread bob_walker99
I am getting a slightly different error today, but the result to my client is 
the same - the MessageListener is removed from the queue, and I get nothing on 
my ExceptionListener.

This is in my client logs at the point at which it fails:


  | 2008-11-06 15:07:09,672  org.jboss.jms.client.container.ClientConsumer - 
Failed to deliver message
  |  org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  |  at 
org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
  |  at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)
  |  at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$acknowledgeDelivery$aop(ClientSessionDelegate.java:172)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledgeDelivery_N5825751487881460811.invokeNext(ClientSessionDelegate$acknowledgeDelivery_N5825751487881460811.java)
  |  at 
org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
  |  at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledgeDelivery_N5825751487881460811.invokeNext(ClientSessionDelegate$acknowledgeDelivery_N5825751487881460811.java)
  |  at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  |  at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledgeDelivery_N5825751487881460811.invokeNext(ClientSessionDelegate$acknowledgeDelivery_N5825751487881460811.java)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate.acknowledgeDelivery(ClientSessionDelegate.java)
  |  at 
org.jboss.jms.client.container.SessionAspect.ackDelivery(SessionAspect.java:844)
  |  at 
org.jboss.jms.client.container.SessionAspect.handlePostDeliver(SessionAspect.java:338)
  |  at 
org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect19.invoke(SessionAspect19.java)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_1255239194451907669.invokeNext(ClientSessionDelegate$postDeliver_1255239194451907669.java)
  |  at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  |  at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_1255239194451907669.invokeNext(ClientSessionDelegate$postDeliver_1255239194451907669.java)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java)
  |  at 
org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:183)
  |  at 
org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:976)
  |  at 
org.jboss.messaging.util.JBMExecutor$TCLExecutor.run(JBMExecutor.java:78)
  |  at 
EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
  |  at java.lang.Thread.run(Thread.java:619)
  |  Caused by: java.lang.IllegalStateException: Cannot find object in 
dispatcher with id uul2-btw8b7nf-1-18ofs1nf-rplxnw-f20a
  |  at 
org.jboss.jms.wireformat.SessionAcknowledgeDeliveryRequest.serverInvoke(SessionAcknowledgeDeliveryRequest.java:75)
  |  at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
  |  at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795)
  |  at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
  |  at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
  |  at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
  |  at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
  |  at org.jboss.remoting.Client.invoke(Client.java:1634)
  |  at org.jboss.remoting.Client.invoke(Client.java:548)
  |  at org.jboss.remoting.Client.invoke(Client.java:536)
  |  at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
  |  ... 23 more
  | 2008-11-06 15:07:09,672  org.jboss.jms.client.container.ClientConsumer - 
Failed to deliver message
  |  org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  |  at 
org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
  |  at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)
  |  at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
  |  at 
org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$clien

[jboss-user] [EJB 3.0] - Re: PostContruct not being called

2008-11-07 Thread jaikiran
Being discussed here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=145248

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187632#4187632

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Changing default templates

2008-11-07 Thread [EMAIL PROTECTED]
ah you are talking about the seam-gen templates ? They are in the seam-gen/view 
directory.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187655#4187655

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Question re Hot deployment of JSPs

2008-11-07 Thread jaikiran
"[EMAIL PROTECTED]" wrote : 
  | Can I safely hot deploy jsps to the war (if it's deployed exploded). 
  | 
Yes.

"[EMAIL PROTECTED]" wrote : 
  | If the war isn't re-deployed how is the jsp relinked?
  | 
The last modified timestamp indicates a change to the jsp. Any modified jsps 
will be recompiled and will go through the JSP lifecycle.

"[EMAIL PROTECTED]" wrote : 
  | What happens to references made by that jsp to shared classes? 
  | 
The jsp will be recompiled and will go through the jsp lifecycle.
 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187662#4187662

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187662
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: PostContruct not being called

2008-11-07 Thread jaikiran
The PostConstruct will be called after the bean is instantiated. The bean will 
be instantiated when you lookup it up and access it. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187630#4187630

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Advanced Documentation] - Re: configuring default application

2008-11-07 Thread PeterJ
Here is one way to accomplish this. First remove the current default app at 
server/xxx/deploy/jboss-web.deployer/ROOT.war (remove the whole directory). 
Second, add a jboss-web.xml file to your web app's WEB-INF directory and put 
the following it it:


  | 
  |/
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187791#4187791

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-07 Thread will.tatam
nope 

The issue is not the hard coding on the client side

The client being used is asp.net and php

We could "hack" the

${jboss.bind.address}

To have the name of our load balancer rather than the ${jboss.bind.address}  
but that is a rather ugly hack


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187744#4187744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Advanced Documentation] - configuring default application

2008-11-07 Thread yaragalla_murali
Hi friends I have an application deployed on the server but to access it i have 
to type http://localhost:8080/xxx  in the browser. but I want to set the xxx 
application as the default application for jboss. So when i type 
http://localhost:8080/the xxx application has to load and should show the 
welcome page. kindly help me in this.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187683#4187683

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Error occured accessing the

2008-11-07 Thread PeterJ
Did you create the "jbossportal" database in MySQL, and did you set the 
password for "root" to be "sa"?

If that does not solve the problem, then: You posted the error from the 
browser. There should also be a stack trace in the console log. Please post the 
first exception stack trace from the console log. You might have to increase 
the console buffer size to see the first stack trace (otherwise it might scroll 
off of the buffer).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187792#4187792

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187792
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Upgrade jbossws on JBoss EAP 4.2

2008-11-07 Thread mlange
We also tried to use the new stack on EAP (4.3). This is not supported 
unfortunately and gives errors. You have to stick to the old 2.x native stack 
included.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187708#4187708

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187708
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: jax-ws soap protocol handler and white space.

2008-11-07 Thread [EMAIL PROTECTED]
Does this still happen with a more recent JBossWS version? Which application 
server version are you using?
Perhaps you can create a jira issue for this and attach a minimal example 
reproducing the issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187707#4187707

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Isolating MyFaces-jars in a web application?

2008-11-07 Thread ops
everybody, 

I know that JBoss 4.2 ships with the ri implementation of JSF. It is also clear 
to me, that i have to set the WAR_BUNDLES_JSF_IMPL-Setting in my web.xml if I 
want to activate MyFaces. 
But - just to understand that - why is it impossible just to create a loader 
repository for the web application and to turn the java2ParentDelegation off? 
This should make jboss load only the included jars of the war-application 
instead of using those built into the server. But obviously this leads to 
exceptions saying that classes are missing (which are definitely bundled in my 
war!!!). Did I get anything wrong? 

Thanks for explanations, 
Oliver.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187697#4187697

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JDK 1.6.0_10/JBoss4.2.0.GA/JBossWS 2.0.0 - setProperty must

2008-11-07 Thread lcompton
I'm having trouble getting JBossWS/JBossAS working in JDK 1.6. I'm aware of the 
existing bug report

  https://jira.jboss.org/jira/browse/JBWS-1439

I ran the JBossWS ant script using JDK 1.6 and verified that the following JARs 
were copied into $JBOSS_HOME/lib/endorsed
  jaxb-api.jar
  jboss-jaxrpc.jar
  jboss-jaxws.jar
  jboss-saaj.jar

However, I still get exceptions of this sort
javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: 
setProperty must be overridden by all subclasses of SOAPMessage
at 
org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)

Configuration:
  JDK 1.6.0_10
  JBoss AS 4.2.0.GA
  JBossWS 2.0.0
  Ubuntu 8.10

Unfortunately, upgrading to later versions isn't an option.

Larry

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187795#4187795

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187795
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2008-11-07 Thread PeterJ
Deja vu...

Sorry, but I have not even attempted to create a web service using the "Eclipse 
way", so to speak. You can find a complete web service example here: 
ttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182251] But I have no 
idea for how to get Eclipse to do the work for you (I did edit both the pojo 
and the web.xml using Eclipse, but used ant to build the web.xml and copy it to 
the deploy directory.)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187796#4187796

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187796
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPL OYMENT] - Re: Doesn´t run (Win dows 2000, JDK6)

2008-11-07 Thread majiy
"jaikiran" wrote : anonymous wrote : When I run the run.bat I do not get any 
message (no error, no "started in x seconds"). 
  | 
  | From the command prompt, post the output of 
  | 
  | echo %JAVA_HOME%

C:\Programme\Java\jdk1.6.0_07\bin

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187664#4187664

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Samples? Tutorials? There is a lack of readable docs!

2008-11-07 Thread [EMAIL PROTECTED]
Have you taken a look at the project documentation? 
http://jbossws.jboss.org/mediawiki/index.php?title=JBossWS

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187668#4187668

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187668
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Jboss 4.2.2 hangs when after deploying a WAR

2008-11-07 Thread tonioc
Ok I'll do it.

I was trying to construct a small example that can show this problem, but until 
know I was not able.

I'll continue working on it.

thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187797#4187797

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss terminated unexpectedly

2008-11-07 Thread prabhun
Hi,

Jboss 4.2.3 server terminated unexpectedly yesterday (6/11/2008) as well as 
last Friday (24/10/2008). It is running on a unix box.There is no much 
information in the server logs, application logs and the boot log files.

I even checked the bash history, no one has killed the process or stopped the 
server. 

Any idea how to resolve these ?
Is there any way to get a core dump in these scenarios?

Regards,
Prabhu


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187799#4187799

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member

2008-11-07 Thread wjm
I've now logged this as a formal JIRA case:

https://jira.jboss.org/jira/browse/JBCACHE-1432

Thanks again!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187786#4187786

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187786
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Changing default templates

2008-11-07 Thread [EMAIL PROTECTED]
yes, and i'm saying we are using seam-gen templates which is in your seam 
runtime under seam-gen/view

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187658#4187658

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossWS 3.0.3 memory leak

2008-11-07 Thread [EMAIL PROTECTED]
For sure more info would help, perhaps further details on the webservice 
endpoint(s), the contract and the full memory dump.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187689#4187689

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: PostContruct not being called

2008-11-07 Thread jaikiran
Going by your code, you seem to be initializing something and you expect this 
to happen when the application is deployed. If that's what you want, then have 
a look at the @Service annotation 
http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/jboss_extensions.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187631#4187631

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187631
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Changing default templates

2008-11-07 Thread juanignaciosl
Nop. I'm taking about JBoss Tools, the ones used at project --> new --> Seam 
Action...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187657#4187657

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - i want to disable page

2008-11-07 Thread Nagendra1020


Hi Everybody,

Can i display page based on Role. Suppose I have three page in portal i.e Page 
A, Page B, and Page C  but I want to display Page A and page C for all user 
which have role Admin. Is it possible with portal.


Thanks in advance.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187656#4187656

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: JBoss 4.0.4.GA and 4.2.1.GA EJB interoperability

2008-11-07 Thread gturner
"lincao123" wrote : Hi, gturner,
  | 
  | Recently I got the same error while invoking remote ejb from jboss 4.0.5 to 
4.2.0. Can you share your solution with me? Thanks a lot!
  | 
  | Lin

Sorry I have no work-around, we decided to postpone deployment of 4.2 servers 
until we commit to, what the managers refer to as, a "forklift" upgrade (we're 
running 187+ JBoss servers, yikes!).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187801#4187801

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Question re Hot deployment of JSPs

2008-11-07 Thread [EMAIL PROTECTED]
Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187679#4187679

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JBossWS 3.0.3 memory leak

2008-11-07 Thread Marlboro
Hi,

We are running an EJB3/JBossWS aplication on JBoss 4.2.2 with JBossWS - native 
3.0.3. Our application causes JBoss to crash with "out of memory error" under 
load, and we have memory dump from Java 1.6. After analyze of this dump we 
suspect JBossWS to cause the memory leak. There are 22942513  instances of 
class java.util.HashMap$Entry with 367080208 bytes and 58967 instances of class 
[Ljava.util.HashMap$Entry; with 231301484 bytes. Both HashMap entries contain 
some data from data type's definitions of our endpoints.

For better understating: our application has two parts. At this moment, both 
parts are deployed on one server but in the future it will be possible to 
deploy them on two distinct servers. One part is web service client, second one 
is web service endpoint. We tested our application with Java 1.5 and also 1.6 
but we are able to obtain memory dump only with Java 1.6 . Nevertheless both 
JVMs have the same behavior - they crash approximately after 48 hours.

Any help will be greatly appreciated. If you will need more data/infos please 
feel free to contact me.

Thanks,
Vratislav Kuzela


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187660#4187660

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187660
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: CacheLoader and Periodic Writes

2008-11-07 Thread lovelyliatroim
Cheers Manik. Thanks for the tip. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187698#4187698

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187698
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPL OYMENT] - Re: DoesnÂÂà ‚Â´t run (Windows 2000, JDK6)

2008-11-07 Thread majiy
"itsme" wrote : JAVA_HOME should point to parent directory of the bin folder. 
In your case JAVA_HOME should be set to
  | C:\Programme\Java\jdk1.6.0_07\

I now changed JAVA_HOME (now points to "C:\Programme\Java\jdk1.6.0_07"), but 
it´s still the same. No output, no connection to localhost:8080.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187672#4187672

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187672

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Cache locking issue after one node of the cluster is restart

2008-11-07 Thread michalkozakiewicz
Hi,
we are running 2 nodes on Jboss 5.0.0.Beta4. We had to restart one of the nodes 
and the deployment failed: 

Caused by: org.hibernate.HibernateException: Could not instantiate cache 
implementation 

  | Caused by: org.hibernate.cache.CacheException: 
org.jboss.cache.lock.TimeoutException read lock for 
/zcapitalspreads_ear,services_jar,capital_spreads/com/chaucerdigital/capitalspreads/account
 could not be acquired by Thread[main,5,jboss] after 15000 ms. Locks: Read lock 
owners: []
  | 
  | Write lock owner: GlobalTransaction:<10.0.0.23:3336>:40235
  | 
  | , lock info: write owner=GlobalTransaction:<10.0.0.23:3336>:40235 
(activeReaders=0, 
activeWriter=Thread[Multiplexer,udp,10.0.0.24:1723,10,MultiplexerThreads], 
waitingReaders=0, waitingWriters=0, waitingUpgrader=0)

Any ideas please?
Michal

The full stack trace:

  | 2:36:24,837 WARN  [FC] Received two credit requests from 10.0.0.23:3336 
without any intervening messages; sending 1999822 credits
  | 
  | 12:36:34,869 WARN  [FC] Received two credit requests from 10.0.0.23:3336 
without any intervening messages; sending 1999822 credits
  | 
  | 12:36:44,853 WARN  [FC] Received two credit requests from 10.0.0.23:3336 
without any intervening messages; sending 1999822 credits
  | 
  | 12:36:54,885 WARN  [FC] Received two credit requests from 10.0.0.23:3336 
without any intervening messages; sending 1999822 credits
  | 
  | 12:36:55,385 ERROR [RegionManager] failed to activate 
/zcapitalspreads_ear,services_jar,capital_spreads/com/chaucerdigital/capitalspreads/account/cash/AccountJournalEntry
  | 
  | org.jboss.cache.lock.TimeoutException: read lock for 
/zcapitalspreads_ear,services_jar,capital_spreads/com/chaucerdigital/capitalspreads/account
 could not be acquired by Thread[main,5,jboss] after 15000 ms. Locks: Read lock 
owners: []
  | 
  | Write lock owner: GlobalTransaction:<10.0.0.23:3336>:40235
  | 
  | , lock info: write owner=GlobalTransaction:<10.0.0.23:3336>:40235 
(activeReaders=0, 
activeWriter=Thread[Multiplexer,udp,10.0.0.24:1723,10,MultiplexerThreads], 
waitingReaders=0, waitingWriters=0, waitingUpgrader=0)
  | 
  | at 
org.jboss.cache.lock.IdentityLock.acquireReadLock0(IdentityLock.java:323)
  | 
  | at 
org.jboss.cache.lock.IdentityLock.acquireReadLock(IdentityLock.java:267)
  | 
  | at org.jboss.cache.lock.IdentityLock.acquire(IdentityLock.java:493)
  | 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:526)
  | 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:420)
  | 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireLocksWithTimeout(PessimisticLockInterceptor.java:348)
  | 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.handleGetNodeMethod(PessimisticLockInterceptor.java:301)
  | 
  | at 
org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:90)
  | 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:83)
  | 
  | at 
org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  | at 
org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:56)
  | 
  | at 
org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  | at 
org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:62)
  | 
  | at 
org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:452)
  | 
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleGetNodeMethod(TxInterceptor.java:245)
  | 
  | at 
org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:90)
  | 
  | at 
org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  | at 
org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:62)
  | 
  | at 
org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  | at 
org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:73)
  | 
  | at 
org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:123)
  | 
  | at 
org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:64)
  | 
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:450)
  | 
  | at 
org.jboss.cache.invocation.NodeInvocationDelegate.getChild(NodeInvocationDelegate.java:307)
  | 
  | at 
org.jboss.cache.invocation.NodeInvocationDelegate.addChild(NodeInvocationDelegate.java:278)
  | 
  | at org.jboss.cache.RegionManager.activateR

[jboss-user] [JBoss Tools (users)] - "Clean" in Eclipse gives error "Cannot rename web.xml" only

2008-11-07 Thread pxstein
At first I started successful the default configuration of JBossAS EAP v4.3 
from JBoss Development Suite.
Then I performed a "clean..." which means undeploy of all existing *.war web 
services from this
server. Unfortunately the server shows the following error as a result:

17:14:35,528 INFO  [TomcatDeployer] undeploy, ctxPath=/aTest, 
warUrl=.../deploy/aTest.war/
17:14:35,560 ERROR [MainDeployer] Deployer destroy failed for: 
file:/C:/jbdevstu/jboss-eap/jboss-as/server/default/deploy/aTest.war/
org.jboss.wsf.spi.deployment.WSFDeploymentException: 
javax.xml.ws.WebServiceException: Cannot rename web.xml: 
C:\jbdevstudio\jboss-eap\jboss-as\server\default\deploy\aTest.war\WEB-INF\web.xml.org
at org.jboss.wsf.spi.deployment.WSFDeploymentException.rethrow(Unknown 
Source)
at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.failsafeDestroy(Unknown
 Source)
at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.undeploy(Unknown 
Source)
at 
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.undeploy(ArchiveDeployerHook.java:111)
at 
org.jboss.wsf.container.jboss42.DeployerInterceptor.destroy(DeployerInterceptor.java:112)
...

Why?

When I do the same with a JBoss server v4.2.3 (which comes and is installed 
separately from JBDevStudio)
then there is no such error.

No config change were made to the JBOssEAP server

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187804#4187804

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - How to navigate the default login page to tasks?

2008-11-07 Thread fsk1234
Currently, when logged in, users are redirected to the processes.jsf.
How can I change it to tasks.jsf?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187806#4187806

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187806
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JBoss Tools support for Richfaces 3.2.2 in XHTML files

2008-11-07 Thread mike.baum
Recently I tried to update the richfaces library version in my seam-gen project 
to richfaces 3.2.2. I followed the instructions in the Richfaces developer 
guide to install the new version of richfaces but was unable to access the new 
components within XHTML files.

I posted this problem on the richfaces forum, where it was confirmed by another 
developer that the new components were only accessible within JSP files not 
XHTML files. Is there anyone out there who knows how I can get access to the 
new components (i.e. extendedDataTable) from XHML files. Is this a problem with 
JBoss Tools and/or Eclipse?

Thanks,

Mike

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187807#4187807

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member

2008-11-07 Thread [EMAIL PROTECTED]
So what does this stack trace look like when you don't use a cache loader?  :-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187808#4187808

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187808
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Help need to solve the jms not bound error

2008-11-07 Thread houston_dragon
Thanks. I have tried the #1 you suggested, same error.

I can not remove 


@Resource(mappedName="jms/NewMessageFactory")
private  ConnectionFactory connectionFactory;

Since this line will give me compiler error:

Connection connection = connectionFactory.createConnection();

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187810#4187810

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Help need to solve the jms not bound error

2008-11-07 Thread houston_dragon
In GlassFish v2, the NetBean6.1 IDE generate this file automatically:

set/up/sun-resources.xml


  | 
  | http://www.sun.com/software/appserver/dtds/sun-resources_1_3.dtd";>
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  |   
  |   
  | 

Just wondering where to have similar file and place we can have this in 
JBoss5.0.0

Thanks,

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187811#4187811

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member

2008-11-07 Thread wjm
Ah, yes.  Very fair question.  :-)  When it was apparant to me that the error 
lies in readInt() and readShort(), I didn't think about the rest.  Clearly 
thats where the problem is, but this is the form we see without a loader 
enabled:

30 [ERROR] RequestCorrelator.receiveMessage(): - failed unmarshalling buffer 
into return value
java.io.EOFException
at java.io.DataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown 
Source)
at java.io.ObjectInputStream.readShort(Unknown Source)
at 
org.jboss.cache.marshall.CacheMarshaller200.unmarshallObject(CacheMarshaller200.java:536)
at 
org.jboss.cache.marshall.CacheMarshaller200.objectFromObjectStream(CacheMarshaller200.java:147)
at 
org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:154)
at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544)
at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:365)
at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:746)
at org.jgroups.JChannel.up(JChannel.java:1151)
at org.jgroups.mux.Multiplexer$Task.run(Multiplexer.java:1036)
at org.jgroups.mux.Multiplexer$ExecuteTask.run(Multiplexer.java:1060)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source

I'll attach this to the bug as well.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187813#4187813

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187813
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member

2008-11-07 Thread genman
You're getting an EOF, meaning somebody in your cluster is cutting the 
connection to your system. It might just be a network connectivity issue. Look 
at the logs on the other machines (TRACE) and see what's triggering the 
disconnect, if it indeed is within the cache.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187814#4187814

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >