[JBoss-user] [Messaging, JMS JBossMQ] - JBoss message restoration

2005-12-09 Thread aq12ws
Hi 
 I am using oracle database for the   message persistence . The driver is for 
10g and database oracle 9i .when I restarted my JBoss 4.0.1 server . I get the 
following error :





org.jboss.mq.SpyJMSException: Could not restore messages to destination : 
TOPIC.MPEventsTopic.DurableSubscription[client
Id=ID:1 name=JMSEmailEventListener selector=event in 
('RequisitionItemCancelled','LoginNameAndPasswordAdded','DelegateAd
ded','DelegateDeleted','PurchaseOrderAccepted', 'PurchaseOrderCancelled', 
'PurchaseOrderItemCancelled','PurchaseOrderIss
ued','RequisitionCancelled','RequisitionRoutedToYouForApproval', 
'RequisitionApprovedAndPurchaseOrdersIssued','Requisiti
onRouted','RequisitionItemReceived','ItemShipped','PermissionGranted','PermissionRevoked','ProductPriceAdded',
 'ProductP
riceDeleted','ProductAdded','ProductDeleted','RequisitionDeleted','RequisitionItemDeleted','NewUserAddedToSystem',
 'User
DeletedFromSystem','UserTypeChanged','CategoryAccessGranted','CategoryAccessRevoked','ServiceAccessGranted',
 'ServiceAcc
essRevoked','RequisitionRejected','RequisitionItemRejected','LoginNameOrPasswordChanged','RequisitionApprovalCodeChanged
','RequisitionEmailNotificationFromWorkflow', 
'RequestForQuotationPosted','RequestForQuotationResponse','RequisitionItem
AddedAfterSubmittal','TransactionFeeInvoiceIssued','MarketplaceFeeInvoiceIssued',
 'DirectMarketplaceInvoiceIssued','Indi
rectMarketplaceInvoiceIssuedByMarketplaceAdministrator', 
'IndirectMarketplaceInvoiceIssuedBySupplier','DefaultCurrencyDe
leted','CurrencyNoLongerValid','AuctionPermissionGranted','AuctionPermissionRevoked','AuctionLaunched','CXMLTransmission
Failure','CXMLStatusUpdateRequestFailure','CXMLOrderStatusDataRequestTransmissionFailure','ClientCancelledShippedError',
'RequisitionItemProcessedExternally','RequisitionItemProcessedExternallyEmailRecipients','AccountLocked',
 'AccountUnlock
ed','OrderDenyToBuyers','PurchaseOrderMail','AdminAccountLocked','AddParallelApprover','AddParallelObserver','DeletePara
llelApprover','DeleteParallelObserver','ParallelApproverAdded', 
'ParallelApproverDelete','RequisitionExpedited','Requisi
tionExpediteDenied','OrderSubmittedByPreparer','ExpediteApprovedAndRoutedToSupplier','ExpediteDenied','BPORemainingAmoun
tNotification', 'AlternateApprovedAndRoutedToNextApprover', 
'RequisitionAlternateApproved','BPOReleaseOrderSubmittal','B
poAwaitingApproval','BpoOrderDenied','BpoOrderApproved','BpoOrderDenyToBuyers','BPOExpiryNotification',
 'BpoAddParallelA
pprover','BpoAddParallelObserver','BpoDeleteParallelApprover','BpoDeleteParallelObserver','BpoParallelApproverAdded','Bp
oParallelApproverDelete','BPOLineRemainingAmountNotification', 
'SomeItemsRejected','ShipNoticeItemShipped','CancelPurcha
seOrderMail', 'PurchaseOrderCancelledByPreparer', 
'PurchaseOrderCancelledBySupervisor', 'PurchaseOrderChangedByRequestor
', 'PurchaseOrderChangedByPreparer', 'PurchaseOrderCancelledByApprover', 
'PurchaseOrderCancelledByRequestorToPrep','Purc
haseOrderCancelledBySupervisorToPrep','ConfigUpdateFailed','SRUpdateFailed','RequisitionStuckNotification','RequisitionR
outedToDApproverForApproval', 'NewSupplierAdded','TestPOEmail')]; - nested 
throwable: (java.io.EOFException)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.restoreQueue(PersistenceManager.java:471)
at 
org.jboss.mq.server.JMSTopic.createDurableSubscription(JMSTopic.java:251)
at 
org.jboss.mq.server.JMSDestinationManager.addDestination(JMSDestinationManager.java:798)
at org.jboss.mq.server.jmx.Topic.startService(Topic.java:60)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at 

[JBoss-user] [JBoss Portal] - Re: portal 2.2 deployement warning/error

2005-12-09 Thread cpage
hi,

1) with jmx-console, i've destroyed and recreate the DB
2) wipe out the 3 dir.

I still have this problem:

09:51:42,226 WARN  [PortalDeployment] Cannot create portal object because the 
parent  that the deployment descriptor references does not exist
  | 09:51:42,231 WARN  [PortalDeployment] Cannot create portal object because 
the parent default that the deployment descriptor references does not exist
  | 09:51:42,236 WARN  [PortalDeployment] Cannot create portal object because 
the parent default that the deployment descriptor references does not exist
  | 09:51:42,241 WARN  [PortalDeployment] Cannot create portal object because 
the parent default.default that the deployment descriptor references does not 
exist
  | 09:51:42,250 WARN  [PortalDeployment] Cannot create portal object because 
the parent default.CMS Manager that the deployment descriptor references does 
not exist
  | 09:51:44,903 WARN  [PortalDeployment] Cannot create portal object because 
the parent default that the deployment descriptor references does not exist

seems like it doesn't like the default-objects.xml :p

i can go to the login page (/portal/auth) and log in,  but no error are raised. 
and I get a blank page.


in the log, I've these errors before, with tomcat:
and some warnings.

09:51:10,734 ERROR [JBossCacheService] 
jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found
  | 09:51:10,734 ERROR [JBossCacheManager] JBossCacheService to Tomcat 
clustering not found
  | 09:51:10,735 ERROR [TomcatDeployer] Failed to setup clustering, clustering 
disabled

09:51:35,256 WARN  [Configurator] No configuration found. Configuring ehcache 
from ehcache-failsafe.xml found in the classpath: 
jar:file:/usr/jboss/server/default/tmp/deploy/tmp62193ehcache.jar!/ehcache-failsafe.xml
  | 09:51:35,460 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.security.store.SecurityPolicy]; using defaults.
  | 09:51:35,899 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.security.store.HbmSecurityConstraint]; using defaults.
  | 09:51:36,133 WARN  [EhCacheProvider] Could not find configuration 
[org.hibernate.cache.UpdateTimestampsCache]; using defaults.

09:51:40,093 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.role.RoleImpl]; using defaults.
  | 09:51:40,361 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.PreferenceImpl]; using defaults.
  | 09:51:40,502 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.UserImpl]; using defaults.
  | 09:51:40,674 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.PreferencesImpl]; using defaults.
  | 09:51:40,725 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.PreferencesGroupImpl]; using defaults.
  | 09:51:40,763 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.UserImpl.dynamic]; using defaults.
  | 09:51:40,772 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.role.RoleImpl.users]; using defaults.
  | 09:51:40,774 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.PreferencesImpl.content]; using defaults.
  | 09:51:40,777 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.PreferenceImpl.strings]; using defaults.
  | 09:51:40,780 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.PreferencesGroupImpl.prefMap]; using defaults.
  | 09:51:40,782 WARN  [EhCacheProvider] Could not find configuration 
[org.jboss.portal.core.impl.user.UserImpl.roles]; using defaults.


thanks for help,
best regards.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911645


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: What happened to stopDelivery()?

2005-12-09 Thread oglueck
No answer?
Which MBean registers those methods? It is vital to be able to intermediately 
suspend delivery to an MDB! Imagine a productive system and you discover an 
error in your code that causes lots of messages to generate exceptions. Then 
you will need to stop delivery (automatically) until you have fixed the 
problem. Otherwise you will have a total mess of thousands of messages in the 
DLQ which are totally out of order.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911646


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Programmatic Authentication in JBoss?

2005-12-09 Thread evsrao
I'm able to do JAAS Login programmatically and seeing correct values for 
getCallerPrincipal() and isCallerInRole() in EJBs. But in the web tier, 
getUserPrincipal() returning Null and isUserInRole() returning false. How to 
let web container know that the user is already authenticated 
(programmatically)?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911648


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: please help me new to jboss,what values to set for follo

2005-12-09 Thread rohit_mca2000
oh common genman, 
it was urgent so wrote that way , but i guess was understandable.
Kindly do tell me if you know What are the Classes Org.jboss provides for 
QueueConnectionFactory and Queue.
Thanks 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911649


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Steps to deploy Portlet in Jboss Portal

2005-12-09 Thread Mohit
Hi 

Thank you very much gruenewa.

How should i deploy portlet app in
$PORTAL_HOME/server/default/deploy/jboss-portal.sar/ 

1 I mean whether it should be in .war form or extracted?

2 Do need to put web.xml?If yes how to map web.xml and protlet.xml?
 
3 I still have one confusion..do i need to use Pluto portlet container with 
Jboss Portal to use pluto portlet API?

Once agian thank you very much.

Mohit.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911650


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Cached Authentication issue.

2005-12-09 Thread tosenthu
anonymous wrote : This is actually something which is a rather major issue 
(IMO). The good news is that you can fix it by changing a configuration file 
(details follow). The bad news is that JBoss seems to be suffering from the 
same issues that have plagued IIS for years -- a default configuration that 
does not seem too concerned with security. 
  | 
  | In your deploy directory, you should have a file called 
security-service.xml -- open it and find the following line: 
  | 
  | 1800 
  | 
  | change it to: 
  | 
  | 0 
  | 
  | Save and restart JBoss.

hai dsimon,
The solution will allow me to login all the time. but i will not be able to get 
the cached lists of users. My issue is I want the list of cached users list and 
also need the authentication happen all the time by-passing the cache.

Thanks,
Senthil Kumar M Rangaswamy.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911652


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Portle and JavaServerFaces

2005-12-09 Thread giordano
Hi,

I am developing some portlet application using JBoss-Portal-2.0-jboss-4.0.2 and 
JavaServer Faces (MyFaces that include a bridge to develop portlet with 
JavaServer faces).
I developed an example where I put 2 portlet on my page. Each portlet contains 
a simple button and when I click on it the application write somethig on 
standard output. I noticed that only a portlet at time is active. If I click on 
the first portlet I see the output but if I click on the second portlet I don't 
see the output. If I maximize the second portlet and I click then I see the 
output of the second portlet. Is this behaviour right?
Otherwise how can I do to have both portlet active at the same time?

Thanks and regards,
Giordano

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911651


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: ManagedConnection [InUse/Avalilable/Max]: [-1/9/40] bug?

2005-12-09 Thread nielsc
Jason,

