[jboss-user] [Messaging, JMS JBossMQ] - How to config jboss for visiting queue destination remotely

2007-03-14 Thread Agemo
There is an MBean on machine A that wants to visit the queue destination on 
machine B.
What's the steps should I do?
Thanks.

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

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


[jboss-user] [JBoss Portal] - Switching to Sybase Database in JBoss Portal

2007-03-14 Thread eabarquez
Hello All,

I am trying to switch the database of my JBoss Portal installation to Sybase. I 
followed the directions in the reference guide on how to switch database, i.e.:

1. Place the connectors in the [JBOSS_HOME]\server\default\lib folder.

2. Add a portal-sybase-ds.xml datasource file and place it in the deploy 
folder. The file is shown below.

3. Remove the portal-hsqldb-ds.xml in the deploy folder to avoid conflict 
in the new datasource.

4. Change the dialect to org.hibernate.dialect.SybaseDialect of the different 
hibernate.cfg.xml files found in the jboss-portal.sar folder to force the 
DB dialect to Sybase.

When I run the server, the tables are being created accordingly. However, it 
throws the exception shown below. I also cannot navigate to the portal page. Is 
there anything I am missing out in the process?

I am using the server that is bundled with the zip file that I downloaded in 
the JBoss Portal site. Here are my specifications:

JBOSS: jboss-portal-2.6-ALPHA2
OS: Windows XP


  | The exception being thrown:
  |   
  | --- MBeans waiting for other MBeans ---
  | ObjectName: portal:service=CMS
  |   State: FAILED
  |   Reason: javax.jcr.RepositoryException: failed to create folder for 
repository meta data: failed to check existence of file system entry: /meta: 
failed to check existence of file system entry: /meta
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=PortalDS
  | portal:service=JAASLoginModule
  | portal:service=Hibernate,type=CMS
  | portal:service=Module,type=IdentityServiceController
  | portal:service=InterceptorStackFactory,type=Cms
  |   Depends On Me:
  | portal:service=Management,type=CMS,name=Default
  | portal:commandFactory=CMSObject
  | cms.pm.cache:service=TreeCache
  | portal:service=ContentEditor,type=cms
  |  
  | ObjectName: portal:service=Hibernate,type=Instance
  |   State: FAILED
  |   Reason: org.hibernate.exception.GenericJDBCException: could not execute 
query
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=PortalDS
  |   Depends On Me:
  | portal:container=Instance
  |  
  | ObjectName: portal:service=Hibernate,type=PortalObject
  |   State: FAILED
  |   Reason: org.hibernate.exception.GenericJDBCException: could not execute 
query
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=PortalDS
  |   Depends On Me:
  | portal:container=PortalObject
  |  
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: portal:service=Hibernate,type=Instance
  |   State: FAILED
  |   Reason: org.hibernate.exception.GenericJDBCException: could not execute 
query
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=PortalDS
  |   Depends On Me:
  | portal:container=Instance
  |  
  | ObjectName: portal:service=Hibernate,type=PortalObject
  |   State: FAILED
  |   Reason: org.hibernate.exception.GenericJDBCException: could not execute 
query
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=PortalDS
  |   Depends On Me:
  | portal:container=PortalObject
  |  
  | ObjectName: portal:service=CMS
  |   State: FAILED
  |   Reason: javax.jcr.RepositoryException: failed to create folder for 
repository meta data: failed to check existence of file system entry: /meta: 
failed to check existence of file system entry: /meta
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=PortalDS
  | portal:service=JAASLoginModule
  | portal:service=Hibernate,type=CMS
  | portal:service=Module,type=IdentityServiceController
  | portal:service=InterceptorStackFactory,type=Cms
  |   Depends On Me:
  | portal:service=Management,type=CMS,name=Default
  | portal:commandFactory=CMSObject
  | cms.pm.cache:service=TreeCache
  | portal:service=ContentEditor,type=cms  
  | 


  | My portal-sybase-ds.xml file:
  |  
  | ?xml version=1.0 encoding=UTF-8?
  |  
  | datasources
  |   local-tx-datasource
  | jndi-namePortalDS/jndi-name
  | connection-urljdbc:sybase:Tds:cc3:5000/jbossportal/connection-url
  | driver-classcom.sybase.jdbc2.jdbc.SybDataSource/driver-class
  | user-namesa/user-name
  | password/password
  | metadata
  |   type-mappingSybase/type-mapping
  | /metadata
  |   /local-tx-datasource
  | /datasources
  | 

Please advise. Thanks in advance.

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

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


[jboss-user] [JBoss Portal] - Re: Generating JNLP file in portlet

2007-03-14 Thread louise_za
Thanks for the reply! 

Solution to the problem:
Have the portlet generate a string containing the jnlp content dynamically and 
write this out to a file at a certain location. Then, have a link inside the 
portlet pointing to the file - the user will click on it and the java web start 
sequence will initiate.

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

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


[jboss-user] [JBoss jBPM] - Lost retrieving resource bandle in ActionHandler

2007-03-14 Thread slogger
Hi, kukeltje! Thank you very mach for your answer that make clear for me. I 
will go other way.

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

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


[jboss-user] [Management, JMX/JBoss] - Quartz MBean cannot find Classloader

2007-03-14 Thread davidn
Hi,

Loading a deploy/quartz-service.xml works quite nicely upon startup, but if 
there is a class in the Quartz Job table, the MBean-launched service can't find 
the classloader. I attempted to resolve it with a  element, but after reading 
for hours, there are no clear answers. There are some posts that skirt the 
issue, but no best practice or practical replies.

Following is the descriptor, then the error:

server
  | 
  |   classpath codebase=. archives=MyApp.ear /
  | 
  |   mbean code=org.quartz.ee.jmx.jboss.QuartzService
  |   name=user:service=QuartzService,name=QuartzService
  | dependsjboss.jca:service=DataSourceBinding,name=MyDS/depends 
  | 
  | attribute name=Properties
  |   # Default Properties file for use by StdSchedulerFactory
  |   # to create a Quartz Scheduler Instance, if a different
  |   # properties file is not explicitly specified.
  |   #
  | 
  |   # org.quartz.scheduler.classLoadHelper.class = 
  |
  |   org.quartz.scheduler.instanceName = MyScheduler
  |   org.quartz.scheduler.rmi.export = false
  |   org.quartz.scheduler.rmi.proxy = false
  |   org.quartz.scheduler.xaTransacted = false
  | 
  |   org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
  |   org.quartz.threadPool.threadCount = 5
  |   org.quartz.threadPool.threadPriority = 4
  | 
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
  | 
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.MSSQLDelegate
  | org.quartz.jobStore.useProperties=false
  | org.quartz.jobStore.dataSource=MYDS
  | org.quartz.jobStore.isClustered=false
  | org.quartz.dataSource.MYDS.jndiURL = java:/MyDS
  | org.quartz.jobStore.tablePrefix = QRTZ_
  | 
  | #org.quartz.jobStore.nonManagedTXDataSource = QUARTZ_NO_TX
  | #org.quartz.dataSource.QUARTZ_NO_TX.jndiURL = 
java:/jdbc/QuartzNoTxDS
  | 
  | org.quartz.jobStore.misfireThreshold = 6
  | /attribute
  |   /mbean
  | 
anonymous wrote : ERROR:
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: user:service=QuartzService,name=QuartzService
  |   State: FAILED
  |   Reason: org.quartz.SchedulerConfigException: Failed to start Scheduler -  
[See nested exception: org.quartz.SchedulerConfigException: Failure occured 
during job recovery. [See nested exception: org.quartz.JobPersistenceException: 
Couldn't retrieve trigger: No ClassLoaders found for: com.mycom.dto.TimerInfo 
[See nested exception: java.lang.ClassNotFoundException: No ClassLoaders found 
for: com.mycom.dto.TimerInfo]]]
  |   I Depend On:

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

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


[jboss-user] [EJB 3.0] - Re: InheritanceType JOINED stategy problem

2007-03-14 Thread rajeshv7
I think you have mixed up the 'SINGLE_TABLE' and 'JOINED' Inheritance 
strategies. The Discriminator's are specified only in the 'SINGLE_TABLE'  
strategy. And in the 'Joined'  since all the subclasses have their own tables 
there is no need for a discriminator column.

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

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


[jboss-user] [JBoss Seam] - Seam 1.2, RichFaces Woodstock (JSF 1.1 or 1.2)