I know its been a while since you posted your problem.
Did upgrading fix your Inuse -1 problem. 

We are getting the same problem using JBoss 3.2.3 on Windows 2000.
We specifically see the problem on our connection pool for the persisted
JMS queues. We are using MSSQL as our database.

Cheers,
Niels

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911653


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Steps to deploy Portlet in Jboss Portal

2005-12-09 Thread gruenewa
1) I deploy my portlets in extracted form, for instance a helloworld portlet 
would be copied in the folder: 
$PORTAL_HOME/server/default/deploy/jboss-portal.sar/helloworld.war/

2) I don't know if web.xml is required but usually i add a minimal web.xml file 
to my portlet application:
-
?xml version=1.0?
web-app
/web-app
-

3) No, i think you don't need to use the pluto portlet container to run JSR 168 
portlets.

4) Which deployment descriptors to use depends on the jboss portal version. 
With version 2.2 some XML deployment descriptors where replaced by a new one: 
*-object.xml, but this is all well documented in the docs.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911654


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - if i use log4j.xml file how to write for rootCategory??

2005-12-09 Thread chaituu

what is the difference between  rootCategory and other categories in 
log4j.properties;


To get logged in prod1.log we access in java files like this;

private Log loggeMemory = LogFactory.getLog(com.common.java); 


i want to know how to write in java file to get logged in prod.log file?

if i use log4j.xml file how to write for rootCategory??

log4j.properties


# Root category
log4j.rootCategory=debug, R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=log/prod.log
log4j.appender.R.MaxFileSize=1024KB
# Keep forty backup files
log4j.appender.R.MaxBackupIndex=4
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d [%-5p] %c{2} %M.%L - %m%n

# Events category
log4j.category.com.common.java=debug, E
log4j.appender.E=org.apache.log4j.RollingFileAppender
log4j.appender.E.File=log/prod1.log
log4j.appender.E.MaxFileSize=512KB

log4j.appender.E.MaxBackupIndex=1
log4j.appender.E.layout=org.apache.log4j.PatternLayout
log4j.appender.E.layout.ConversionPattern=%d [%-5p] %c{2} %M.%L - %m%n


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911655


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - if i use log4j.xml file how to write for rootCategory??

2005-12-09 Thread chaituu

what is the difference between  rootCategory and other categories in 
log4j.properties;


To get logged in prod1.log we access in java files like this;

private Log loggeMemory = LogFactory.getLog(com.common.java); 


i want to know how to write in java file to get logged in prod.log file?

if i use log4j.xml file how to write for rootCategory??

log4j.properties


# Root category
log4j.rootCategory=debug, R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=log/prod.log
log4j.appender.R.MaxFileSize=1024KB
# Keep forty backup files
log4j.appender.R.MaxBackupIndex=4
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d [%-5p] %c{2} %M.%L - %m%n

# Events category
log4j.category.com.common.java=debug, E
log4j.appender.E=org.apache.log4j.RollingFileAppender
log4j.appender.E.File=log/prod1.log
log4j.appender.E.MaxFileSize=512KB

log4j.appender.E.MaxBackupIndex=1
log4j.appender.E.layout=org.apache.log4j.PatternLayout
log4j.appender.E.layout.ConversionPattern=%d [%-5p] %c{2} %M.%L - %m%n


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911656


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: violates loader constraints

2005-12-09 Thread sudhakaratbits
We are facing similar kinda problem. Can you please post your solution?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911657


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to track the process instance?

2005-12-09 Thread zhgd
ye !

I find it from TransitionLog   : )

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911658


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Conversation start with @Factory ?

2005-12-09 Thread landels
Hi lcoetzee,

Did you get it working? We have similar problem right now. And I was wondering 
about the return value of your @Factory and @Begin method. The docu says:
anonymous wrote : @Begin: Specifies that a long-running conversation begins 
when this method returns a non-null outcome without exception.
... and your method is void, right? Has this been changed? In the special case 
of @Factory and @Begin? On the other hand - which outcome should be returned 
here...

cu,

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911659


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-09 Thread lcoetzee
Hi Gavin

I can report that the issue I had with the @Factory and conversation start (see 
topic  below)  seems to be resolved with the new CVS version !
http://www.jboss.com/index.html?module=bbop=viewtopict=73310


Excellent work and much appreciated !

Thanks

Louis



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911661


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - JACC provider under JBoss 4.0.3

2005-12-09 Thread akrestan
Hi

I am experiencing following behaviour when using custom JACC provider with 
4.0.3 (I have done configuration JaasAuthenticationInterceptor, 
JaccAuthorizationInterceptor JBoss plugins, JaccAuthorizationRealm in Tomcat 
sar, and other settings for JACC provider):

1a) during call from a runAs configured EJB to another EJB the 
javax.security.jacc.PolicyContext.getContext(javax.security.auth.Subject.container)
 method returns subject populated with a SimplePrincipal that contains the 
runAs role name, not the runAs principal configured in jboss.xml for the 
EJB. 

1b) during call from a runAs configured servlet to EJB the 
javax.security.jacc.PolicyContext.getContext(javax.security.auth.Subject.container)
 method returns subject with no principal although the servlet has the runAs 
principal configured in jboss-web.xml.

However the internal SecurityAssociation.getCallerPrincipal() does return the 
configured runAs principal at least in the EJB container.

JACC 1.0 specification chapter 4.6.1.1 says caller's or runAs identity should 
be returned, but I am not sure what is meant by it. I am trying to control 
access to components based on identity, e.g. username of the user that is 
authenticated and in case of runAs  on the principal configured for the 
runAs role.

2) when EJBContext.getCallerPrincipal() is called in an EJB that is called from 
an EJB with configured runAs role the principal I am getting is the principal 
that has authenticated to the container, not the principal associated with the 
runAs role. However, if the caller is NOT authenticated to the EJB container 
the same call returns principal that IS associated with the runAs role. I am 
using custom login module not inherited from JBoss abstract login modules.

3) the call to SessionContext.isCallerInRole(String roleName) does not consult 
the JACC provider. IMO it should check for the EJBRoleRefPermission. The 
servlet container seems to be working OK, i.e. the call to 
HttpServletRequest.isUserInRole(String role) consults the JACC provider for 
WebRoleRefPermission.

A.K.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911662


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Problem with request encoding in JBOSS 4.0.2

2005-12-09 Thread vramakr
I got the problem resolved by adding these attributes in the connector of 
tomcat server.xml.

 Connector port=8080 address=${jboss.bind.address}
 maxThreads=250 strategy=ms maxHttpHeaderSize=8192
 emptySessionPath=true
 enableLookups=false redirectPort=8443 acceptCount=100
 connectionTimeout=2 disableUploadTimeout=true 
useBodyEncodingForURI=true URIEncoding=SJIS/

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911663


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss Security

2005-12-09 Thread Luis Correia
Hi to you all !
I have to check if the security settings of a JBoss server are appropriated.

Can anyone please tell me where should I start?

Is there a security check list ?



Please fell free to send me any documentation that you think it might help.

I also have to analyse the security settings of a Tomcat server...RegardsLuís Correia

-- Cumprimentos,Luís Correia


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't deploy new cmp entity: ArrayIndexOutOfBoundsExcept

2005-12-09 Thread chrisburt
I switched all the Entity beans in my deployment to use cmp2.x jdbc2 pm so I'm 
not mixing containers either.

Unless my eyes are failing me, your ejb-jar.xml seems to be missing a 
primkey-field element, and from looking at the JBoss code this problem seems 
to have something to do with PK fields.  However, this isn't missing in my 
descriptors and the deployment still fails.

Let me know if this helps...

Chris

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911664


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Conversation start with @Factory ?

2005-12-09 Thread lcoetzee
Hi,

I got it working using the latest CVS version of Seam. Gavin posted a fix very 
recently:

http://www.jboss.com/index.html?module=bbop=viewtopict=73702

Here is my factory method :

  | @Factory(contentLoaded)
  | @Begin
  | public String findAllNapContent() {
  | logger.info(Loading all content. Starting conversation);
  | loadContent();
  | loadAllLanguages();
  | contentLoaded = new String(content loaded);
  | return success;
  | }

I don't think the return value is really used by the @Factory as the page that 
gets displayed is the one that you initially requested in the GET.  However, if 
you should also use that method through a commandlink/commandaction mechanism 
the return value will determine the next page to display based on your 
navigation rule in the faces-config.xml.

Regards

Louis



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911665


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Port 1098 is taken

2005-12-09 Thread DrHok
kannaiyanbalaji wrote : 
  | java.rmi.server.ExportException: Port already in use: 1098; nested 
exception is: 
  | java.net.BindException: Address already in use: JVM_Bind
  | 

You don't need to move JBoss to a different port. It is sufficient and maybe 
even better to reserve some ports using regedit. It is described here (in the 
reply by fbiaggi):

http://www.jboss.com/index.html?module=bbop=viewtopict=64248

Port range 1098-1099 works for me.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911666


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portle and JavaServerFaces

2005-12-09 Thread giordano
Hi,

I found the solution. The problem is in the Jboss-portal-2.0-jboss-4.0.2. I 
suppose it has some bug. I tried the same portlet application in 
JBoss-Portal-2.0.1-jboss-4.0.2 and it works fine.

Giordano

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911667


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Jbpm saveProcessInstance design

2005-12-09 Thread [EMAIL PROTECTED]
you might have a very specific situation where subprocessing fails.

in case you have multiple subprocesses that don't have wait states.  because 
the token has only 1 pointer to the current subprocess. 

we might fix this later but this has no priority atm.  although we also want to 
support processes without wait states, they are not our main target and it is 
considered a rare situation.

regards, tom.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911668


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Conversation start with @Factory ?

2005-12-09 Thread landels
Cool, we give it a try! :)
thanks,
Lachezar

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911669


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Jbpm saveProcessInstance design

2005-12-09 Thread [EMAIL PROTECTED]
the real solution will be to keep a list of all the subprocesses in the 
ProcessInstance (in a member that is not persisted with hibernate)

then the save operation can take this list and store the subprocesses properly. 
 this technique is similar as with e.g. logs, timers, ...

regards, tom.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911670


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - ManagedConnection [InUse/Available/Max]: Inuse exceeds Max

2005-12-09 Thread nielsc
We are using JBoss 3.2.3 running on Windows 2003 Server with MSSQL as our 
database.

We are persisting JMS queues to a MSSQL database.

The mssql-ds.xml file is below


  local-tx-datasource
jndi-nameMSSQLDS/jndi-name

connection-urljdbc:jtds:sqlserver://artichoke:1433;databasename=casl/connection-url
driver-classnet.sourceforge.jtds.jdbc.Driver/driver-class
user-namex/user-name
x

!-- sql to call when connection is created --
new-connection-sqlSELECT 1 FROM CAS_USER/new-connection-sql

!-- sql to call on an existing pooled connection when it is obtained from 
pool --
check-valid-connection-sqlSELECT 1 FROM 
CAS_USER/check-valid-connection-sql

min-pool-size1/min-pool-size
max-pool-size100/max-pool-size
blocking-timeout-millis3/blocking-timeout-millis

  /local-tx-datasource



From the server.log file the number of InUse connection slowly grows, greatly 
exceeding the maximum connections limit.

A connection may get used for about 2 hours. That is retrieved and replaced 
from the connection pool. After that period it seems that it is no longer used. 
Here are some snippets from the log file.

2005-11-24 02:19:58,722 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying new 
ManagedConnection: [EMAIL PROTECTED]
2005-11-24 02:19:58,722 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Getting 
connection from pool [InUse/Available/Max]: [2859/11/100]
2005-11-24 02:19:58,738 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] putting 
ManagedConnection back into pool
2005-11-24 02:19:58,738 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Returning 
connection to pool [InUse/Available/Max]: [2858/11/100]


Then about 2.5 hours later

2005-11-24 04:52:54,254 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying 
ManagedConnection from pool: [EMAIL PROTECTED]
2005-11-24 04:52:54,254 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Getting 
connection from pool [InUse/Available/Max]: [3103/11/100]
2005-11-24 04:52:54,254 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] putting 
ManagedConnection back into pool
2005-11-24 04:52:54,254 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Returning 
connection to pool [InUse/Available/Max]: [3102/11/100]


So from these two snippets it can be seen that the InUse count has increased 
significantly.
The connection [EMAIL PROTECTED] is not used after this. This may be correct in 
that it has been cleaned up from the pool as it has been used a certain number 
of times.

What worries me is the increasing InUse count.

Finally an OutOfMemory exception is thrown

2005-11-24 07:16:43,425 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Returning 
connection to pool [InUse/Available/Max]: [4/3/20]
2005-11-24 07:16:43,440 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract 
java.util.Collection 
com.beatSystems.mobaq.core.bean.localInterfaces.UploadServiceLocal.handle(com.beatSystems.soapMessage.dataModel.UserInfo,com.beatSystems.soapMessage.dataModel.DataPayload),
 causedBy:
javax.ejb.EJBException: Unexpected Error
java.lang.OutOfMemoryError

at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:182)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:700)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)
at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
at $Proxy50.handle(Unknown Source)



The application server is being used fairly lightly and it may take a couple of 
days to reach this point.

The InUse count exceeding the Max connections used causes me concern. Is this 
just a red herring and the InUse count is wrong or are there actually 3000 odd 
connections in use. Even if there aren't 3000 connections in use could this be 
the cause of the memory (resource) leak?

Note that the other two connection pools we use don't excced their Max limit of 
20. The JMS connection pool Max limit is a 100.

Cheers,
Niels

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

Reply to the 

[JBoss-user] [Clustering/JBoss] - Re: TreeCacheSSOClusterManager, NullPointer in addSession, 4

2005-12-09 Thread AndiWausS
thank you very much, that was fast and helpful!

you might want to consider to comment in the jboss-service.xml that the 
dependsjboss.cache:service=TomcatClusteringCache/depends
is needed for SSO since 4.0.3.
Just proposing to maintain the excellent quality of comments in all the other 
config-elements! :-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911672


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Clustering for SFSB in case of network failure..

2005-12-09 Thread ehskaga
I have a cluster having Stateful session bean (SFSB) deployed. While trying to 
emulate a failover, i simulated a failure by taking out the network chord 
(which for me is a case of network failure) of one node which was servicing a 
request. The default behaviour is that of client waiting endlessly for 
something to happen whereas the server has gone down. 
   How to resolve this issue, would it be resolved by specifying the time out 
(if yes then where is that specified), else what needs to be done.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911673


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Topic takes longer thatn Queue

2005-12-09 Thread balteo
There is no benchmark. Simply I noticed that on my console and I was just 
wondering if there might be an obvious reason that I don't see
Julien.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911674


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-09 Thread JamesWoodward
I'm getting the following error:

10:53:26,178 ERROR [[/experian]] Session event listener threw exception
  | java.lang.NullPointerException
  | at 
org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:61)
  | at 
org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:150)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:83)
  | at $Proxy99.destroy(Unknown Source)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
  | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:177)
  | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:165)
  | at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:118)
  | at 
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:44)
  | at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:675)
  | at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
  | at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:655)
  | at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:640)
  | at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
  | at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
  | at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
  | at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
  | at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
  | at java.lang.Thread.run(Thread.java:595)

To reproduce this, just create a single JSF page backed by a Session scoped 
Stateful Seam component. Display the page in your browser...and wait!




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911675


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - How we offer portlets on behalf of other applications.

2005-12-09 Thread swathish
I have two applications implemented in struts and database is oracle for those 
applications developed using weblogic server. 
Now, how we offer jboss portals from those applications or on behalf of those 
applications. Is this possible by using jbossportal server? 
How we transition the user between portlets and the full applications?
Please guide me with your suggestions whether I can design this or not.

Thanks.





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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911676


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: if i use log4j.xml file how to write for rootCategory??

2005-12-09 Thread chaituu
this is my log4j.xml

Is it correct way to define rootCatgory?

what is addivity?where can i define that one for rootCategory?

?xml version=1.0 encoding=UTF-8?
!DOCTYPE log4j:configuration SYSTEM log4j.dtd

!-- = --
!--   --
!--  Log4j Configuration  --
!--   --
!-- = --

!-- $Id: log4j.xml,v 1.26.2.2 2005/03/02 14:52:20 tdiesler Exp $ --

!--
   | For more configuration infromation and examples see the Jakarta Log4j
   | owebsite: http://jakarta.apache.org/log4j
 --

log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; 
debug=false

   !-- = --
   !-- Preserve messages in a local file --
   !-- = --

   !-- A time/date based rolling appender --
   
  
  
  
  

  !-- Rollover at midnight each day --
  param name=DatePattern value='.'-MM-dd/

  !-- Rollover at the top of each hour
  param name=DatePattern value='.'-MM-dd-HH/
  --

  
 !-- The default pattern: Date Priority [Category] Message\n --
 

 !-- The full pattern: Date MS Priority [Category] (Thread:NDC) 
Message\n
 
  --
  
   

   !-- A size based file rolling appender 
   
 
 
 
 
 

 
   
  
   
   --


 
 
 
 
 

 
   
  
   


   !-- == --
   !-- Append messages to the console --
   !-- == --

   
  
  
  

  
 !-- The default pattern: Date Priority [Category] Message\n --
 
  
   

   !-- == --
   !-- More Appender examples --
   !-- == --

   !-- Buffer events and log them asynchronously
   
 
 appender-ref ref=FILE/
 appender-ref ref=CONSOLE/
 appender-ref ref=SMTP/
   
   --

   !-- EMail events to an administrator
   
 
 
 
 
 
 
 
 
   
 
   
   --

   !-- Syslog events
   
 
 
 
 
   
   --

   !-- Log events to JMS (requires a topic to be created)
   
 
 
 
 
   
   --

   !-- Log events through SNMP
   
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
   
   --

   !--  --
   !-- Limit categories --
   !--  --

   !-- Limit the org.apache category to INFO as its DEBUG is verbose --
   
  
   

   !-- Limit the org.jgroups category to WARN as its INFO is verbose --
   
  
   

   !-- Limit apache axis to INFO as its DEBUG is even more verbose --
   
  
   

   !-- Limit JBoss categories --
   
  
  


   !-- Limit the JSR77 categories --
   
  
   



   
 
   
 
   !-- Limit JBoss webservice category
   
  
   
   --

   !-- Decrease the priority threshold for the org.jboss.varia category
   
 
   
   --

   !-- Show the evolution of the DataSource pool in the logs 
[inUse/Available/Max]
   
 
   
   --

   !--
  | An example of enabling the custom TRACE level priority that is used
  | by the JBoss internals to diagnose low level details. This example
  | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
  | subpackages. This will produce A LOT of logging output.
   
 
   
   
 
   
   --
  
   !--
   | Logs these events to SNMP:
   - server starts/stops
   - cluster evolution (node death/startup)
   - When an EJB archive is deployed (and associated verified messages)
   - When an EAR archive is deployed

   
 
 appender-ref ref=TRAP_LOG/
   
  
   
 
 appender-ref ref=TRAP_LOG/
   

   
 
 appender-ref ref=TRAP_LOG/
   
   
   
 
 appender-ref ref=TRAP_LOG/
   
   
   
 
 appender-ref ref=TRAP_LOG/
   
   
  
   --


   !-- === --
   !-- Setup the Root category --
   !-- === --

   
  appender-ref ref=CONSOLE/
  appender-ref ref=FILE/
appender-ref ref=ROLLING/
   

   !-- Clustering logging --
   !-- Uncomment the following to redirect the org.jgroups and
  org.jboss.ha categories to a cluster.log file.

   
 
 
 
 
 

 
   
 
   
   
 
 appender-ref ref=CLUSTER/
   
   
 
 appender-ref ref=CLUSTER/
   
   --

/log4j:configuration


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911677


---
This SF.net email is 

[JBoss-user] [Beginners Corner] - Re: if i use log4j.xml file how to write for rootCategory??

2005-12-09 Thread chaituu
in the jsp i write like this

Logger  logger = LogFactory.getLog(this.getClass());
logger.info(log message);

in which log file this log message will be stored either in rootCategory or 
category?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911678


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-09 Thread [EMAIL PROTECTED]
Thanks Gavin good work.

...but i have the same error of JamesWoodward. In particular i find the error 
appear after a stateful session bean have been passivate. After the server 
unpassivate session bean i have EntityManagerFactory not bound!

Why?

Can i set passivate? 

Thanks

N.B. I use Postgresql

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911679


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Excel file with Japanese name not opening from the browser

2005-12-09 Thread vramakr
Hi,

I have to open an excel file (whose name can be in japanese) from a JSP. I had 
used window.open() for this and was working fine on JBOSS3.2.1. But now we 
migrated to JOSS 4.0.2 and since then, I am getting http 404 for opening the 
excel file name in japanese. Looks like the file name is url encoded as it 
shows something like

The requested resource 
(/webconsole/testbrix/EN/webconsole/TBUpload/%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%AE_v4.xls)
 is not available.

and on the address bar of IE, it shows
http://localhost:8080/webconsole/testbrix/EN/webconsole/TBUpload/?_v4.xls


where the file name in japanese is proper.

Can anybody help? Is there any difference in configuration between JBOSS3.2 and 
JBOSS 4.0.2

Thanks


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911680


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Excel file with Japanese name not opening from the brows

2005-12-09 Thread vramakr
Oops, japanese file name in my post is shown to be .xls but in my 
browser window, I can see proper file name

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911681


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Problem with conversation!! HELP

2005-12-09 Thread [EMAIL PROTECTED]
not yet, but i think it's correlated to the passivation!

http://www.jboss.com/index.html?module=bbop=viewtopict=73702