2007-03-14 Thread hi_feroz
hi,
first of all let me say that j2ee application development have never been so 
easier as it is with Seam. i am already a fan.

RichFaces is a great set of components but i also would like to use Woodstock 
4.0.1 - GA (particularlt the Table component) which is JSF 1.2.

Could I use both of these in same application?

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

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


[jboss-user] [EJB 3.0] - Re: InheritanceType JOINED stategy problem

2007-03-14 Thread grdzeli_kaci
rajeshv7 wrote : I think you have mixed up the 'SINGLE_TABLE' and 'JOINED' 
Inheritance strategies. The Discriminator's are specified only in the 
'SINGLE_TABLE'  strategy. And in the 'Joined'  since all the subclasses have 
their own tables there is no need for a discriminator column.

you are not right! 

The Discriminator's are not specified only in the 'SINGLE_TABLE' strategy. it 
is possible to use into join strategy.

i have book Pro EJB3 Java Persistence API (Mike Keith and Merrick Schincariol)
http://www.amazon.com/Pro-EJB-Java-Persistence-API/dp/1590596455

on page 249 is defined joined strategy and tehere is data model in example 
Employee, FullTimeEmployee,PartTimeEmployee and ContractEmployee using Joined 
Strategy.


  find out here Example 1-74
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html


Is There any idea ?

I can't resolve this problem




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

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


[jboss-user] [JBoss Seam] - Validating errors in JBoss Seam using FacesMessages

2007-03-14 Thread lara
Hi,

I am using jboss-seam-1.2.0.PATCH1 and I am try to display a message for unique 
names. I mean I am adding a client and the name should always be unique, I 
added the following in the ClientHome.java class:


  | @Override
  | public String persist() {
  | try {   
  | return super.persist();
  | } 
  | catch(Exception e)
  | {
  |  if (e instanceof javax.persistence.EntityExistsException) 
{
  |  FacesMessages.instance().add(name, Client Name should 
be unique);  
  | }
  | return null;
  | }
  | }
  | 


The problem is that the error is catched and I have no bug in the application 
but the message is not displayed and I am getting the following on the server:


  | ERROR [STDERR] com.sun.faces.lifecycle.RenderResponsePhase execute
  | INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been 
displayed.
  | 


How can I solve this issue?
Any help is appreciated!

Best Regards,


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

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


[jboss-user] [JBoss Portal] - Re: portlet's title

2007-03-14 Thread [EMAIL PROTECTED]
XmasRoxck answered you on developpez.com

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

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


[jboss-user] [JBoss Portal] - Re: where jbossportal saves its informations!!

2007-03-14 Thread [EMAIL PROTECTED]
Bougameza, check again, it should have create several tables in the datasource 
PortalDS.

Tony, that's probably because you defined if-existsoverwrite/if-exists in 
your XML descriptor for the page you changed.

If you want to use the management portlet, then use if-existskeep/if-exists 
or simply drop the -object.xml file defining this page.

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

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


[jboss-user] [Remoting] - Re: JBoss Remoting JDK 6.0 situation deadlock

2007-03-14 Thread alexg79
Are you sure you're not using jbosall-client.jar? That one contains a broken 
copy of jbossremoting. Don't use it. Also make sure that your client, too, uses 
the fixed version.

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

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


[jboss-user] [JBoss Portal] - Re: Switching to Sybase Database in JBoss Portal

2007-03-14 Thread [EMAIL PROTECTED]
Please try to force the dialect in:
portal-cms-sar/conf/hibernate/cms/hibernate.cfg.xml

I think that it is missing from the doc.

Please, let me know

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

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


[jboss-user] [JBoss jBPM] - jbpm POMs

2007-03-14 Thread gesha
the latest jbpm comes alredy with M2-POMs, but the test-phase is brocken. Is it 
planned to build it together somewhen? What is JIRA-ID for this issue?


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

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


[jboss-user] [JBoss Seam] - Re: Overriding EntityHome.persist problems

2007-03-14 Thread denis-karpov
Why not to use pageflows for this. It is convenient and works smoothly for me.

Pageflow
.
  | page name=edit view-id=/exchange/buy.xhtml
  | descriptionqqq/description
  | redirect/
  | transition name=save to=validate/
  | transition name=cancel to=end
  | /transition
  | /page
  | 
  | decision name=validate
  | handler class=org.jboss.seam.drools.DroolsDecisionHandler
  | workingMemoryNamebuyWorkingMemory/workingMemoryName
  | assertObjects
  | element#{exchOrdHome.instance}/element
  | element#{facesMessages}/element
  | /assertObjects
  | /handler
  | transition to=refresh
  | action expression=#{exchOrdHome.merge} /
  | /transition
  | transition name=invalid to=edit/
  | /decision
  | 
  | decision name=refresh expression=1
  | transition name=1 to=browse
  | action expression=#{exchOrdHome.invalidate} /
  | /transition
  | /decision
  | ..
  | 
Drools

  | rule MandatorySum
  | when
  | $facesMessages : FacesMessages()
  | Sum(asFloat=0)
  | then 
  | $facesMessages.add(new FacesMessage(Sum has to be more than 
zero.));
  | decision.setOutcome(invalid);
  | end
  | .


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: BAD_POOL_HEADER, BLUE SCREEN

2007-03-14 Thread poyge394
any other ideas ?


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

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


[jboss-user] [JBoss Seam] - Re: Validating errors in JBoss Seam using FacesMessages

2007-03-14 Thread petemuir
The id you put in there has to be the id displayed in html source - even if you 
put id=foo on a component, it may well be different due to JSF naming 
containers

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

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


[jboss-user] [JBoss Portal] - Guide me in creating sample Portlet program on Jboss Portal

2007-03-14 Thread agarwar7
Hi

I am new user of Jboss Portlet server
I am trying to deploy one example on server ,but when i am deploying it's 
howing me object not found(Name of my portlet war)
while i am following all required steps but i am not able to get the complete 
flow
Can anybody help me on this .

Ruchi

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

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


[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException error when access

2007-03-14 Thread emcwoo
I have modified the classpath (by modifying the build file of the QUEUE 
example) to include the jar files under the following folders:

C:\Program Files\jboss-4.0.4.GA\server\default\lib
C:\Program Files\jboss-4.0.4.GA\server\messaging\lib
C:\Program Files\jboss-4.0.4.GA\client

However, the following error was encountered.


 [java] javax.naming.NamingException: Failed to retrieve Naming interface 
[Root exception is java.io.IOException]
 [java] at 
org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:84)
 [java] at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
 [java] at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
 [java] at javax.naming.InitialContext.init(InitialContext.java:219)
 [java] at javax.naming.InitialContext.(InitialContext.java:175)
 [java] at 
org.jboss.example.jms.common.Util.doesDestinationExist(Util.java:43)
 [java] at 
org.jboss.example.jms.common.ExampleSupport.setup(ExampleSupport.java:146)
 [java] at 
org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:57)
 [java] at 
org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:134)
 [java] Caused by: java.io.IOException
 [java] at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:602)
 [java] at 
org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:133)
 [java] at 
org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:80)
 [java] ... 8 more
 [java] Caused by: java.net.ConnectException: Connection timed out: connect
 [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
 [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
 [java] at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
 [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
 [java] at java.net.Socket.connect(Socket.java:452)
 [java] at java.net.Socket.connect(Socket.java:402)
 [java] at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
 [java] at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
 [java] at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
 [java] at sun.net.www.http.HttpClient.(HttpClient.java:306)
 [java] at sun.net.www.http.HttpClient.(HttpClient.java:267)
 [java] at sun.net.www.http.HttpClient.New(HttpClient.java:339)
 [java] at sun.net.www.http.HttpClient.New(HttpClient.java:320)
 [java] at sun.net.www.http.HttpClient.New(HttpClient.java:315)
 [java] at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
 [java] at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
 [java] at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
 [java] at 
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1502)
 [java] at 
java.net.URLConnection.getHeaderFieldInt(URLConnection.java:476)
 [java] at 
java.net.URLConnection.getContentLength(URLConnection.java:371)
 [java] at 
org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:128)
 [java] ... 9 more


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM3 with tomcat

2007-03-14 Thread aleem
Hi,
 
  I m trying to use tomcat instead of starters-kit jboss. I m getting following 
error. I went to all the previous threads but couldnt quite figure out whats 
going. heres the stack trace:


org.apache.jasper.JasperException: Cannot get value for expression 
'#{userBean.userSelectItems}'

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)


And also what is the way of initing userBean, as was given in previous threads. 


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

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


[jboss-user] [JBoss Portal] - creating and deploying new portals and portlets in JBOSS por

2007-03-14 Thread karan42in
Hi fellow portal developers,

I am a new user of JBOSS portal, i have installed the JBOSS portal 
2.6beta bundle. SInce i am a new developer in portal i am clueless how to 
create portal and portlet's.. i ahve gone through the pdf tat guides us, but in 
vain.

I am in great need of your helps.. people please respond and help me 
out.. i used the admin of the JBOSS portal and create the portal but i am not 
able to get the idea, where the portal is deployed?, how to develope a portal 
using eclipse? 

please help me out i am in a crisis

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

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


[jboss-user] [JBoss Portal] - Portlet Login

2007-03-14 Thread laurie.t
Hello,

I use the version 2.6 of Jboss Portal.
I would like to know if there is a portlet Login, as the one that there is on 
the demo of Jboss Portal and if it was possible to download it.

Thanks for your help.

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

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


[jboss-user] [JBoss Seam] - Re: why can seam connect to others database?

2007-03-14 Thread tangzhen
Today,after i compare booking example code,modified datasource in 
jboss-beans.xml and booking-ds.xml.now i already come into seam world.Seam is 
certainly plain but a bit bug is lesser develop article in seam.Who can give us 
more studing document?  what some kind of knowledge necessary master before 
using Seam develop web application?

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

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


[jboss-user] [JBoss Seam] - Re: conversationList

2007-03-14 Thread j.wozniakowski
I have the same: no #{conversationList} and no #{conversationStack}, using SEAM 
1.2, Icefaces 1.5.3

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

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


[jboss-user] [JBoss Seam] - Re: Conversation Picker Component seems to have stopped work

2007-03-14 Thread j.wozniakowski
I have no #{conversationList} and no #{conversationStack} injected - using SEAM 
1.2, Icefaces 1.5.3.

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

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


[jboss-user] [JBoss jBPM] - Cannot process metrics - BPEL-beta2

2007-03-14 Thread KVAK_TNT
Hi all!

actually I'm fighting with a problem I cannot attach to a cause...

I have two development machines (my and one of my collegue).
We have the same options in our Developmentenvironment and I also tried to copy 
the second one completely on my machine. But I cannot get working my problem 
here.

Ok what's up.

I have running the jBoss 4.0.4GA with the jBpm and BPEL Extension Beta2.
I have also an server.jar running in the jBoss.
This Server gets a message from an clientapplication and send internally a 
SOAP message to the BPEL engine.

This works fine on the machine of my collegue but not on my machine!
I get everytime the following error:

2007-03-14 10:47:00,000 ERROR [org.jboss.ws.server.ServiceEndpoint] Cannot 
process metrics
  | java.lang.ClassCastException: org.jboss.ws.soap.SOAPBodyElementDoc

OK - so I tried another way:
I used the Web Service Analyse (a tool by which you can send SOAP messages) and 
connected myself to the BPEL-Engine.
I can send exactly one message that should initiate a processexecution.
Then I get the same error.
The I can logon again and It works again for one more message - then the same 
error.

Actually I do not know what to to next. I cannot find anything about this error.

The big strange point: It works on the machine of my collegue. (And now I have 
tried a second one and it works neither...

I hope someone can help me on this - maybe a hint about how the error cannot 
process metrics is created would be very helpfull.

Greetings TNT

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

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


[jboss-user] [JBossWS] - cannot call jboss ws from MS SOAP SDK

2007-03-14 Thread ybenigot
When using a VB Client (VB 2005/MS SOAP SDK 3.0) to jbossws (v1.0.3 which comes 
from jboss 4.0.5) the parameters are not correctly passed

when jbossws waits for a parameter named String_1,
 it receives a parameter named SOAPSDK1:String_1 ,
and followed by xmlns:SOAPSDK=url to ws namespace

jbossws rejects this as a SOAP fault

There is a workaround which is to use MSSOAP lowlevel API
as described in a former post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966085

I guess that this xmlns construct is authorized by the specifications, 
and that jbossws should be configured to accept it. Is that correct ? Is there
a clean way to use the M$ high level API ?



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

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


[jboss-user] [JBossWS] - Re: Namespace for complex types

2007-03-14 Thread centecbertl
You could find an example at 

JBossWS-Forum http://www.jboss.com/index.html?module=bbop=viewtopict=103352   

JIRA  http://jira.jboss.com/jira/secure/ManageAttachments.jspa?id=12335583 

The problem is that I got problems with the JBossWS namespace mapping when 
using inherited/aggregated types, though. It works for simple complex types, 
but generates semantically incomplete wsdl when using real world classes with 
aggregation/inheriatnce from more 1 java packages.

In that case Webservice Client Generation from WSDL is complaining about the 
incorrect wsdl or even worse failing because of dis ambiguities (tried with 
.net 2.0; axis 1.4; Oracle)



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

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


[jboss-user] [JBoss Portal] - Problems with the rights (security)

2007-03-14 Thread laurie.t
Hello,
I use the version 2.6 of Jboss Portal.
When I installed it, there were 3 tabs (Default, Test, News).

My problem comes from the Test part. 

When we put ourselves on the Test tab, we can see a submenu appearing.
I would like to know if it is possible to put rights has this submenu. I would 
want that certain persons is access only to certain parts of this menu.

If I puts rights (it is certainly not checks), the persons who have no access 
completely to this menu see the complete menu but when they click one left that 
they have no access, they have one error.

My question is thus: is it possible to hide certain parts of this menu?
Thank you for your help.

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

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


[jboss-user] [JBossWS] - Re: cannot call jboss ws from MS SOAP SDK

2007-03-14 Thread centecbertl
Clients using the .net sdk 2.0 work for Services using doc-literal-wrapped 
services generated by jbossws 1.0.x on jboss 4.0.5 for me so far. I did not try 
the .net 3.0 sdk so far.

Your could try to switch to doc-literal (if you are not already using this 
style) or using the .net 2.0 sdk (Is it possible to use them in parallel?)


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

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


[jboss-user] [Clustering/JBoss] - Re: get partition(cluster)

2007-03-14 Thread oruchovets
Thank you for your answer. Aclually I have no problem to connect to the server 
and use DistributedReplicantManager. I have only jbossall-client.jar and it's 
enough. the question is : 
  Is it a correct way to get cluster(partition) names , and may be someone 
already faced with this problem and can give a good reference or code example 
how to discover jboss topology (clusters , servers).
 Regards Oleg

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

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


[jboss-user] [JBoss Portal] - Re: Portlet Login

2007-03-14 Thread [EMAIL PROTECTED]
The user Portlet ? It's in 2.6 as well

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

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


[jboss-user] [Clustering/JBoss] - 4.0.5GA cluster with mySQL

2007-03-14 Thread geniusfox
Hi 
  I have configure 2 jboss server with an mysql database server. But when i 
start occure this message:
  18:12:28,437 INFO  [RegistryServlet] Initializing jUDDI components.
18:12:29,031 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
18:12:29,375 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
18:12:30,468 INFO  [MailService] Mail Service bound to java:/Mail
18:12:30,687 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
18:12:30,734 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
18:12:30,765 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
18:12:30,796 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
18:12:30,859 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
18:12:30,890 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
18:12:31,359 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA'
18:12:31,609 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java:DefaultDS'
18:12:32,078 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
18:12:32,625 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
  State: CONFIGURED
  I Depend On:
jboss.mq:service=Invoker
jboss.web:service=WebServer

ObjectName: jboss.mq.destination:name=testTopic,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:name=securedTopic,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:name=testDurableTopic,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:name=testQueue,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:name=A,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:name=B,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:name=C,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:name=D,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:name=ex,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq:service=Invoker
  State: CONFIGURED
  I Depend On:
jboss.mq:service=TracingInterceptor
jboss:service=Naming
  Depends On Me:
jboss.mq:service=InvocationLayer,type=HTTP
jboss.mq:service=InvocationLayer,type=JVM
jboss.mq:service=InvocationLayer,type=UIL2

ObjectName: jboss.mq:service=TracingInterceptor
  State: CONFIGURED
  I Depend On:
jboss.mq:service=SecurityManager
  Depends On Me:
jboss.mq:service=Invoker

ObjectName: jboss.mq:service=SecurityManager
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
  Depends On Me:
jboss.mq.destination:name=testTopic,service=Topic
jboss.mq.destination:name=securedTopic,service=Topic
jboss.mq.destination:name=testDurableTopic,service=Topic
jboss.mq.destination:name=testQueue,service=Queue
jboss.mq:service=TracingInterceptor
jboss.mq.destination:name=DLQ,service=Queue

ObjectName: jboss.mq.destination:name=DLQ,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

ObjectName: jboss.mq:service=InvocationLayer,type=JVM
  State: CONFIGURED
  I Depend On:
jboss.mq:service=Invoker

ObjectName: jboss.mq:service=DestinationManager
  State: CONFIGURED
  I Depend On:
jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager
  Depends On Me:
jboss.mq.destination:name=testTopic,service=Topic
jboss.mq.destination:name=securedTopic,service=Topic
jboss.mq.destination:name=testDurableTopic,service=Topic
jboss.mq.destination:name=testQueue,service=Queue
jboss.mq.destination:name=A,service=Queue

[jboss-user] [Clustering/JBoss] - HAJMS env testing?

2007-03-14 Thread geniusfox
 Hi all:
   I start all server on two linux servers, and deploy 
org.jboss.mq.il.ha.examples.HAJMSClient code into its. When i follow the wiki 
document (http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQHAOverview;).  1st 
step ok, 2nd step ok, but when i shutdown the master node, and reconnect the 
JMS connection. Then invoke the registerDurableSubscriberAndReceiveMessages 
method, system would tell me   cant' find UIL2XAConnectionFactory! what's the 
problem, Help me!!

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

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


[jboss-user] [Clustering/JBoss] - Re: 4.0.5GA cluster with mySQL

2007-03-14 Thread geniusfox
Sorry, i rewrite with code tag.
===
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: D:\API\jboss-4.0.5.GA\bin\\..
  | 
  |   JAVA: C:\j2sdk1.4.2_07\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.cli
  | ent.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360
  | 
  |   CLASSPATH: 
C:\j2sdk1.4.2_07\lib\tools.jar;D:\API\jboss-4.0.5.GA\bin\\run.jar
  | 
  | 
===
  | 
  | 18:12:08,437 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 18:12:08,437 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: 
CVSTag=Bra
  | nch_4_0 date=200610162339)
  | 18:12:08,437 INFO  [Server] Home Dir: D:\API\jboss-4.0.5.GA
  | 18:12:08,437 INFO  [Server] Home URL: file:/D:/API/jboss-4.0.5.GA/
  | 18:12:08,437 INFO  [Server] Patch URL: null
  | 18:12:08,437 INFO  [Server] Server Name: clusterA
  | 18:12:08,437 INFO  [Server] Server Home Dir: 
D:\API\jboss-4.0.5.GA\server\cluste
  | rA
  | 18:12:08,437 INFO  [Server] Server Home URL: 
file:/D:/API/jboss-4.0.5.GA/server/
  | clusterA/
  | 18:12:08,437 INFO  [Server] Server Log Dir: 
D:\API\jboss-4.0.5.GA\server\cluster
  | A\log
  | 18:12:08,437 INFO  [Server] Server Temp Dir: 
D:\API\jboss-4.0.5.GA\server\cluste
  | rA\tmp
  | 18:12:08,437 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 18:12:08,734 INFO  [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
  | 18:12:08,734 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.4.2_07-b05
  | ,Sun Microsystems Inc.
  | 18:12:08,734 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 18:12:09,203 INFO  [Server] Core system initialized
  | 18:12:12,156 INFO  [WebService] Using RMI server codebase: 
http://ZhouQiang:8083
  | /
  | 18:12:12,171 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resour
  | ce:log4j.xml
  | 18:12:16,671 INFO  [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 
(date
  | =200609291417)
  | 18:12:17,703 INFO  [SnmpAgentService] SNMP agent going active
  | 18:12:18,093 INFO  [InterceptorChainFactory] interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.ReplicationInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 18:12:18,406 INFO  [STDOUT]
  | ---
  | GMS: address is ZhouQiang:3352
  | ---
  | 18:12:20,437 INFO  [TreeCache] viewAccepted(): [ZhouQiang:3352|0] 
[ZhouQiang:335
  | 2]
  | 18:12:20,437 INFO  [TreeCache] TreeCache local address is ZhouQiang:3352
  | 18:12:20,453 INFO  [TreeCache] State could not be retrieved (we are the 
first me
  | mber in group)
  | 18:12:20,453 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
  | 18:12:20,781 INFO  [DefaultPartition] Initializing
  | 18:12:20,843 INFO  [STDOUT]
  | ---
  | GMS: address is ZhouQiang:3355 (additional data: 17 bytes)
  | ---
  | 18:12:22,843 INFO  [DefaultPartition] Number of cluster members: 1
  | 18:12:22,843 INFO  [DefaultPartition] Other members: 0
  | 18:12:22,843 INFO  [DefaultPartition] Fetching state (will wait for 3 
millis
  | econds):
  | 18:12:22,843 INFO  [DefaultPartition] State could not be retrieved (we are 
the f
  | irst member in group)
  | 18:12:22,843 INFO  [DefaultPartition] New cluster view for partition 
DefaultPart
  | ition (id: 0, delta: 0) : [192.168.0.51:1099]
  | 18:12:22,875 INFO  [DefaultPartition] I am (192.168.0.51:1099) received 
membersh
  | ipChanged event:
  | 18:12:22,875 INFO  [DefaultPartition] Dead members: 0 ([])
  | 18:12:22,875 INFO  [DefaultPartition] New Members : 0 ([])
  | 18:12:22,875 INFO  [DefaultPartition] All Members : 1 ([192.168.0.51:1099])
  | 18:12:22,921 INFO  [HANamingService] Started ha-jndi bootstrap 
jnpPort=1100, bac
  | klog=50, bindAddress=/0.0.0.0
  | 18:12:22,921 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening 
on /0.
  | 0.0.0:1102, group=230.0.0.4, HA-JNDI address=192.168.0.51:1100
  | 18:12:24,875 INFO  [CorbaNamingService] Naming: 
[IOR:002B49444C3A6F6
  | 
D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3
  | 
200E80001020D3139322E3136382E302E35310DC800114A4
  | 
26F73732F4E616D696E672F726F6F740500084A41430
  | 
1001C00010001000105010001000101090001050100010021000
  | 
0006100240020007E0001000D313
  | 

[jboss-user] [JBoss Seam] - Re: seam, spring activemq

2007-03-14 Thread henderson_mk
ok... got it sorted.

if anyones interested.

I just need to call Lifecycle.begnnCall() and end it, using the session 
inbetween.

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

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


[jboss-user] [JBoss Messaging] - Re: Failure in jms activation

2007-03-14 Thread NWNE
I just installed jboss 4.0.5.GA with messaging from scratch based on the 
repository what i found this topic: 
http://www.jboss.com/index.html?module=bbop=viewtopict=89677postdays=0postorder=ascstart=10

I tried the ejb3mdb example and i got the same result.
What is the problem? Could you help me?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Failure to deploy

2007-03-14 Thread gseel
I have a test JBoss system set up on a development machine with Eclipse. I had 
been running successfully both a standalone JBoss and through the IDE. Suddenly 
whilst the standalone still works fine, the Eclipse/IDE fails during deployment 
with

10:24:53,820 WARN  [verifier] EJB spec violation: 
Bean   : AFCW/AdvertManager
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java 
class that implements the enterprise bean's business methods in the ejb-class 
element.
Info   : Class not found on 'uk.co.FOTO.afcw.EJB.AdvertManagerEJB': Unexpected 
error during load of: uk.co.FOTO.afcw.EJB.AdvertManagerEJB, 
msg=javax/ejb/SessionBean


I take the last bit to mean that it can't find the SessionBean class but the 
standalone version, which seems to run from the same batch file can and the IDE 
could a couple of weeks ago.

Anyone with any ideas short of reinstalling everything? Thanks

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

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


[jboss-user] [JBoss Portal] - Re: Problems with the rights (security)

2007-03-14 Thread [EMAIL PROTECTED]
Oups a bug.

Please open a Jira taks jira.jboss.org

The relevant source code is here: 
core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java

If someone has the time to propose a patch :)

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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread [EMAIL PROTECTED]
Do you have the portlet deployed as a portlet definition ? I mean does it 
appear in the list of portlets in the portlet management ?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - NoSuchMethodError: net.sf.ehcache.Cache.get(Ljava/lang/Objec

2007-03-14 Thread beyarecords
Hi,
I have just migrated from Jboss 4.0.3 to 4.0.5 and am experiencing the above 
mentioned error. The following structure works flawlessly in 4.0.3 and is as 
follows:


  | deploy/hibernate.har/jboss-service
  | 
  | deploy/ejb3.deployer/ehcache.xml
  | deploy/ejb3.deployer/ehcache-1.2beta4
  | deploy/ejb3.deployer/ehcache-constructs-0.6
  | 

My jboss-service reads as:


  | server
  | mbean code=org.jboss.hibernate.jmx.Hibernate 
name=jboss.har:service=Hibernate
  | attribute 
name=SessionFactoryNamejava:/hibernate/SessionFactory/attribute
  | attribute name=DatasourceNamejava:/PostgresDS/attribute
  | attribute 
name=Dialectorg.hibernate.dialect.PostgreSQLDialect/attribute
  | attribute 
name=CacheProviderClassorg.hibernate.cache.EhCacheProvider/attribute
  | attribute name=ShowSqlEnabledtrue/attribute
  | attribute name=JdbcBatchSize25/attribute
  | /mbean
  | /server
  | 

My cache description is as:


  |  cache name=test.Artist 
  | maxElementsInMemory=500 
  | eternal=false 
  | overflowToDisk=true 
  | timeToIdleSeconds=300 
  | timeToLiveSeconds=600 
  | diskPersistent=false
  | diskExpiryThreadIntervalSeconds=1 /
  | 


The full error listing is as follows:


  | java.lang.NoSuchMethodError: 
net.sf.ehcache.Cache.get(Ljava/lang/Object;)Lnet/sf/ehcache/Element;
  | org.hibernate.cache.EhCache.get(EhCache.java:74)
  | org.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:153)
  | 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:156)
  | 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
  | org.hibernate.loader.Loader.doQuery(Loader.java:717)
  | 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | org.hibernate.loader.Loader.doList(Loader.java:2144)
  | org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
  | org.hibernate.loader.Loader.list(Loader.java:2023)
  | org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
  | 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:780)
  | test.User.getUser(User.java:328)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
  | org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:204)
  | org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085)
  | org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
  | 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
  | 
org.apache.cocoon.forms.util.JavaScriptHelper.callFunction(JavaScriptHelper.java:241)
  | 
org.apache.cocoon.forms.validation.impl.JavaScriptValidator.validate(JavaScriptValidator.java:71)
  | 
org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition.validate(AbstractWidgetDefinition.java:318)
  | 
org.apache.cocoon.forms.formmodel.AbstractWidget.validate(AbstractWidget.java:339)
  | 
org.apache.cocoon.forms.formmodel.AbstractContainerWidget.validate(AbstractContainerWidget.java:124)
  | org.apache.cocoon.forms.formmodel.Form.validate(Form.java:429)
  | org.apache.cocoon.forms.formmodel.Form.process(Form.java:374)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
  | org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:204)
  | org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085)
  | org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
  | 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
  | org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
  | org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
  | 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:159)
  | org.mozilla.javascript.Context.call(Context.java:489)
  | 

[jboss-user] [Beginners Corner] - Refreshing problem with Servlets in Linux

2007-03-14 Thread aceofspades
Hi, 

In my current project, I am having a Servlet that loads data to an Excel file, 
so that user can store on to his/her local machine.

When the application is run, the Servlet executes first time, and the file is 
created with obtained data. After this whenever the operation is performed, the 
Servlet 

is not executed and the same data is retrieved; i.e. the data is not getting 
refreshed and user downloads old data each and every time.

This is happening only in Linux system, in Windows this is working fine.

Please Help.

Regards,
Gurinder Singh


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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread agarwar7
Hi

I followed these steps 
1) i created a sample application as Dynamic web Project on Eclipse IDE
then I deployed on Jboss  Portlet server 2.4.1
as when i am trying to run Jboss from Eclipse it's giving me ErrorCan not 
start server after 50 ms
So I am externally starting the server 
and Exporting my application as WAR file and putting that in 
Jboss-server-default-deploy 
and when i am trying URL http://localhost:8080/portal
It's showing me my application on right bottom but giving me msg as Object not 
found of hello(which is my application name )

My application structure is 
i have one source package in which i have my HelloWorld class
and 
in web-inf i have portlet.xml and web.xml 

As i don't know so much about the flow so i am not able to understand the whole 
thing 

Ruchi


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

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


[jboss-user] [JBoss Portal] - Problem configuring the LDAP extended role module

2007-03-14 Thread ikazarno
Hi,

I would like to activate the LDAP extended role module in order to use the role 
search filter. I have changed the corresponding configuration in the 
ldap_identity-config.xml:


  | module
  |typeRole/type
  |implementationLDAP/implementation
  |classorg.jboss.portal.identity.ldap.LDAPExtRoleModuleImpl/class
  |config/
  | /module 
  | 

Unfortunately I get an exception starting the server:

Caused by: MBeanException: null 

Cause: java.lang.IllegalArgumentException: 

Property RolesCount has two getters 

public int org.jboss.portal.identity.ldap.LDAPExtRoleModuleImpl.getRolesCount() 
throws org.jboss.portal.identity.IdentityException 

and 

public int org.jboss.portal.identity.ldap.LDAPRoleModuleImpl.getRolesCount() 
throws org.jboss.portal.identity.IdentityException 

at 
org.jboss.portal.jems.as.system.JBossServiceModelMBean.(JBossServiceModelMBean.java:90)
  
at 
org.jboss.portal.jems.as.system.JBossServiceModelMBean.(JBossServiceModelMBean.java:69)
  
at 
org.jboss.portal.identity.IdentityServiceControllerImpl.startService(IdentityServiceControllerImpl.java:380)


Why is LDAPRoleModule still active and how can I deactivate it?

Thanks!

Igor

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

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


[jboss-user] [JBoss Seam] - RuleBasedIdentity.instance.getSecurityContext()

2007-03-14 Thread venkateshbr
hi,
 As per the documentation to assert additional long lived facts into the 
working memory RuleBasedIdentity.instance.getSecurityContext() doesn't seem to 
work. 
RuleBasedIdentity returns an instance of Identity and getSecurityContext 
doesn't work with an instance of identity.  I guess RuleBasedIdentity needs to 
return its own instance rather than returning superclass instance.

 - Venkatesh

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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread agarwar7
[EMAIL PROTECTED] wrote : Do you have the portlet deployed as a portlet 
definition ? I mean does it appear in the list of portlets in the portlet 
management ?

Hi

I followed these steps 
1) i created a sample application as Dynamic web Project on Eclipse IDE
then I deployed on Jboss  Portlet server 2.4.1
as when i am trying to run Jboss from Eclipse it's giving me ErrorCan not 
start server after 50 ms
So I am externally starting the server 
and Exporting my application as WAR file and putting that in 
Jboss-server-default-deploy 
and when i am trying URL http://localhost:8080/portal
It's showing me my application on right bottom but giving me msg as Object not 
found of hello(which is my application name )

My application structure is 
i have one source package in which i have my HelloWorld class
and 
in web-inf i have portlet.xml and web.xml 

As i don't know so much about the flow so i am not able to understand the whole 
thing 

Ruchi


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

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


[jboss-user] [JBoss Seam] - Re: conversationList

2007-03-14 Thread [EMAIL PROTECTED]
I am using the very latest Beta from IceFaces (1.6.0.DR1) and the latest seam 
1.2.0.Patch 1 

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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread [EMAIL PROTECTED]
So you have an empty window on the portal page, with an error message ?

How did you create the window ?

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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread agarwar7
[EMAIL PROTECTED] wrote : So you have an empty window on the portal page, 
with an error message ?
  | 
  | How did you create the window ?

This is the code of my HelloWorld.java 

package source;
import javax.portlet.*;
import java.io.*;

public class  HelloWorld extends GenericPortlet{
  protected void doView(RenderRequest request,
  RenderResponse response) throws
  PortletException, IOException {
response.setContentType(text/html);
response.getWriter().println(Hello Portlet);
}
}


and rest is my Portlet.xml has following code


  HelloWorldDescription

portlet-namehello
/portlet-name
display-namehello
/display-name

portlet-classclasses.source.HelloWorld
/portlet-class
!--expiration-cache/expiration-cache--

  mime-typetext/html/mime-type
  portlet-modeVIEW
  /portlet-mode

supported-localeen
/supported-locale

portlet-info
  Hello World
  short-titleHello World
  /short-title
  Hello,pluto
  /portlet-info


This is the only thing i have 
tell me one thing to deploy a project in Jboss through Eclipse should i 
download Jboss IDE Plugin if yes
then which version i should download

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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread [EMAIL PROTECTED]
You got your portlet-class wrong


  |  portlet-classsource.HelloWorld/portlet-class 
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread agarwar7
[EMAIL PROTECTED] wrote : You got your portlet-class wrong
  | 
  | 
  |   |  portlet-classsource.HelloWorld/portlet-class 
  |   | 

I tried but this coming the same 
On the top of that whenever i am deleting some war file from deploy folder it 
is still showing on Portal page 

Can you pls tell me where it stores the details of portlets because it seems 
once it deploy some portlet it stored this somwhere


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

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


[jboss-user] [JBoss Seam] - Re: RuleBasedIdentity.instance.getSecurityContext()

2007-03-14 Thread [EMAIL PROTECTED]
You're right.  I've updated CVS to fix this - in the meantime you can just cast 
the result to RuleBasedIdentity.

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

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


[jboss-user] [JBoss Portal] - Re: Guide me in creating sample Portlet program on Jboss Por

2007-03-14 Thread [EMAIL PROTECTED]
To start from scratch, delete the directory server/default/data from JBoss AS

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

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


[jboss-user] [JBoss jBPM] - Re: how to render widgets other than textbox for process var

2007-03-14 Thread aleem
How to use per task design time forms. How to integrate it with the flow? I can 
see the option for associating the tasks with the forms. But how to simply use 
it? 

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

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


[jboss-user] [Beginners Corner] - Re: patches updates ?

2007-03-14 Thread ckiltz
Hello Peter,

thank you very much!

So, if ein want to install the latest patches of Application Server, I go to 
Subversion, select

jbossas SVN Anonymous   ViewVC

on this page and than? Is there a dokumentation for patching JBoss AS?

Sorry, but this are my very first steps with JBoss AS! Grrr...

Best wishes from 

Christian

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

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


[jboss-user] [JNDI/Naming/Network] - Local datasource but pull info from external ldap

2007-03-14 Thread kbpair
Is there any way I can use my global ldap to store connection information for 
things like datasources, messaging, email but have JBoss create local entries 
in jndi with this information.

For example, my dev instance of JBoss would create a local database connection 
pool on startup or after a 'flush' but get the connection information from an 
external LDAP.

Potentially I could just use the external ldap directly for email and even 
messaging but my main concern is the datasource because I am unsure how 
connection pooling would work. That is why I would like to set up the local 
datasource.

any suggestions are appreciated.

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

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


[jboss-user] [JBoss Seam] - Re: s:selectDate problem

2007-03-14 Thread cavani
Works fine thanks!

Plus one little annoying thing using dateFormat dd/MM/, this two 
format should be right (right?):

09/12/2005
9/12/2005

but, just the second is understood.

this don't occurs with months 9/5/2005 and 9/05/2005 are equally 
interpreted

Should I JIRA this?

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

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


[jboss-user] [JBoss jBPM] - Re: How to delete Memberships

2007-03-14 Thread JimKnopf
The deleting on the Database is not realy the Problem.
The Problem is, that the Memberships are still in use by other Objects like 
User and Group whitch are have a Hash-Table of there memberships.

And the User didn't have a methode to delete a Membership. Only Group have 
setMemberships. The User have only addMembership :(


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

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


[jboss-user] [JBoss jBPM] - Re: How to delete Memberships

2007-03-14 Thread Olivier_Debels

I thought that doing a session.delete of a membership will also remove this 
membership out of the collections in user and group.

This because the membership is a hibernate object and calling delete removes 
the object from the session (so also from the mapped collection in the same 
hibernate session).

But like I said I didn't really try that.

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

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


[jboss-user] [JBossCache] - Re: cache passivation problem

2007-03-14 Thread [EMAIL PROTECTED]
Passivation (writing to disk) only happens when data is evicted from memory.  
I.e., when the eviction algorithm decides that it needs to free up some memory.

If you want to write to disk all the time as a persistent store, set 
passivation to false, but still make sure you have a cache loader configured.

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

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


[jboss-user] [JBossCache] - Re: Caching data per user - multiple instances or not?

2007-03-14 Thread [EMAIL PROTECTED]
Global instance, node per user.



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

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


[jboss-user] [JBoss Portal] - adding themes to portal core?

2007-03-14 Thread FredF
Hello.

Is there any hook in the portal core api which I can call to create a new
theme in the portal core? I am referring to the portal-themes.xml file. I have 
a function that allows users in the portal to create their own theme (mainly 
background image and portlet-frame images) and i want to automatize this as far 
as possible. My idea is to have a new folder in

\jboss-portal.sar\portal-core.war\themes


created and then have a new element in the portal-themes.xml created. Does 
creating new themes require any additional steps to add a theme by hand?

So, my question is: Is there some sort of api-call to acomplish all this or do 
I have to manually create all files and folders and entries in the 
portlet-themes.xml?

thanks.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 5beta1, JSF1.2 and Netbeans Visual Web Pack

2007-03-14 Thread h0ppy
Hi Stan,

I deployed my app to JBoss 4.2CR1 and the good news is the malformed error has 
disapeared!  The bad news is I am getting the same error from the woodstock 
components:


  | 12:42:28,578 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
  | org.apache.jasper.JasperException: Unable to compile class for JSP:
  | 
  | An error occurred at line: 5 in the jsp file: /Index.jsp
  | The method setId(String) in the type UIComponentClassicTagBase is not 
applicable for the arguments (JspValueExpression)
  | 2: jsp:root version=1.2 xmlns:f=http://java.sun.com/jsf/core; 
xmlns:h=http://java.sun.com/jsf/html; xmlns:jsp=http://java.sun.com/JSP/Page; 
xmln
  | s:webuijsf=http://www.sun.com/webui/webuijsf;
  | 3:   jsp:directive.page contentType=text/html;charset=UTF-8 
pageEncoding=UTF-8/
  | 4:   f:view
  | 5: webuijsf:page binding=#{Index.index} id=index
  | 6:   webuijsf:html binding=#{Index.html} id=html
  | 7: webuijsf:head binding=#{Index.head} id=head
  | 8:   webuijsf:link binding=#{Index.link1} id=link1 
url=/resources/stylesheet.css/
  | 

It's a little bit strange becuase I'm not using a jspValueExpression on the id 
attribute (I assume that means a #{...} expression). I checked the TLD file for 
the components and could find nothing untoward there.  I can only assume that 
the version of UIComponentClassicTagBase in JBoss is not what the components 
are expecting. Do you know what version if the jsf-api/impl are used by 4.2?  

Any other suggestions would be most welcome.

Regards,
Jason

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

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


[jboss-user] [JBoss Messaging] - mising topic info from JBM_POSTOFFICE table

2007-03-14 Thread mskonda
I tried to figure out the topic info from the JBM_POSTOFFICE table (1.2.0.GA), 
but it seems I can only see queue.* stuff. I don't think this is intended. 
(check your database explorer or hypersonic to see the table details).

Out of curiosity, does this table replace the older CHANNEL_MAPPING table?

Thanks
/Madhu




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

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


[jboss-user] [JBoss Seam] - Re: s:selectDate problem

2007-03-14 Thread [EMAIL PROTECTED]
It works for me.  Make sure you specify both the dateFormat on the selectDate, 
and the convertDateTime pattern.  Here's an example:


  | h:inputText id=checkinDate value=#{booking.checkinDate} 
required=true
  |   s:convertDateTime pattern=dd/MM//
  | /h:inputText
  | s:selectDate for=checkinDate dateFormat=dd/mm/
  |   h:graphicImage url=img/dtpick.gif 
style=margin-left:5px;cursor:pointer/
  | /s:selectDate
  | 

The dateFormat needs to be specified on ALL selectDate controls on the page, if 
you're not using the default.

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

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


[jboss-user] [JBoss Messaging] - sybase-persistence file has a key word

2007-03-14 Thread mskonda
The sybase-persistence-service.xml has a column called CLUSTERED in table 
JBM_POSTOFFICE. Unfortunately this is a keyword in sybase and hence needs to be 
changed appropriately (I''ve changed to JBM_CLUSTERED)
My Sybase version: ASE:12.5

Thanks
MAdhu

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

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


[jboss-user] [JBoss Messaging] - Re: mising topic info from JBM_POSTOFFICE table

2007-03-14 Thread mskonda
BTW, the info is correctly shown in JNDIView

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

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


[jboss-user] [JBoss Portal] - Portlet Login/Authentification

2007-03-14 Thread laurie.t
Hello,

I use the version 2.6 of Jboss Portal.

I would like to know if there is Portlet where it is possible to put the login 
and the password without passing by the page  JBoss Portal Login .
In fact I would like to be able to bring in my login and my password and so 
click to validate (for example).
And later I want to be able to disconnect from the same portlet (as in the demo 
with User Portlet).
I would like to know if the portlet exists under Jboo Portal or if it is 
possible to download her(it) or then if it is necessary to create her(it)?

Thanks for your help.


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

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


[jboss-user] [JBossCache] - Re: PojoCache vs serialized bean in TreeCache

2007-03-14 Thread bob_ninja
Agreed. I would prefer simpler PojoCache.
However, I am running into problems. Also, the new version 2.0 seems to contain 
a lot of changes, so I wonder how stable/finished PojoCache is, or if it has a 
lot more API adjustments and bug fixing to go.

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

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


[jboss-user] [JBoss/Spring Integration] - SpringDeployer EnhancedSuffixOrder

2007-03-14 Thread diippi
I am using spring deployer to deploy my spring beans , archived as abc.spring 
and specified in application.xml as follows :
 module
 ejbspring/abc.spring
/ module

The spring beans do a jndi lookup for hibernate session factory deployed as a 
har file which is specified in jboss-app.xml as follows :
 module
 harhar/xyz.har
/ module

Problem is that spring deployment happens before the har deployment 
(application.xml before jboss-app.xml) and so it fails .
Is there any way I can force the har deployment before the spring ?

I played around with xmbean definition yesterday but 'EnhancedSuffixOrder' 
seems to not have been defined for SpringDeployer. As far as I can fathom , 
.spring and .har both have order of 350 . Is there anyway this can be changed ? 
Can I get the source code for SpringDeployer anywhere ? 

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

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


[jboss-user] [JBoss Portal] - Re: Portlet Login/Authentification

2007-03-14 Thread [EMAIL PROTECTED]
There is nothing clean that we can provide.

The way JAAS authentication works is that it triggers the authentication only 
when you access a protected resource.

That said, there are existing *hacks* like the one explained here: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=PortletLogin




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

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


[jboss-user] [JBoss Seam] - Re: s:selectDate problem

2007-03-14 Thread cavani
I am using exactly this code (inside a h:panelGroup).

I try with converter and get the same behavior I describe before... but only 
with 09 and 08 all others work (01-07). the
day is highlighted when 9 and not with 09 (same for 8 and 08).

Crazy :P

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

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


[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-14 Thread sshrestha
my mysql-ds.xml file:

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | !-- $Id: mysql-ds.xml,v 1.3.2.3 2006/02/07 14:23:00 acoliver Exp $ --
  | !--  Datasource config for MySQL using 3.0.9 available from:
  | http://www.mysql.com/downloads/api-jdbc-stable.html
  | --
  | datasources
  |   local-tx-datasource
  | jndi-namewsMySql/jndi-name
  | 
connection-urljdbc:mysql://10.0.0.105:3306/myData?autoReconnect=true/connection-url
  | driver-classcom.mysql.jdbc.Driver/driver-class
  | user-nameusr/user-name
  | passwordpwd/password
  | 
exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name
  | 
  | min-pool-size30/min-pool-size
  | max-pool-size60/max-pool-size
  | 
  | metadata
  |type-mappingmySQL/type-mapping
  | /metadata
  |   /local-tx-datasource
  | 
  | /datasources
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - s:SelectDate not popup

2007-03-14 Thread bengao
I am using Facelet + Seam 1.2 Patch1 JBoss 4.0.5 (EJB 3 profile Installation) 
to develop a web application.

I try to use s:SelectDate in a simple page modified from booking sample book.xml


h:outputLabel for=receiveDateReceived 
Date:/h:outputLabel

h:inputText id=receiveDate 
value=#{transaction.txDateReceived} required=true
s:convertDateTime 
pattern=MM/dd//
/h:inputText
s:selectDate for=receiveDate
h:graphicImage url=img/dtpick.gif 
style=margin-left:5px;cursor:pointer/
/s:selectDate

   

The selectDate component rendered correctly, I can see icon, if I put mouse 
over image, mouse shape changed. but I cannot click it to active popup.

Please advise.

thanks,

Ben

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

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


[jboss-user] [JBoss jBPM] - problem with jbpm-3.2.Beta2

2007-03-14 Thread fuligj
I have downloaded the jbpm-3.2.Beta2 and when I try to start the sample  
process in web-console, i receive an error message: Can't overwrite cause. I 
use JDK 6.
What can be wrong?
Thanks.

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

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


[jboss-user] [JBoss Portal] - Re: Using alternative source for JBoss Portal authentication

2007-03-14 Thread engela
I came across some documentation about the 
org.acegisecurity.adapters.jboss.JbossAcegiLoginModule which may be used to 
integrate Acegi in JBoss Portal. I haven't yet had the time to test it but here 
is the link.

http://sun.calstatela.edu/~cysun/documentation/acegi/acegi.html#ca-jboss

Regards,

Anette

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

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


[jboss-user] [JBoss Seam] - Re: iText PDF generation

2007-03-14 Thread efabiano
Thank you very much fers.

But  I´m using Jasper now and its excelent pdf support.

best
emerson fabiano

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

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

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


[jboss-user] [JBoss Seam] - Re: since today (JBSEAM-954?) I get NPE in setEntityManagerF

2007-03-14 Thread codelion
!ATTLIST page login-required (true|false) #IMPLIED instead of false fixes 
the problem on my machine.

The bigger problem though would be people who don't change the DTD e.g. from 
1.2 to either 1.2.1 or 1.3 and still get the false instead of recognizing it 
isn't defined.  So a login-required that isn't defined acts like a 
login-required=false, which trying to implement JBSEAM-1009 is bad.

One answer would be well, then let's forget about JBSEAM-1009.  Not a good 
answer.

Meanwhile I might have a better patch for 1009 working also for overriding 
restrict ... specific over less specific wildcard (need to test), and am 
using a nicer pages element attribute name for the on/off flag for this feature

weaker-explicit-security=true

Any guidance, e.g. whether instead of login-required we now should use 
require-login to ensure #IMPLIED.  Should we replace it, or have both in the 
code?  Doesn't sound good.

I hope Seam isn't too old yet to allow change for the better.

Sure, one could say have to switch to new DTD anyway to comply for 
weaker-explicit-security, but the problem are older whatever.page.xml files.

Then, we could keep the DTD's ID of the pages.xml and compare all page.xml and 
throw an exception if on is a different version.  That would be dom4j 
DocumentType method getPublicID?  Or getSystemID?

I want to get this to work in a way that works for everyone.

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

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


[jboss-user] [JBoss Messaging] - Re: Failed to download and/or install client side AOP stack

2007-03-14 Thread pdestrais
Hi,

I found the problem using a separate standalone client application.
The jbossall-client jar was still in the classpath of my queue client.
Suppressing this jar solved the problem.

Philippe

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

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


[jboss-user] [JBoss Seam] - Re: s:SelectDate not popup

2007-03-14 Thread [EMAIL PROTECTED]
Do you have the Seam resource servlet configured in your web.xml?



  | servlet
  |   servlet-nameSeam Resource Servlet/servlet-name
  |   servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class
  | /servlet
  | 
  | servlet-mapping
  |   servlet-nameSeam Resource Servlet/servlet-name
  |   url-pattern/seam/resource/*/url-pattern
  | /servlet-mapping  
  | 

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

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


[jboss-user] [JBoss Portal] - Network / Server File Portlet

2007-03-14 Thread kmazur
Hello,

I am absolutely new to JBOSS but have been working with Novell ExteNd and 
Novell User App for about 2 years.  We are moving from Novell extend to JBOSS 
as extend is EOL.

Is there a 'network file portlet' which will allow me to point to a file share 
on another server or servers and display the folders/files that are there???  
if so, which one is it and/or where can I find information about it

Thank YOU

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

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


[jboss-user] [JBoss Seam] - Re: s:SelectDate not popup

2007-03-14 Thread cavani
With you did this, ignore me please.

This files needed from Booking:

css/date.css

img/cal-next.png
img/cal-prev.png
img/input.bg.gif

on  of HTML:


  | link href=css/date.css rel=stylesheet type=text/css /
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Problems with the rights (security)

2007-03-14 Thread [EMAIL PROTECTED]
This is now fixed.
RElated Jira is here: http://jira.jboss.org/jira/browse/JBPORTAL-1319

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

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


[jboss-user] [JBoss Seam] - Re: s:selectDate problem

2007-03-14 Thread cavani
exactly same estrange behavior for months

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

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


[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.2.Beta2

2007-03-14 Thread kukeltje
- appserver?
- stacktrace?
- ...

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

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


[jboss-user] [Security JAAS/JBoss] - Smartcard authentication

2007-03-14 Thread mpx15
Can JBoss applications use smartcard authentication? Can anybody point to 
revelant documentation and/or examples?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ManyToMany problem: removing referenced records

2007-03-14 Thread nico.ben
Hi,
I am working with ManyToMany annotation and I cannot obtain the behaviour I'd 
like to. I need for this forum's help.
 
I have these tables:

SkillTypes:  
id_skill_type
...


Operations:
id_operation
...


R_operations_skills:
id_r_operation_skillPK
id_operation   FK
id_skill_typeFK


In my 2 entity beans (I don't have a EJB for the relation table 
R_operations_skills) I used these annotations:

Operation.java

@ManyToMany(cascade={CascadeType.REFRESH, CascadeType.PERSIST}, 
fetch=FetchType.LAZY)
  | @JoinTable(name=r_operations_skills,
  |[EMAIL PROTECTED](name=id_operation),
  |[EMAIL PROTECTED](name=id_skill_type))
  | @OrderBy(description)
  | public ListSkillType getSkillTypes() {
  | return skillTypes;
  | }
  | 



SkillType.java

@ManyToMany(cascade={CascadeType.REFRESH, CascadeType.PERSIST}, 
fetch=FetchType.LAZY)
  | @JoinTable(name=r_operations_skills,
  |[EMAIL PROTECTED](name=id_skill_type),
  |[EMAIL PROTECTED](name=id_operation))
  | @OrderBy(description)
  | public ListOperation getOperations() {
  | if(operations == null) {
  | operations = new ArrayListOperation();
  | }
  | return this.operations;
  | }


My problem is that deleting a skill which has relations with operations, the 
skill is removed from SkillTypes and also records in the relation table are 
deleted.
I exptected that I cannot delete a skillType used in the relation.
Could you please suggest me how to solve my problem?

Thank u
Nico

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.2, RichFaces Woodstock (JSF 1.1 or 1.2)

2007-03-14 Thread [EMAIL PROTECTED]
I've not tested it yet, so looks like you're he guinea pig ;-)

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

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


[jboss-user] [JBoss Seam] - Testing an @Asynchronous action

2007-03-14 Thread lowecg2004
Hi,

I have added a call to an asynchronous call to one of my actions.  When running 
from testng I get an NPE from the seam.core.Dispatcher where the offending code 
is trying to dereference a null object.  The object in question is:

@Resource TimerService timerService;

After some digging I find that embeddable EJB does not support a timer service. 
 Fine.  But I *really* need to be able to test my functionality here, even if 
it runs synchronously.  That brings me to my request - is it possible for any 
of the following to happen in this scenario (in order of preference):

1. Get my hands on the JBoss 5 Embedded which promises a microcontainer that 
can run everything JBoss AS can?
2. Be able to create a mock TimerService as part of Seam test?
3. Seam to recognise that there is no timerService, issue a big fat warning and 
ignore @Asynchronous altogether?

Are there any other options I've missed?  #1 would be preferable assuming the 
container is stable enough - anyone know when it is going to be released?.  I 
don't mind having a go at #2, but I could use some direction (like creating and 
installing an instance of @Resource TimerService for instance);

Best Regards,

Chris.

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

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


[jboss-user] [JBoss Seam] - Re: Testing an @Asynchronous action

2007-03-14 Thread lowecg2004
Sorry about that first sentence!

Bad English makes me (sic)

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

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


[jboss-user] [Installation, Configuration Deployment] - Using SPI in JBoss AS

2007-03-14 Thread mjuergens
Hi,

i´m trying to install a special Charset with suns Service Provider Interface.
The SPI can find such serviceproviders only if they are in the system classpath.

How can I install a jar within jboss using system classloader?

Using JBOSS_CLASSPATH is not a real solution for us, because it is outside of 
our deployment infrastructure.

regards,

Michael


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

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

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


[jboss-user] [EJB 3.0] - Re: PersistenceContext and EntityManager

2007-03-14 Thread HoleInOne
First: Your answer did the trick,Thanks a lot!
secondly: WHY?
Why is injection done AFTER the constructor? I made those nice final fields to 
be injected and now they fail ;-(

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

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


[jboss-user] [JBoss Messaging] - Re: Failure in jms activation

2007-03-14 Thread [EMAIL PROTECTED]
I will be doing the same here from scratch also... 
I will be back to you soon with results.

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

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


[jboss-user] [JBoss Portal] - Re: adding themes to portal core?

2007-03-14 Thread [EMAIL PROTECTED]
You could use the ThemeService.
org.jboos.portal.theme.ThemService

It has the following method:
 addTheme(RuntimeContext runtimeContext, PortalThemeMetaData metaData) throws 
ThemeException;

You should be able to achieve this goal.

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

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


[jboss-user] [JBoss Portal] - Re: Problems with the rights (security)

2007-03-14 Thread laurie.t
ok
thank you.

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

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


[jboss-user] [JBoss Messaging] - Re: sybase-persistence file has a key word

2007-03-14 Thread timfox
Thanks Madhu- here is the issue

http://jira.jboss.org/jira/browse/JBMESSAGING-918

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

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


[jboss-user] [JBoss Messaging] - Re: Failure in jms activation

2007-03-14 Thread NWNE
Thank you very much.
I have spent days with this and i would say a huge thanks for your help.

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

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


[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.2.Beta2

2007-03-14 Thread fuligj
- Stack Trace
  | 
  | java.lang.IllegalStateException: Can't overwrite cause
  | at java.lang.Throwable.initCause(Throwable.java:320)
  | at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:59)
  | at com.ctc.wstx.exc.WstxException.init(WstxException.java:46)
  | at com.ctc.wstx.exc.WstxIOException.init(WstxIOException.java:16)
  | at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:522)
  | at com.ctc.wstx.sr.WstxStreamReader.next(WstxStreamReader.java:978)
  | at 
org.jbpm.webapp.tag.jbpm.ui.XmlPrinter.encodeBegin(XmlPrinter.java:113)
  | at 
org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:31)
  | at 
org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:58)
  | at org.jbpm.webapp.tag.jbpm.ui.Tab.encodeChildren(Tab.java:112)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
  | at 
org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:619)

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

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


[jboss-user] [JBoss Messaging] - Re: mising topic info from JBM_POSTOFFICE table

2007-03-14 Thread timfox
This is intentional.

The post office table contains entries for any queues it knows about (a queue 
is either a JMS queue or a JMS topic subscription) - if your topic has no 
subscriptions then there will be no entries in the table.

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

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


[jboss-user] [Beginners Corner] - Re: Refreshing problem with Servlets in Linux

2007-03-14 Thread PeterJ
When you say the problem is on Linux but works fine on Windows, do you mean:

a) If you deploy the servlet to a jboss as running on Windows, then when users 
access the data it works correctly, but when you deploy he servlet to jboss as 
running on Linux then when the users access the data they get the old data?

b) When users running a browser on Windows access the data they get the correct 
data, but when users running a browser on Linux access the data they get old 
data?

If the answer is (b), what browser if being used on each system? Also, if the 
Linux user hits the refresh button on the browser, does the correct data show 
up?

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

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


  1   2   3   >