if do u have news post it

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911682


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: 2 weapps - 2 set of Roles (JAAS)

2005-12-09 Thread andersonra
Is it possible deploy webapps A on one server and webapps B on the other server 
?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911683


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-09 Thread [EMAIL PROTECTED]
This sounds like a bug in JBoss EJB3. Please submit it to JIRA. Even better if 
you can include a runnable test case.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911684


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Error on TaskInstance.isOpen

2005-12-09 Thread smcgrath
Using the latest code cvs I am getting the following error. Here is the stack 
trace.

org.hibernate.PropertyAccessException: could not set a field value by 
reflection setter of org.jbpm.taskmgmt.exe.TaskInstance.isOpen
at 
org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:81)
at 
org.hibernate.tuple.AbstractTuplizer.setPropertyValues(AbstractTuplizer.java:207)
at 
org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:171)
at 
org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2922)
at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:492)
at org.hibernate.loader.Loader.doQuery(Loader.java:411)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:206)
at org.hibernate.loader.Loader.loadCollection(Loader.java:1360)
at 
org.hibernate.loader.collection.OneToManyLoader.initialize(OneToManyLoader.java:107)
at 
org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:488)
at 
org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
at 
org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1353)
at 
org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:170)
at 
org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:47)
at 
org.hibernate.collection.PersistentSet.isEmpty(PersistentSet.java:117)
...
Caused by: java.lang.IllegalArgumentException
at 
sun.reflect.UnsafeBooleanFieldAccessorImpl.set(UnsafeBooleanFieldAccessorImpl.java:62)
at java.lang.reflect.Field.set(Field.java:656)
at 
org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:78)
... 48 more


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911685


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Question on configuration in sub process invocation

2005-12-09 Thread ayca
Hi,

I have a process invoking a subprocess. You know, we include a configuration 
xml in CDATA tag inside process-state tag. 

This configuration I write is 470 characters long. I looked at the table 
JBPM_DELEGATION, and configuration column is varchar 4000, it is okay.

I deploy the super process, it is successful. I make a select statement in sql 
editor. I see that the length of what I have inserted in configuration column 
is 470 chars long, but when it comes to this process-state and invokes the 
DefaultProcessInvocationHandler but in the configure method, it can get only 
255 characters of the configuration as input, and tough throws an exception 
the default process invocation handler was not configured properly.

In reality, the correct configuration data is out there in the database, but 
the code cannot retrieve all of it, when it reaches over 255 characters.

What configuration shall I make to handle this situation? 

Thanks in advance :-)



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911686


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Infinite loop query and log statements

2005-12-09 Thread phon
hello,

can anyone tell me what this means in the DEBUG log : 

13:20:22,655 DEBUG [Cascade] done cascade ACTION_PERSIST_ON_FLUSH for 
collection:

it happens on collections that are not annoted with the CascadeType, when i do 
a certain query this even get the server in a very long loop that keeps running 
after the client timed out..

i haven't pinned down the exact source of this, but have carefully checked all 
my cascade annotations and they seem to be correct

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911688


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: portal 2.2 deployement warning/error

2005-12-09 Thread [EMAIL PROTECTED]
it looks like the context entry does not exist in the database which is strange 
as it is create during the startup if it does not exist.

the warn for tomcat and ehcache are not important.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911689


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - SSO Configuration

2005-12-09 Thread anjani_srikanth
Hi,

We have two applications which runs on WebLogic Server and now we are planning 
to move them to JBoss Portal Server. Each Application will connect to two 
different databases. Here my question is how do i integrate them with SSO.

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911690


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Change index.html start page

2005-12-09 Thread marcguyot
I don't know how to change the start page of JBoss. 
When i access http://localhost:8080/, i would like directly to go to the 
index.htlm page of my project.
Thanks for help.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911692


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-09 Thread JamesWoodward
More info:

2005-12-09 12:47:15,543 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Attempting 
to passivate; id=4sg5n-76ac5q-eh0b5h6e-1-eh0gzyqn-w
  | 2005-12-09 12:47:15,543 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Saving 
session state to: 
C:\Java\jboss-4.0.3SP1\server\all\tmp\sessions\uk.co.mclgroup.experian.seam.CurrentUserBean-eh0gzofj-u\4sg5n-76ac5q-eh0b5h6e-1-eh0gzyqn-w.ser
  | 2005-12-09 12:47:15,824 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Passivation 
complete; id=4sg5n-76ac5q-eh0b5h6e-1-eh0gzyqn-w
  | 2005-12-09 12:47:15,824 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Attempting 
to passivate; id=4sg5n-76ac5q-eh0b5h6e-1-eh0h09dg-x
  | 2005-12-09 12:47:15,824 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Saving 
session state to: 
C:\Java\jboss-4.0.3SP1\server\all\tmp\sessions\uk.co.mclgroup.experian.seam.HistoryBean-eh0gzoha-v\4sg5n-76ac5q-eh0b5h6e-1-eh0h09dg-x.ser
  | 2005-12-09 12:47:15,840 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Passivation 
complete; id=4sg5n-76ac5q-eh0b5h6e-1-eh0h09dg-x
  | 2005-12-09 12:47:48,434 DEBUG [javax.faces.webapp.FacesServlet] service 
begin
  | 2005-12-09 12:47:48,450 DEBUG [org.jboss.seam.contexts.Lifecycle]  Begin 
web request
  | 2005-12-09 12:47:48,497 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.manager
  | 2005-12-09 12:47:48,497 DEBUG [org.jboss.seam.core.Manager] No stored 
conversation
  | 2005-12-09 12:47:48,497 DEBUG [org.jboss.seam.contexts.Contexts] found in 
application context: org.jboss.seam.core.init
  | 2005-12-09 12:47:48,497 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] After 
restore view, conversation context: ConversationContext(168)
  | 2005-12-09 12:47:48,497 DEBUG 
[org.jboss.seam.contexts.BusinessProcessContext] Created BusinessProcessContext
  | 2005-12-09 12:47:48,497 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: currentUser
  | 2005-12-09 12:47:48,497 DEBUG [org.jboss.seam.contexts.Contexts] found in 
session context: currentUser
  | 2005-12-09 12:47:48,497 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to seam component
  | 2005-12-09 12:47:48,497 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Attempting 
to activate; id=4sg5n-76ac5q-eh0b5h6e-1-eh0gzyqn-w
  | 2005-12-09 12:47:48,497 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Reading 
session state from: 
C:\Java\jboss-4.0.3SP1\server\all\tmp\sessions\uk.co.mclgroup.experian.seam.CurrentUserBean-eh0gzofj-u\4sg5n-76ac5q-eh0b5h6e-1-eh0gzyqn-w.ser
  | 2005-12-09 12:47:48,497 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Removing 
passivated state file: 
C:\Java\jboss-4.0.3SP1\server\all\tmp\sessions\uk.co.mclgroup.experian.seam.CurrentUserBean-eh0gzofj-u\4sg5n-76ac5q-eh0b5h6e-1-eh0gzyqn-w.ser
  | 2005-12-09 12:47:48,528 DEBUG 
[org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor]  
LongLivedSessionPropagationInterceptor
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.contexts.Contexts] found in 
event context: org.jboss.seam.core.manager
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: sessionScope
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.Component] seam component not 
found: sessionScope
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: sessionScope
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.Component] seam component not 
found: sessionScope
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: sessionScope
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.Component] seam component not 
found: sessionScope
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to managed bean
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolving name: history
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.contexts.Contexts] found in 
session context: history
  | 2005-12-09 12:47:48,528 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] 
resolved name to seam component
  | 2005-12-09 12:47:48,528 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Attempting 
to activate; id=4sg5n-76ac5q-eh0b5h6e-1-eh0h09dg-x
  | 2005-12-09 12:47:48,528 DEBUG 
[org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Reading 
session state from: 
C:\Java\jboss-4.0.3SP1\server\all\tmp\sessions\uk.co.mclgroup.experian.seam.HistoryBean-eh0gzoha-v\4sg5n-76ac5q-eh0b5h6e-1-eh0h09dg-x.ser
  | 2005-12-09 

[JBoss-user] [Beginners Corner] - JBoss as a RMI Server

2005-12-09 Thread chris.mag
Hi, 
I'm really new to JBoss and would really appreciate any help on this...

Following lies some details but my real question is :
How to set up a couple of plain old RMI Remote object available through a 
lookup (be it rmi registery or JNDI?)

First of all some background information:
I'm trying to port our current project to JBoss for:
1- commercial reasons (ie we *have to* use an application server anyway)
2- be able to benefit mostly from the persistence framework and other cool 
stuff (but that's for later)

The current application is a swing-based and connects to the serverside via RMI.
There are 4 RMI RemoteObjects registered in the RMI Registery (these could be 
considered as stateless), one of them providing methods to return some other 
Remote objects ( these not beeing registered in the RMI registery and could be 
considered as statefull).

I haven't found how to expose the 4 RMI RemoteObject in the RMI registery from 
JBoss.
So if there is a way of doing it, I'd greatly appreciate if someone could point 
me to how to do it.

We're are not really willing to use EJB, nor SessionBeans if we can keep away 
from the J2EE stack, by using simple POJOs. (Actually, all of our remote 
objects are enhanced at run-time by CGLib (FYI) )

Then, I thought that I could declare the 4 RMI RemoteObject (the ones that are 
exposed in the RMI registery) as StatelessSessionBeans and live with it 
happilly. 
Unfortunately, JBoss won't allow me to declare a method returning a Remote 
object (not an EJB, just a plain RMI Remote object). (I guess that it would 
prevent the container to handle the Remote object )

So the question really is: 
How to set up a couple of plain old RMI Remote object available through a 
lookup (be it rmi registery or JNDI?)

Thanks in advance for any help
Cheers
Chris


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911695


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please try out CVS

2005-12-09 Thread JamesWoodward
Look slike it has been fixed in EJB 3.0 RC4

See http://jira.jboss.com/jira/browse/EJBTHREE-324

Any idea when this RC will be released?

Is it as easy to build from CVS as Seam?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911697


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Workflow design advice sought

2005-12-09 Thread armorris007
I have the following process definition:

?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns=http://jbpm.org/3/jpdl; xmlns:xs=http://www.w3.org/2001/XMLSchema;
  |  
xsi:noNamespaceSchemaLocation=file:/C:/jbpm-starters-kit-3.0.1/jbpm/src/java.jbpm/org/jbpm/jpdl/xml/jpdl-3.0.xsd
  |  name=SYS_SHELFLIFE_CHECKER  
  | 
  |   start-state name=start
  | transition to=poll /  
  |   /start-state
  |   
  |   state name=poll
  | transition to=poll /
  | transition name=time-out to=checkeventsubs /
  | timer name=batchtimer duedate=30 seconds transition=time-out /
  |   /state
  |   
  |   decision name=checkeventsubs
  | handler 
class=com.andy.jbpm.handler.shelflife.CheckForExpiredKnowledgeItems/handler
  | transition name=fwd to=createtasks/transition
  | transition name=back to=poll/transition
  |   /decision
  |   
  |   task-node create-tasks=false name=createtasks
  | event type=node-enter
  |   action 
class=com.andy.jbpm.handler.shelflife.CreatePooledTask/action
  | /event
  | task name=revalidation
  |   controller
  | variable name=knowledgeitemID/variable
  |   /controller
  | /task
  | transition name=fwd to=checkeventsubs /
  |   /state
  | 
  |   end-state name='end' /
  | /process-definition
  | 

The problem I am facing is one of how to model a workflow which is driven by a 
system event - as opposed to an event initiated by an actor.

I want a workflow process which will poll my knowledge items table every 30 
seconds (this is achieved in the CheckForExpiredKnowledgeItems 
DecisionHandler).

My question really is about how to manage variable passing.
Effectively my CheckForExpiredKnowledgeItems will pass execution to the 
createtasks node if it finds an expired KnowledgeItem.

I am currently passing the item in question to the CreatePooledTask - by adding 
the javabean to the executionContext as a variable and reading this within the 
CreatePooledTask handler. This seems a little clunky however. Is there any 
better way of doing this, making this variable passing more explicit in the 
workflow itself?

The CreatePooledTask ActionHandler will read this javabean off the request and 
create a task instance for it, setting the value of knowledgeItemID on the 
taskinstance - and setting a number of pooledActorIds.

Does this sound sensible?

One other thing that has been niggling me is the issue over these type of long 
running workflows. Essentially, this workflow will never terminate, as once 
it's created tasks I want the workflow to continue to poll for new items. Is 
this dangerous? Am I manipulating the workflow engine to work in a way in which 
it wasn't designed?

Many thanks for any guidance.

Cheers,

Andy


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911702


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBOSS jBPM tool evaluation Help Required

2005-12-09 Thread nildon
Following changes I did:

1. Read rootToken from the instance I read from the database.

Token rootToken = procInst.getRootToken();

2. signal the rootToken by specifying transition name

rootToken.signal(toReadLoansData);

But now I am getting following error
java.lang.IllegalStateException: couldn't signal token 'Token(/)' : couldn't 
leave node 'null' over the its transition 'toReadLoansData'
at org.jbpm.graph.exe.Token.signal(Token.java:101)
at 
com.sample.SimpleProcessTest.readProcessInstance(SimpleProcessTest.java:199)
at 
com.sample.SimpleProcessTest.testSimpleProcess(SimpleProcessTest.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

I don't understand when it says 'couldn't leave node 'null'' , which node it is 
refering to and which it getting as NULL.

I want to achieve following:
- Create Process Definition and store it in database using 
jbpmSession.getGraphSession().saveProcessDefinition(definition);

I am using MSSQL. This process has one State node at which execution should 
wait for external input. I have to use State and not task-node as i want to 
take user input.

- create process instances of this process and start execution.  The instance 
will wait at the State node.  Store the waiting processing instance in database.

- Read the saved process instance from the database when external input is 
received and restart the execution.

Please confirm that the approach is correct.  Thanks for any better approaches.

Regards,
Nilesh


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911703


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: jbossj2ee-src.zip

2005-12-09 Thread [EMAIL PROTECTED]
 [javac] Compiling 4 source files to C:\Java\Downloads\j2eetutorial14\example
ank\build
 [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
mplate\DefinitionTag.java:66: inconvertible types
 [javac] found   : javax.servlet.jsp.JspContext
 [javac] required: javax.servlet.jsp.PageContext
 [javac] PageContext context = ((PageContext) getJspContext());
 [javac]   ^
 [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
mplate\InsertTag.java:58: inconvertible types
 [javac] found   : javax.servlet.jsp.JspContext
 [javac] required: javax.servlet.jsp.PageContext
 [javac] PageContext context = (PageContext) getJspContext();
 [javac]  ^
 [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
mplate\InsertTag.java:93: cannot resolve symbol
 [javac] symbol  : constructor JspTagException (java.lang.String,java.lang.Th
able)
 [javac] location: class javax.servlet.jsp.JspTagException
 [javac] throw new JspTagException(ex.getMessage(), rootCause);
 [javac]   ^
 [javac] 3 errors

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911706


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Please Help

2005-12-09 Thread tamera
Thanks for your help
ouf, es geht :)


It's running now

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911704


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: java.io.UnsupportedEncodingException: null when using fa

2005-12-09 Thread hookomjj
this should be fixed in facelets release 1.0.4-- I believe it relates to the 
ResponseWriter generated by MyFaces having a null ContentType (which Facelets 
will explicitly set on the response header before instantiating the Servlet's 
ResponseWriter).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911705


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: jbossj2ee-src.zip

2005-12-09 Thread [EMAIL PROTECTED]
HELP, I'M GETTING THESE ERRORS WHEN TRYING TO BUILD:


 [javac] Compiling 4 source files to C:\Java\Downloads\j2eetutorial14\example
ank\build
 [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
mplate\DefinitionTag.java:66: inconvertible types
 [javac] found   : javax.servlet.jsp.JspContext
 [javac] required: javax.servlet.jsp.PageContext
 [javac] PageContext context = ((PageContext) getJspContext());
 [javac]   ^
 [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
mplate\InsertTag.java:58: inconvertible types
 [javac] found   : javax.servlet.jsp.JspContext
 [javac] required: javax.servlet.jsp.PageContext
 [javac] PageContext context = (PageContext) getJspContext();
 [javac]  ^
 [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
mplate\InsertTag.java:93: cannot resolve symbol
 [javac] symbol  : constructor JspTagException (java.lang.String,java.lang.Th
able)
 [javac] location: class javax.servlet.jsp.JspTagException
 [javac] throw new JspTagException(ex.getMessage(), rootCause);
 [javac]   ^
 [javac] 3 errors

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911707


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: java.io.UnsupportedEncodingException: null when using fa

2005-12-09 Thread hookomjj
hookomjj wrote : this should be fixed in facelets release 1.0.4-- I believe 
it relates to the ResponseWriter generated by MyFaces having a null ContentType 
(which Facelets will explicitly set on the response header before instantiating 
the Servlet's ResponseWriter).

Oops, I meant ADF-- but I need to talk with Oracle yet about the 'correct' way 
to hande this, but it should work now without a hitch.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911710


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - powerpoint files not displaying right

2005-12-09 Thread florcsk2
When I take a powerpoint file (something.ppt) and put the file in the root 
directory, if I try to use IE 6 to see it, it tries to display in the browser 
window and all it produces is binary garbage. Firefox will show it fine. (I am 
running JBoss 4.0.3SP1) However, when the file is distributed with a standard 
Apache server, both IE 6 and Firefox handle it fine. IE 6 opens it IN the 
browser window.

The only combination that does not seem to work is JBoss + IE6 + Powerpoint. 
(MS Word docs download and display fine.)

I have tried adding the following lines to web.xml:

mime-mapping
ppt
mime-typeapplication/vnd.ms-powerpoint/mime-type
/mime-mapping

but it still displays as binary garbage in IE6.

Has anyone else encountered this or any ideas on a fix?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911711


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: java.io.UnsupportedEncodingException: null when using fa

2005-12-09 Thread JamesWoodward
As I understand it you need the adf-facelets.jar from the Facelets Contrib 
folder.

https://facelets.dev.java.net/servlets/ProjectDocumentList?folderID=3990expandFolder=3990folderID=3979

Then follow the special instructions for configuring ADF and Facelets.

https://facelets.dev.java.net/servlets/ReadMsg?list=usersmsgNo=326

Then, with facelets-1.04 you should be OK.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911713


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Unable to access Management portlet for Portal 2.2.0RC1

2005-12-09 Thread fguerzoni
I do have same problems

1. Jboss Portal 2.2 RC1 running on MySql 5.0
2. Jboss Jboss AS 4.03 SP1 running on PortalDS

No custom config.

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911717


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Basic EJB question.

2005-12-09 Thread sanjuthomas
Yes, you can access using simple stand alone client. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911718


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Link to Remote EJB

2005-12-09 Thread sanjuthomas
What you mean by reference ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911720


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Overwriting the database at JBoss startup

2005-12-09 Thread tzablock
Hi i'm having this kind of issue:
I'm using JBOSS AS 4.0.3 and Oracle 10g Express Database. I'm preparing a test 
applilcation with persistance mechanism in EJB3. 

The problem is that whenever I shutdown and run the server, the database data 
(tables, rows etc) is overwritten with new ones, so everything that was 
inserted into the tables is deleted. 

The second issue is that I don't want Jboss to create the database each time it 
gets up - I'd just like to map @Entities to the existing DB schema.

I'd be grateful for any help.

tzablock.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911722


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MBean Started Twice

2005-12-09 Thread mprk
When I deploy a MBean that is tied to the Scheduler MBean, its started twice in 
JBoss, and both processes run concurrently causing all kinds of problems.  
Below is the deployment descriptor. I'm using 4.0.3 SP 1. Would it be running 
twice since there are two schedulers running on the system?


  | !-- The SAR META-INF/jboss-service.xml descriptor --
  | 
  | server
  | 
  | !-- JBoss Scheduler Service -- 
  | mbean code=org.jboss.varia.scheduler.Scheduler 
name=akm:service=AKMDocumentIndexScheduler
  | 
  | 
classpathxerces-impl.jar,xml-apis.jar,xml-parser-apis.jar/classpath
  | classpathclassifier4J-0.6.jar,lucene-1.4.3.jar/classpath
  | 
classpathlucene-parser.jar,nekohtml.jar,nekohtmlXni.jar/classpath
  | 
  | attribute name=StartAtStartuptrue/attribute
  | attribute 
name=SchedulableMBeanakm:service=AKMDocumentIndexService/attribute
  | attribute name=SchedulableMBeanMethodindexDocuments/attribute
  | 
  | !-- Run every hour -- 
  | attribute name=InitialStartDateNOW/attribute
  | attribute name=SchedulePeriod6/attribute
  | attribute name=InitialRepetitions-1/attribute
  | !--
  | dependsjboss:service=AKMDocumentIndexService/depends
  | --
  | /mbean
  |  
  | !-- Lucene Parser --
  | mbean code=com.anser.service.web.lucene.Index 
name=akm:service=AKMDocumentIndexService
  | attribute name=DocumentRootC:\AKM\Current/attribute
  | attribute name=IndexRootC:\AKM\Index/attribute
  | attribute name=TextArchiveC:\AKM\TextArchive/attribute
  | attribute name=ConfigRootC:\AKM\Lucene/attribute
  | /mbean
  |  
  | /server 
  | 

Would anyone have an idea as to why this is happening? TIA.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911723


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Database overwritten at each JBoss startup.

2005-12-09 Thread tzablock
Hi i'm having this kind of issue:
I'm using JBOSS AS 4.0.3 and Oracle 10g Express Database. I'm preparing a test 
applilcation with persistance mechanism in EJB3.

The problem is that whenever I shutdown and run the server, the database data 
(tables, rows etc) is overwritten with new ones, so everything that was 
inserted into the tables is deleted.

The second issue is that I don't want Jboss to create the database each time it 
gets up - I'd just like to map @Entities to the existing DB schema.

I'd be grateful for any help.

tzablock.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911724


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Accessing Portal using Context name

2005-12-09 Thread arvind_pv
Hi Everyone,

I'm devloping an application using the JBoss Portal Server. I'm facing the 
problem while accesing the application using the context name (i.e. 
http://localhost:8080/portal/mysample)

But I'm able to access the application using the below given URL
http://localhost:8080/portal/index.html?ctrl:id=page.default.helloworld

I have defined my own layout for this sample application.

Here are my files

jboss-web.xml
?xml version=1.0 ?
  | jboss-app
  | app-namemysample/app-name
  | /jboss-app

jboss-web.xml
?xml version=1.0?
  | jboss-web
  | context-root/mysample/context-root
  | /jboss-web

portal.xml
?xml version=1.0 encoding=UTF-8?
  | portlet-app xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  
xsi:schemaLocation=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
/opt/SUNWps/dtd/portlet.xsd
  |  version=1.0
  | portlet
  | portlet-nameHelloWorldPortlet/portlet-name
  | portlet-classmysample.portlets.HelloWorldPortlet/portlet-class
  | 
  | supports
  | mime-typetext/html/mime-type
  | portlet-modeVIEW/portlet-mode
  | /supports
  | 
  | portlet-info
  | titleHelloWorld Portlet/title
  | short-titleHelloWorld Portlet/short-title
  | keywordsHelloWorld/keywords
  | /portlet-info
  | /portlet
  | /portlet-app

jboss-portal.xml
?xml version=1.0?
  | portlet-app
  | portlet
  | portlet-nameHelloWorldPortlet/portlet-name
  | security/security
  | /portlet
  | /portlet-app


portal-instances.xml
?xml version=1.0?
  | instances
  | instance
  | instance-nameHelloWorldPortletInstance/instance-name
  | component-refHelloWorldPortlet/component-ref
  | /instance
  | /instances

mysample-pages.xml 

?xml version=1.0?
  | pages
  | portal-namedefault/portal-name
  | page
  | page-namehelloworld/page-name
  | window
  | window-nameHelloWorldWindow/window-name
  | 
instance-refmysample.HelloWorldPortlet.HelloWorldPortletInstance/instance-ref

  | regioncenter/region
  | height0/height
  | /window
  | /page
  | /pages

Please help me regarding this problem.

Thanks 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911727


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Setting @Out(scope=CONVERSATION) variable to null has no

2005-12-09 Thread AlexTemnokhod
Yes, absolutely. I modified booking demo:


  |public String nextHotel()
  |{
  |   if ( hotelIndexhotels.size()-1 )
  |   {
  |  ++hotelIndex;
  |  setHotel();
  |   }
  |   hotel = null; // -- Add this to see a problem
  |   return null;
  |}
  | 

After first pressing 'Next' button, the hotel data remains on the page. It 
disappears after second pressing only! 



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911728


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss as a RMI Server

2005-12-09 Thread yantriki
You need the following:

1. rmi.policy file with the following content
grant {
// Allow everything for now
permission java.security.AllPermission;
};

2. You will need the jboss-client.jar available in JBOSS_HOME/client folder. 
The jar provides JNDI lookups.

3. In the client application do the following:

// your client method for looking up the registered RMI server object from JNDI
String BINDING = RMIServerObjectRemoteInterface;
String binding = //+host+/+BINDING;
if(System.getSecurityManager() == null) {
ClassLoader cl = client.class.getClassLoader();
java.net.URL url = cl.getResource(config/rmi.policy);
System.setProperty(java.security.policy, url.toExternalForm());
System.out.println(Initializing the security manager);
System.setSecurityManager(new RMISecurityManager());
}
try{
// replacing rmi lookup with JNDI lookup
//obj = (IRMIService)Naming.lookup(binding);
Context context = getContext(host);
Object objref = context.lookup(BINDING);
obj = 
(IRMIService)PortableRemoteObject.narrow(objref,IRMIService.class);} 
catch(java.rmi.ConnectException ex){
System.out.println(The service may not be running on the host: 
+host);
}
catch(Exception ex){
System.out.println(Exception: +ex.getMessage());
ex.printStackTrace();
}

3. Server registration to the JNDI:

First create a security Manager

if(System.getSecurityManager() == null) {
ClassLoader cl = this.getClass().getClassLoader();
java.net.URL url = cl.getResource(config/rmi.policy);
System.setProperty(java.security.policy, url.toExternalForm());
System.out.println(Initializing the security manager);
System.setSecurityManager(new RMISecurityManager());
}

//To bind the server object to the JNDI 
try{
m_service = new PASTService();
String binding;
String host;
if(args.length0){
host = args[0];
}
else {
host = localhost;
}
binding = //+host+/+BINDING;
// binding with rmi commented
// Naming.rebind(binding, m_service);
// will try JBoss JNDI 
Context context = getContext(host);
context.rebind(BINDING, m_service);
} catch (Exception ex){
System.out.println(Exception: +ex.getMessage());
ex.printStackTrace();
}

4. For jboss server's initial context, you can either user jndi.properties file 
or as detailed above in the code use the following method:

private static Context getContext(String serverURL) throws NamingException {
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
p.put(Context.URL_PKG_PREFIXES, jboss.naming:org.jnp.interfaces);
p.put(Context.PROVIDER_URL, serverURL);
return new InitialContext(p);
}

Hope this works for you.

Vivek Srivastav


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911729


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Database overwritten at each JBoss startup.

2005-12-09 Thread pepite
Hi.

For the first issue:

You need to set the following in your persistence.xml file (located in your 
META-INF of the .par archive):


property name=hibernate.hbm2ddl.auto value=update / 


Regards,

Nicolas 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911730


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Deleting objects in TreeCacheAop with FileCacheLoader

2005-12-09 Thread Motormind
When I delete objects from a TreeCacheAop, not all data gets deleted when I use 
a FileCacheLoader. There is sort of an empty remainder of the remaining object, 
that causes NullpointerExceptions when accessing it (even though it should have 
been gone completely).

Can TreeCacheAop be used with the FileCacheLoader? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911731


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Project in jBPM

2005-12-09 Thread kukeltje
You are right Alex, I forgot the logs, but that is probably because we 
(internally at the company I work for) are used to having components that do 
log, so we get that automagically. 

The other 'advantages' you mention are eventually also true. There could be a 
slight disadvantage also. If you do not defined e.g. the process in your war 
file and deploy it in one go with the webapp) it could introduce an extra 
deployment difficulty. You have to deploy the war as well as the process. It 
would be nice if we could create an example of an all in one war (code + 
process) as an example


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911733


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Unable to access Management portlet for Portal 2.2.0RC1

2005-12-09 Thread benkrembs
I also have no custom config -- I'm running everything using the defaults.

Does it actually work for anyone?

-Ben

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911734


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Performance problem with embedded EJB :/

2005-12-09 Thread jacekolszak
Here is my log:

  | 15:42:25,432  WARN XsdBinder:1097 - NOT HANDLED WILDCARD IN GLOBAL MODEL 
GROUP
  | 15:42:35,525  INFO Environment:474 - Hibernate 3.1 rc1
  | 15:42:35,540  INFO Environment:504 - hibernate.properties not found
  | 15:42:35,540  INFO Environment:520 - using CGLIB reflection optimizer
  | 15:42:35,540  INFO Environment:550 - using JDK 1.4 java.sql.Timestamp 
handling
  | 15:42:35,853  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.adresfirmy.AdresFirmy
  | 15:42:35,868  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.adreskontrahenta.AdresKontrahenta
  | 15:42:35,900  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.banki.Bank
  | 15:42:35,915  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.dokksiegowy.DokKsiegowy
  | 15:42:35,947  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.firma.Firma
  | 15:42:35,978  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.grupavat.GrupaVat
  | 15:42:35,993  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kartoteka.Kartoteka
  | 15:42:36,009  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.konffirma.KonfFirma
  | 15:42:36,040  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontaktfirma.KontaktFirma
  | 15:42:36,056  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontaktkontrah.KontaktKontrah
  | 15:42:36,072  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontobankowe.KontoBankowe
  | 15:42:36,072  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontobankowefirmy.KontoBankoweFirmy
  | 15:42:36,087  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontobankowekontrahenta.KontoBankoweKontrahenta
  | 15:42:36,103  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontobankowepracownika.KontoBankowePracownika
  | 15:42:36,118  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontobankoweurzedu.KontoBankoweUrzedu
  | 15:42:36,134  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontoksiegowe.KontoKsiegowe
  | 15:42:36,150  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.kontrahent.Kontrahent
  | 15:42:36,181  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.odsetki.Odsetki
  | 15:42:36,197  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.okresewid.OkresEwid
  | 15:42:36,212  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.panstwo.Panstwo
  | 15:42:36,243  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.pracownik.Pracownik
  | 15:42:36,259  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.rokewid.RokEwid
  | 15:42:36,275  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.strukturaorg.StrukturaOrg
  | 15:42:36,290  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.strukturawlasnosciowafirmy.StrukturaWlasnosciowaFirmy
  | 15:42:36,322  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.typdokumentu.TypDokumentu
  | 15:42:36,337  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.typdzial.TypDzial
  | 15:42:36,337  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.typkonta.TypKonta
  | 15:42:36,353  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.urzad.Urzad
  | 15:42:36,384  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.uzytsys.UzytSys
  | 15:42:36,400  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.vatstawka.VatStawka
  | 15:42:36,431  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.waluta.Waluta
  | 15:42:36,431  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.ksiegi.wojewodztwo.Wojewodztwo
  | 15:42:36,509  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.users.Uprawnienie
  | 15:42:36,525  INFO Ejb3Configuration:314 - found EJB3 Entity bean: 
pl.ramzes.users.Uzytkownik
  | 15:42:37,837  INFO Configuration:1014 - processing extends queue
  | 15:42:37,837  INFO Configuration:1018 - processing collection mappings
  | 15:42:37,853  INFO CollectionBinder:459 - Mapping collection: 
pl.ramzes.ksiegi.firma.Firma.adresy - AdresFirmy
  | 15:42:37,853  INFO CollectionBinder:459 - Mapping collection: 
pl.ramzes.ksiegi.rokewid.RokEwid.okresyEwid - OkresEwid
  | 15:42:37,853  INFO Configuration:1027 - processing association property 
references
  | 15:42:37,853  INFO Configuration:1049 - processing foreign key constraints
  | 15:42:38,118  INFO Configuration:1014 - processing extends queue
  | 15:42:38,118  INFO Configuration:1018 - processing collection mappings
  | 15:42:38,118  INFO Configuration:1027 - processing association property 
references
  

[JBoss-user] [JCA/JBoss] - Use nested deployment for resource adapter

2005-12-09 Thread Rudi Vankeirsbilck
Hi all,

I have looked at several examples now (including 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCAMessageInflowExample and the 
once that come with the commercial documentation) and these all deploy the .rar 
file separate from the actual components using the adapter.

I was trying to add my .rar in my .ear file like:
.ear
.ear/APP-INF/lib/classes.jar (contains all .class files including the resource 
adapter)
.ear/META-INF
.ear/META-INF/application.xml
.ear/META-INF/jboss-app.xml
.ear/logic.jar (contains business logic components)
.ear/message.jar (contains message driven beans that wil use the resource 
adapter)
.ear/.rar
.ear/.rar/META-INF/ra.xml

When I deploy the ear file, I am not seeing any logging for the deployment of 
the resource adapter and also I am getting:
anonymous wrote : 
  | 14:47:52,510 ERROR [JBossMessageEndpointFactory] Starting failed 
jboss.j2ee:binding=message-inflow-driven-bean,jndiName=local/[EMAIL 
PROTECTED],plugin=invoker,service=EJB
  | org.jboss.deployment.DeploymentException: Cannot locate resource adapter 
deployment null; - nested throwable: 
(javax.management.InstanceNotFoundException: 
jboss.jca:name='null',service=RARDeployment is not registered.)
  | 
which indicates that the resource adapter is not correctly deployed.

I was wondering, is nested deployment for resource adapters supported at all?

Have I used the appropriate structure that is required by nested deployment for 
resource adapters?

Thank you,

Rudi.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911736


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Simultaneous execution of Fork children

2005-12-09 Thread sforema
Here is the original process def:
http://static.flickr.com/20/71523252_c5116f6d9a.jpg?v=0

Here is the new process def:
http://static.flickr.com/20/71779978_7df2acc810.jpg?v=0

parallel1 and parallel2 are designed to go into wait states. I then signal 
their respective tokens which causes parallel1b and parallel2b to run. each 
waits 30 seconds before continuing, so I have time to signal the tokens.

Notice the inclusion of a refresh state in each branch before the join. The 
purpose of this state is to cause the branch to exit (no signal). Just before 
falling out, it fires off a thread that is designed to resignal the token. This 
causes the branch to continue past the refresh node with state refreshed.

It works. I've tested it. I was really really close to chucking jBPM 
completely, so this insight saved a headache on my part...

This code is not perfect and I intend on improving today. I want make these 
changes:
1. have the thread wake up every second checking to see if the token is 
finished (I think I should be able to do this).
2. create some sort of symaphore so that a save of state and load of state are 
synchronous for a process instance. Since this could happen across VMs, it will 
be interesting.

Here is the code snippet:
call this in the execute of a class in the node-enter of refresh:
Refresh r = new Refresh(context.getToken().getId());

This is the inner class:
 Note that ProcessWrapper is a convenience class I've created to do common 
 things in jBPM without having to worry about all the details. It is normally 
 called by a URL using jetty...

// Class to re-signal the token after it falls out of scope
private class Refresh implements Runnable {

private long tokenId;

public Refresh(long tokenId) {
this.tokenId = tokenId;
Thread t = new Thread(this);
t.start();
}

public void run() {

try {
// Sleep for 10 seconds (that should be more 
than enough for the 
// persistance of this step to complete)
Thread.sleep(1);

// Re-signal 
ProcessWrapper wrapper = new ProcessWrapper();
log.info(about to signal token from refresh:  
+ tokenId);
wrapper.signalToken(tokenId);
log.info(token signaled from refresh:  + 
tokenId);

}
catch (Exception ex) {
log.error(Was unable to refresh token before 
join:  + tokenId);
}

}

}

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911737


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Change index.html start page

2005-12-09 Thread marcguyot
I don't know how to change the start page of JBoss. 
When i access http://localhost:8080/, i would like directly to go to the 
index.htlm page of my project. 
Thanks for help.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911739


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Can 4.03SP1 with EJB 3.0 be gotten without the installer?

2005-12-09 Thread joeh
I find it confusing to have two different downloads both labeled 4.0.3SP1. I 
personally can not use a GUI installer, as there is no graphical interface on 
the machine where I wish to install. Is there someplace I can just download 
4.0.3SP1 with EJB3 as a tarball? If not, can I suggest that in the future these 
should be available, and differences (such as the presence or lack of EJB3) 
between distributions should be clearly labeled on the download page?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911738


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBOSS jBPM tool evaluation Help Required

2005-12-09 Thread kukeltje
please post the processdefinition and the code. Include it in code tags to make 
it visible (do a preview to see if it is ok)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911740


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Jbpm saveProcessInstance design

2005-12-09 Thread ejimenez
Yes, agreed, that might be the best solution. But, here's another problem. The 
subprocess-end event is useless if the context's token does not have the 
subProcessInstance field set.

See, token.subprocessinstance is not a persistent field, which means that if 
the subprocess is started, then loaded in a different hibernate session later, 
the token.subprocessinstance field is null, which means that if you have an 
action on a subprocess-end event, its not going to know which subprocess ended.

making the list of subprocesses is great, but it doesn't solve this problem. My 
gut feeling is that this should be treated as it is treated during subprocess 
creation:


  |  public void execute(ExecutionContext executionContext) {
  | Token superProcessToken = executionContext.getToken();
  | 
  | // create the subprocess
  | ProcessInstance subProcessInstance = new 
ProcessInstance(subProcessDefinition);
  | // bind the subprocess to the super-process-token
  | superProcessToken.setSubProcessInstance(subProcessInstance);
  | subProcessInstance.setSuperProcessToken(superProcessToken);
  | 
  | // fire the subprocess created event
  | fireEvent(Event.EVENTTYPE_SUBPROCESS_CREATED, executionContext);
  | .
  | 

See how the superProcessToken gets a nice setSubProcessInstance? That way the 
subprocess-created event knows which subprocess was created.

The current code on notifySubProcessEnd is:


  | public void notifySubProcessEnd(ProcessInstance subProcessInstance) {
  |Token superProcessToken = subProcessInstance.getSuperProcessToken();
  | 
  | ExecutionContext executionContext = new  
ExecutionContext(superProcessToken);
  | 
  | // feed the readable variables
  | if ((variableAccesses != null)  (!variableAccesses.isEmpty())) {
  | 
  | 
  | }
  | 
  | // feed the readable variables
  | fireEvent(Event.EVENTTYPE_SUBPROCESS_END, executionContext);
  | 
  | 

I think it is very reasonable to do instead


  | public void notifySubProcessEnd(ProcessInstance subProcessInstance) {
  | Token superProcessToken = subProcessInstance.getSuperProcessToken();
  | superProcessToken.setSubProcessInstance(subProcessInstance);
  | ExecutionContext executionContext = new 
ExecutionContext(superProcessToken);
  | 
  | // feed the readable variables
  | if ((variableAccesses != null)  (!variableAccesses.isEmpty())) {
  | 
  | 
  | }
  | 
  | // fire the subprocess ended event
  | fireEvent(Event.EVENTTYPE_SUBPROCESS_END, executionContext);
  | 
  | 

In this way, the subprocess-end event will pass a context where the token 
correctly contains the subprocess instance even if being loaded after being 
persisted while the subprocess was going on.

I will post a JIRA bug with this same info.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911741


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Error adding new JBoss configuration in Eclipse

2005-12-09 Thread yantriki
Hi,
I am unable to add JBoss configuration. I installed a fresh eclipse IDE from 
eclipse.org, Updated the JBoss IDE from the sourceforge URL, copied the xdoclet 
and refreshed it. Now when I went in to add a new JBoss Configuration, if shows 
up an exception saying Error adding new JBoss configuration, see the log file 
for details.
Any suggestion?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911743


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Simultaneous execution of Fork children

2005-12-09 Thread sforema
Alejandro : When you say lock the process instance, are you saying:

hibernateSession = jbpmSession.getSession;
jbpmObject = lookupJbpmObjectYouWantToWorkOn(...);
hibernateSession.lock(jbpmObject , LockMode.UPGRADE);

I found this in discussion thread:
http://www.jboss.com/?module=bbop=viewtopict=72556

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911744


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Jbpm saveProcessInstance design

2005-12-09 Thread ejimenez
tom, processes with no wait states are rare. Our process do have wait states 
wrapped in decision nodes. Because all the decisions are negative, the 
subprocess doesn't have anything to do so it ends.

One more thing, how could you have multiple subprocess per token?

If you want to start multiple processes you'd have to Split, which means you 
would have multiple tokens and each would have a different 
superprocessinstance, right?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911745


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - How can I use AOP for long wait calls with JBoss?

2005-12-09 Thread ameelin
I have some functions that go off and come back after a while (5-10 secs 
waitbut the client waits for an answer)

How can I use AOP for long wait calls like I have described with JBoss?
Any linked article that sheds light on this aspect


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911746


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Remote Client: What library?

2005-12-09 Thread martin ganserer
Hello,

I just want to test a remote swing client on my EJB3 app.
I have a little problem:

When I run my swing app I get following error:

...
  | Caused by: java.lang.ClassNotFoundException: 
org.hibernate.collection.PersistentBag
  | ...

Could please somebody tell me the library that I forgot to include?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911747


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Database overwritten at each JBoss startup.

2005-12-09 Thread tzablock
Thank you very much it has solved the problem.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911748


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Jbpm saveProcessInstance design

2005-12-09 Thread ejimenez
Bug is in JIRA: JBPM-462

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911749


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Use nested deployment for resource adapter

2005-12-09 Thread Rudi Vankeirsbilck
Actually, the structure of the ear is:
.ear 
.ear/APP-INF/lib/classes.jar (contains all .class files including the resource 
adapter) 
.ear/META-INF 
.ear/META-INF/application.xml 
.ear/META-INF/jboss-app.xml 
.ear/logic.jar (contains business logic components) 
.ear/message.jar (contains message driven beans that wil use the resource 
adapter) 
.ear/bluespace-ds.xml
.ear/bluespace-jms-ds.xml
.ear/ra-ds.xml
.ear/.rar 
.ear/.rar/META-INF/ra.xml

and jboss.app.xml is:

  | jboss-app
  |   module
  | servicebluespace-ds.xml/service
  |   /module
  |   module
  | servicebluespace-jms-ds.xml/service
  |   /module
  |   module
  | servicera-ds.xml/service
  |   /module
  | /jboss-app
  | 

and ra.xml is:

  | connection-factories
  |no-tx-connection-factory
  |   jndi-nameBlueSpace/POP3/jndi-name
  |   adapter-display-nameBlueSpace POP3 Adapter/adapter-display-name
  |   config-property name=PollingInterval 
type=java.lang.Integer6/config-property
  |/no-tx-connection-factory
  | /connection-factories
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911750


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - org.hibernate.MappingException help needed!

2005-12-09 Thread tzablock
Ok here's my painful problem:

while deploying par file I get this sort of exception:

org.hibernate.MappingException: property not found: CompanyId on entity 
pl.com.filmservice.par.Film at 
org.hibernate.mapping.PersistenetClass.getProperty(PersistentClass.java:352)
and so on

well this thing is kind of strange because I have the CompanyId on Film entity

HERE IS THE Company entity
package pl.com.filmservice.par;

import javax.ejb.*;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
import java.math.BigDecimal;

@Entity
@Table(name=COMPANY)
public class Company implements Serializable
{
BigDecimal companyId;
String name;

Dictionary TypeDictionaryId;;
List  films;
List  locations;

@Id(generate=GeneratorType.AUTO)
@Column(name=ID)
public BigDecimal getCompanyId() 
{
return companyId;
}
public void setCompanyId(BigDecimal id) 
{
this.companyId = id;
} 

@Column(name=NAME,nullable=false,length=40)
public String getName() 
{
return name;
}
public void setName(String name) 
{
this.name = name;
}  

@ManyToOne(optional=false, fetch=FetchType.LAZY, cascade = 
{CascadeType.PERSIST, CascadeType.MERGE})
@JoinColumn(name=TYPE_DIC_ID,nullable=false)
public Dictionary getDictionary() 
{
return TypeDictionaryId;
}
public void setDictionary(Dictionary dictionary) 
{
this.TypeDictionaryId = dictionary;
}

@OneToMany(fetch=FetchType.LAZY,mappedBy=CompanyId,cascade = 
{CascadeType.ALL})
public List  getFilms() 
{
return films;
}
public void setFilms(List  films) 
{
this.films = films;
}

@OneToMany(fetch=FetchType.LAZY,mappedBy=CompanyId,cascade = 
{CascadeType.ALL})
public List  getLocations() 
{
return locations;
}
public void setLocations(List  locations) 
{
this.locations = locations;
}
}

AND HERE GOES THE Film one

package pl.com.filmservice.par;

import javax.ejb.*;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
import java.math.BigDecimal;

@Entity
@Table(name=FILM)
public class Film implements Serializable
{
BigDecimal filmId; 
String originalTitle;
String title;
BigDecimal reelCount;

Dictionary  TypeDictionaryId;
Dictionary  FormatDictionaryId;
Company CompanyId;
List  copies;

@Id(generate=GeneratorType.AUTO)
@Column(name=ID)
public BigDecimal getFilmId() 
{
return filmId;
}
public void setFilmId(BigDecimal id) 
{
this.filmId = id;
} 

@Column(name=ORIGINAL_TITLE,nullable=false,length=40)
public String getOriginalTitle()
{
return originalTitle;
}
public void setOriginalTitle(String originalTitle)
{
this.originalTitle = originalTitle;
}

@Column(name=TITLE,nullable=false,length=40)
public String getTitle()
{
return title;
}
public void setTitle(String title)
{
this.title = title;
}

@Column(name=REEL_CNT,nullable=true)
public BigDecimal getReelCount()
{
return reelCount;
}
public void setReelCount(BigDecimal reelCount)
{
this.reelCount = reelCount;
}

@ManyToOne(optional=false, fetch=FetchType.LAZY, cascade = 
{CascadeType.PERSIST, CascadeType.MERGE})
@JoinColumn(name=CMP_ID,nullable=false)
public Company getCompany()
{
return CompanyId;   
}
public void setCompany(Company company)
{
this.CompanyId = company;
}

@ManyToOne(optional=false, fetch=FetchType.LAZY, cascade = 
{CascadeType.PERSIST, CascadeType.MERGE})
@JoinColumn(name=TYPE_DIC_ID,nullable=false)
public Dictionary getTypeDictionary()
{
return TypeDictionaryId;
}
public void setTypeDictionary(Dictionary dictionary)
{
this.TypeDictionaryId = dictionary;
}

@ManyToOne(optional=false, fetch=FetchType.LAZY, cascade = 
{CascadeType.PERSIST, CascadeType.MERGE})
@JoinColumn(name=FORMAT_DIC_ID,nullable=false)
public Dictionary getFormatDictionary()
{
return FormatDictionaryId;  
}
  

[JBoss-user] [JBoss jBPM] - Re: Simultaneous execution of Fork children

2005-12-09 Thread chprvkmr
HI Sean,

anonymous wrote : parallel1 and parallel2 are designed to go 
into wait states. I then signal their respective tokens which causes parallel1b 
and parallel2b to run. each waits 30 seconds before continuing, so I have time 
to signal the tokens. 

 Can you elaborate on that. If possible provide code snippet.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911753


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: How can I use AOP for long wait calls with JBoss?

2005-12-09 Thread [EMAIL PROTECTED]
Do you mean something like this

http://docs.jboss.com/aop/1.3/aspect-framework/userguide/en/html/introductions.html#apis

The implementation is in our aspect library under 
org.jboss.aspects.asynch.AsynchAspect

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911755


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: java.io.UnsupportedEncodingException: null when using fa

2005-12-09 Thread JamesWoodward
Nope!

I still get the same Exception using Facelets (1.0.4), MyFaces (1.1.1), ADF 
faces (EA19) on JBoss 4.0.3SP1.

Which is very annoying as I'd really like to use Facelets to template my JSFs.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911756


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Remote Client: What library?

2005-12-09 Thread [EMAIL PROTECTED]
hibernate3.jar or hibernate-client.jar

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911757


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Unable to access Management portlet for Portal 2.2.0RC1

2005-12-09 Thread [EMAIL PROTECTED]
Check that the admin user does have the Admin role in your database. It may 
come from that.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911758


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Shared session not working always

2005-12-09 Thread [EMAIL PROTECTED]
You should set the useJK flag in 4.0.2.  There was a problem with the 
JVMRouteFilter in 4.0.0 (see issue 1037726 on Sourceforge), but that was fixed 
in 4.0.1.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911759


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Can I assign tasks to role?

2005-12-09 Thread adurmus
Hi,
I have an user-role system in my database. So i want to assign tasks to the 
role not to actors. How can I do it?
Also, can i customize taskList?
thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911760


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Jbpm saveProcessInstance design

2005-12-09 Thread kukeltje
right, one subprocess per token

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911761


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Simultaneous execution of Fork children

2005-12-09 Thread sforema
First, let me say that I am going to create a new fork and join node that works 
asynch. I was going to just create a new fork node, but after discussing the 
issue with my coworkers, we are going to add a new join that is aware of asynch 
tokens. This is the most elegant solution to this problem. It eliminates the 
need for extra states...

Elaborating on:
parallel1 and parallel2 are designed to go into wait states. I then signal 
their respective tokens which causes parallel1b and parallel2b to run. each 
waits 30 seconds before continuing, so I have time to signal the tokens.

I think when we say goes into a wait state, it can be confusing. That simply 
means that I have a state node and I don't cause a signal to occur, leaving the 
token in that state node.

parallel1 and parallel2 are state nodes that execute code in the node-enter 
event to simply Thread.sleep(3) then fall out, leaving the nodes in a wait 
state.

I have a jetty server (http://jetty.mortbay.org/jetty/) that listens for 
certain URL requests. I have a request to signal a token. I use this URL to 
signal each token, causing the tokens to run in their own threads. Since 
parallel1 and parallel2 are signalled, the processes move respectively into 
parallel1b and parallel2b which Thread.sleep(3) and then signal themselves 
to continue.

Say what you will, but I think jBPM needs asynch classes. We need it for our 
batch processing. I know that firing off threads in a J2EE environment is a 
no-no, but jBPM will not always be running in a J2EE environment and asynch 
behavior is desireable and as this discussion thread shows, it is hard to 
achieve properly...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911762


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - org.hibernate.HibernateException: /hibernate.cfg.xml not fou

2005-12-09 Thread pedrosacosta
I've a jbpm projects that is structured like:


  | jbpm
  |  |
  |   - src
  |   |
  |   |- config.files
  |   |  |- hibernate.cfg.xml
  |   |  |- hibernate.properties
  |   |  |- jbpm.properties
  |   |- com
  | |- sample
  |   |-AbstrctDbTestCase
  |   |-Worflow.java
  | 

Whent i try to run Worflow.java, i get the error:


  | Exception in thread main org.hibernate.HibernateException: 
/hibernate.cfg.xml not found
  | at 
org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1087)
  | at org.hibernate.cfg.Configuration.configure(Configuration.java:)
  | at org.hibernate.cfg.Configuration.configure(Configuration.java:1098)
  | at 
org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory.java:114)
  | at 
org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory.java:102)
  | at 
com.sample.jbpm.AbstractDbTestCase.getTestConfiguration(AbstractDbTestCase.java:49)
  | at 
com.sample.jbpm.AbstractDbTestCase.getJbpmSessionFactory(AbstractDbTestCase.java:32)
  | at 
com.sample.jbpm.AbstractDbTestCase.beginSessionTransaction(AbstractDbTestCase.java:96)
  | at com.sample.jbpm.AbstractDbTestCase.setUp(AbstractDbTestCase.java:84)
  | at com.sample.jbpm.WorkFlow.init(WorkFlow.java:51)
  | at com.sample.jbpm.WorkFlow.main(WorkFlow.java:85)
  | 

My jbpm.properties:

  | # resource path to a properties file that will overwrite all the hibernate 
  | jbpm.hibernate.properties   = hibernate.properties
  | jbpm.hibernate.cfg.xml  = hibernate.cfg.xml
  | 
  | # uncomment the next line to use the file system instead of the database 
for 
  | # storing files related to a process definition
  | # jbpm.files.dir=c:/jbpm.data
  | 
  |  jbpm.task.instance.class=org.jbpm.taskmgmt.exe.TaskInstance
  | 


Why my project doesn't find the path to hibernate.cfg.xml? What should i do to 
the project find the xml file?

Thanks,
Pedro



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911763


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: TreeCacheSSOClusterManager, NullPointer in addSession, 4

2005-12-09 Thread [EMAIL PROTECTED]
Thanks for the good suggestion and for letting me know that that was the root 
cause of your issue.  I'll look into modifying TreeCacheSSOClusterManager as 
well so it throws a more meaningful exception rather than the NPE.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911764


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: 2 weapps - 2 set of Roles (JAAS)

2005-12-09 Thread [EMAIL PROTECTED]
Yes, but you need to use ClusteredSingleSignOn.  In the standard server.xml, 
it's just below the non-clustered version.  Just comment out the non-clustered 
and uncomment the clustered.  requiresReauthentication applies to both.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911765


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: org.hibernate.MappingException help needed!

2005-12-09 Thread tzablock
Ok I've already solved that one :D:D:D:D:D

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911766


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >