[jboss-user] [JBoss Portal] - Re: Locked out from viewing CMS admin portlet

2007-12-16 Thread roth
I already found and fixed the issue by changing portlet-instances.xml in portlet-cms.war. I have played around heavily with permissions, and I must somehow have turned things upside down. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113290#4113290 Reply to

[jboss-user] [JBoss Portal] - Locked out from viewing CMS admin portlet

2007-12-16 Thread roth
Hi I somehow managed to lock myself out from viewing the CMSPortletAdminInstance. It doesn't show up under "Portlet Instances" in the admin portal, and the CMS admin page is empty, yet the portlet seems to still exist. When I create a new instance with the same name, I see an error stating that

[jboss-user] [JBoss Seam] - Solved: Problems with ajax4jsf and view-handler

2007-12-16 Thread wachtda
The Problem was a missing library in the ant-script... Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113286#4113286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113286 __

[jboss-user] [JNDI/Naming/Network] - Re: Multiple database JNDI calls in single EJB

2007-12-16 Thread jaikiran
You know the implication of changing it to no-tx-datasource, right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113284#4113284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113284 ___

[jboss-user] [JNDI/Naming/Network] - Re: Multiple database JNDI calls in single EJB

2007-12-16 Thread anacarda
I changed the datasources to be no-tx-datasource, they were local-tx-datasource. Seems to work fine now... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113283#4113283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=411

[jboss-user] [JBoss Seam] - TestNG unit tests with seam 2.0 in JPA environment?

2007-12-16 Thread andrew.rw.robinson
I am having issues trying to figure out how to configure my unit tests to test my entities and seam components. I am running in the JPA environment. I made a test base class to setup the entity manager. I am just not sure how to hook up the EntityManagerFactory with my datasource. Test class co

[jboss-user] [JBoss Seam] - Re: Trouble W/ NullPointerException

2007-12-16 Thread nathandennis
changed it to | List resultList = entityManager.createQuery("select s from " + | "Server s where lower (s.status) = :param order by s.usedspace desc") | .setParameter("param", "online") | .getResultList()

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL + Persistence encoding issues

2007-12-16 Thread adam.bonkowski
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113278#4113278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113278 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: org.jboss.resource.adapter.jdbc.WrappedCallableStatement

2007-12-16 Thread jaikiran
"cybercollege" wrote : I am using Eclipse, I have added jboss-common-jdbc-wrapper.jar file which contains the org.jboss.resource.adapter.jdbc.WrappedCallableStatement; | but when I try to import as follow: | | import org.jboss.resource.adapter.jdbc.WrappedCallableStatement; | | I get

[jboss-user] [JBoss Seam] - Re: PersistenceException when using double in Oracle10g

2007-12-16 Thread saeediqbal1
I have the same issue. I disabled validation for now. Pete this isnt a hibernate issue, i think its a seam issue because the mapping is saved in a seam reverse engineering xml file but it doesnt pick up the mapping. why?. Please help!! View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: Trouble W/ NullPointerException

2007-12-16 Thread saeediqbal1
Please try using the setParameter(s) instead. see if the query works then. It probably doesnt see the params at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113274#4113274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

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

2007-12-16 Thread saeediqbal1
Try changing the top one to ScopeType.SESSION as they have in the booking example @Stateful | @Name("hotelSearch") | @Scope(ScopeType.SESSION) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113273#4113273 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [EJB/JBoss] - Re: How to deploy EJB in JBoss?

2007-12-16 Thread jaikiran
Create a jar file containing your EJBs and the ejb-jar.xml and place it in the deploy folder of JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113268#4113268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113268

[jboss-user] [JBoss jBPM] - Re: how to merge global variables value in a JOIN

2007-12-16 Thread stanatbics
Hi Is it possible to have different value with the same name for two instances.. Any configuration need to be modified? Regards Stan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113269#4113269 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JNDI/Naming/Network] - Re: Multiple database JNDI calls in single EJB

2007-12-16 Thread jaikiran
Have you configured your datasources (in the -ds.xml file) to be XA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113267#4113267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113267 __

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: start jboss5 error

2007-12-16 Thread jaikiran
"jaikiran" wrote : You did not mention the java version you are using. I'm sorry. Your exception stacktrace does contain the java version anonymous wrote : 10:53:13,505 INFO [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc. | 10:53:13,521 INFO [ServerInfo] Java VM: Java HotSpot(TM) Se

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: start jboss5 error

2007-12-16 Thread jaikiran
You did not mention the java version you are using. But going by the exception anonymous wrote : Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String; i guess, you are using Sun Java6. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6 for a workaround

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

2007-12-16 Thread damnh
Please help me??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113257#4113257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113257 ___ jboss-user mailing list jboss-user@li

[jboss-user] [Installation, Configuration & DEPLOYMENT] - start jboss5 error

2007-12-16 Thread tiandike
who can help me? the error is : 10:53:12,833 ERROR [AbstractKernelController] Error installing to Instantiated: name=DeploymentFilter state=Described java.lang.IllegalStateException: Class not found: [Ljava.lang.String; at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signat

[jboss-user] [JBoss Seam] - Re: Trouble W/ NullPointerException

2007-12-16 Thread nathandennis
thanks for the responses. unfortunately im still struggling. i tried both of your recommendations with no luck. here is the entity manager as declared in my components.xml | | i didnt find much with debug either. apparently im not doing something right. | 2007-12-16 21:26:11,361 D

[jboss-user] [JBoss/Spring Integration] - Jboss 5 Beta 2 and Spring Deployer

2007-12-16 Thread ragavgomatam
Hello, I managed to have JBoss 4.2.1 + Spring + ejb 3.0 working together with the spring deployer. I deployed my spring archive inside an EAR & it was working fine. However the same fails in jboss 5 Beta 2 as the EAR deployer fails to recognize the spring archive inside. Any suggestions/ideas

[jboss-user] [JBoss Seam] - Re: HELP: SEAM + RICHFACES + PORTLETS

2007-12-16 Thread chuaky
hi pete, We have applied Seam 1.2.1GA + Portal 2.4.1 in one of our projects and it is successfully deployed quite some time ago. One of the pages in the web UI need to refresh its content periodically (like 2 mins). The rendering time is long (about 15 secs) and it is due to the amount of inf

[jboss-user] [JBoss Seam] - Re: Developing with Seam 2 and deploying on WebSphere

2007-12-16 Thread kryl99
There appears to be some incompatibility (namely a missing getELContext() method) between the JSF library supplied by IBM with Websphere and the JSF 1.2 RI version utilised by Seam: Here is the stacktrace: Uncaught exception thrown in one of the service methods of the servlet: Faces Servlet. E

[jboss-user] [JNDI/Naming/Network] - Re: Multiple database JNDI calls in single EJB

2007-12-16 Thread anacarda
Just wondering, is it better to split my EJB into 3 seperate EJBs? ProphetDataEJB - Uses Prophet_Data database, returns information required / allows updates ProphetCubeEJB - Uses Prophet_Cube database, returns information required / allows updates ProphetEJB - uses the returned information from

[jboss-user] [JBoss Seam] - Re: [newbie] Problem passing parameters

2007-12-16 Thread [EMAIL PROTECTED]
"german.otero" wrote : Ok, In this example, we have a MessageManagerBean that is Session scopped. so it has the reference, is the same as the entityHome. or any Session Bean then holds the reference. this session bean, will have the reference to my selected object, until the end of my session..

[jboss-user] [JBossWS] - Re: wsconsume exception on document binding

2007-12-16 Thread paoletto
sorry, the wsdl got cutted.. here it is: | | http://docs.active-endpoints.com/activebpel/sample/wsdl/parseArray/2007/03/parseArray.wsdl"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/

[jboss-user] [JBossWS] - wsconsume exception on document binding

2007-12-16 Thread paoletto
I am trying to use ActiveBPEL togheter with JBossAS. I found an example where i can pass an array parameter to a bpel process (here http://forums.active-endpoints.com/attachment.php?attachmentid=1748&d=1173126517 , provided by the Active-Endpoints staff). I deployed it on tomcat, downloaded t

[jboss-user] [JNDI/Naming/Network] - Multiple database JNDI calls in single EJB

2007-12-16 Thread anacarda
Hi, I have some code in an EJB that I want to open up two different database connections (using JNDI) to two different datasources... so... Context loContext = (Context) new InitialContext().lookup("java:"); | DataSource loDataSource1 = (DataSource)loContext.lookup("Prophet_Data"); | Connect

[jboss-user] [JBoss Seam] - FlushModeType.MANUAL in conversation

2007-12-16 Thread kai222
Hi, I cannot control the synchronization from a persistent object to the database. The more I read and the more I try out the more I get confused. I hope that somebody can give me a helping hint. For testing I generated a simple ear project with seam-gen (Seam 2.0.0.GA) and added an entity cla

[jboss-user] [JBoss Seam] - Re: selected tab is lost on sorting of embeded datatable

2007-12-16 Thread [EMAIL PROTECTED]
This is really a richfaces question, so try the richfaces forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113238#4113238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113238 __

[jboss-user] [JBoss Seam] - Re: Page flow issues using jPDL

2007-12-16 Thread [EMAIL PROTECTED]
You should be able to do fine in conversation - just make sure not to propagate the conversation on navigation links. jPDL has a default transition - look in the jBPM docs for details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113237#4113237 Reply to th

[jboss-user] [JBoss Seam] - Re: PersistenceException when using double in Oracle10g

2007-12-16 Thread [EMAIL PROTECTED]
Ask on the hibernate forum :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113236#4113236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113236 ___ jboss-user mailing list j

[jboss-user] [JNDI/Naming/Network] - Re: Database JNDI call in EJB

2007-12-16 Thread anacarda
To the war file (containing the jsp file), I added a resource-ref element to web.xml and jboss-web.xml: web.xml | Prophet Cube Data | jdbc/Prophet_Cube | javax.sql.DataSource | Container | jboss-web.xml: | | jdbc/Prophet_Cube | javax.sql.DataSource | j

[jboss-user] [JBoss Seam] - Re: HELP: SEAM + RICHFACES + PORTLETS

2007-12-16 Thread [EMAIL PROTECTED]
Please don't use captial letters. The RichFaces and portal team are currently working on this for Seam2/RichFaces/(JBoss) Portal. Support for Seam + portal is available already, hopefully we can add RichFaces support in 2.0.2 View the original post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: Asynchronous method triggered multiple times.

2007-12-16 Thread [EMAIL PROTECTED]
vfaid, ask in the EJB3 forum JakeC - not with the EJB3 timer, but it is with the Quartz timer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113229#4113229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113229 ___

[jboss-user] [JBoss Seam] - Re: Injection doesnt work

2007-12-16 Thread [EMAIL PROTECTED]
Where? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113228#4113228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113228 ___ jboss-user mailing list jboss-user@lists.jboss.o

[jboss-user] [JBoss Seam] - Re: how to map abstract view Id to a xhtml file in Seam?

2007-12-16 Thread [EMAIL PROTECTED]
Use URLRewrite, we plan to integrate this deeper into Seam in the future http://jira.jboss.com/jira/browse/JBSEAM-274 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113227#4113227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss Seam] - Re: missing conversation entry error

2007-12-16 Thread [EMAIL PROTECTED]
Does the delete method complete without exception? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113226#4113226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113226 ___ jbos

[jboss-user] [JBoss Seam] - Re: form submission and s:button

2007-12-16 Thread [EMAIL PROTECTED]
Yes, but why not use h:commandButton? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113224#4113224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113224 ___ jboss-user mailin

[jboss-user] [JBoss Seam] - Re: Question about SEAM booking example

2007-12-16 Thread [EMAIL PROTECTED]
Bizarrely the hibernate only example (no JPA) is called hibernate2 ;) http://jira.jboss.com/jira/browse/JBSEAM-2387 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113225#4113225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [Javassist user questions] - Annotating JDK classes

2007-12-16 Thread gkorland
Hi, I'm trying to annotate all the classes used by the user application, the thing is that even with agentlib there classes that are loaded before the agent. How can I annotate all the classes including the JDK classes? Thanks, Guy View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JNDI/Naming/Network] - Database JNDI call in EJB

2007-12-16 Thread anacarda
Hi, I am fairly new to JBoss, so I am possibly missing something. I have a simple EJB, which just sets up a Connection to a JNDI datasource, then closes the connection. try { | Context loContext = (Context) new InitialContext().lookup("java:"); |

[jboss-user] [JBoss Seam] - Re: Seam PDF documents and conditional content

2007-12-16 Thread damianharvey
p:text has a rendered attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113221#4113221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113221 ___ jboss-user mailing lis

[jboss-user] [JBoss Seam] - Re: Set non-shared Hibernate interceptor on JPA EntityManage

2007-12-16 Thread Toby451
I am in need of auditlogging and versioning as well in the application we're building. And as always: the more elegant and slim solution, the better. So I wonder: Did you ever solve this in a nice way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113220#

[jboss-user] [JBoss jBPM] - Re: Could not find datasource: java:/JbpmDS

2007-12-16 Thread rodosa
Sorry! How can I do that? | Context ctx = new InitialContext(); | | Hashtable env; | env = new Hashtable(); | env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - unable to update entity in collection

2007-12-16 Thread u268
Another odd thing with hibernate: using the code below I'm unable to update entity data but successfully may add new one to collection : anonymous wrote : /** | * Writes qualification info into DB | * | * @param qualification object model to be updated | * @return tru

[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2007-12-16 Thread nugyentv
This is awsome seam maven2 plugin . Thank you so much for setting this up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113215#4113215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113215 ___

[jboss-user] [JBoss Seam] - unable to update entity in collection

2007-12-16 Thread u268
Another odd thing with hibernate: using the code below I'm unable to update entity data but successfully may add new one to collection : /** | * Writes qualification info into DB | * | * @param qualification object model to be updated | * @return true if successfull

[jboss-user] [JBoss Seam] - How to set and get cookie in seam?

2007-12-16 Thread Stateless Bean
Hi, I have one stateless bean in my app, and my scenario is: 1. first time visit page set cookie with some value, 2. second and more visits check if cookie exist and read it's value. I don't know where is my problem, each time I read only 2 cookies whitch aren't mine: 1. session id cookie 2. iden

[jboss-user] [JBoss jBPM] - Re: error in build cvs source code

2007-12-16 Thread fengzhi
hi kukeltje, thanks for your quickly answer. The file does't exist. regards Fengzhi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113210#4113210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113210

[jboss-user] [JBoss Portal] - Ajax Url

2007-12-16 Thread PMN
The ajax feature is not addressing much of it but anyway, the question is how to get an URL that is not pointing at a window or page but at the server itself, allowing to build a servlet url to whatever context is needed. The only way I found is to compute it { | PortalNodeURL url = response.

[jboss-user] [Security & JAAS/JBoss] - Re: j_security_check not working in LDAP based Authenticatio

2007-12-16 Thread jbosexplorer
Solved the problem. I've added the following in login-config.xml uniquemember | SUBTREE_SCOPE | ou=Groups,dc=company,dc=co,dc=uk | true | cn | false | And, changed the followin

[jboss-user] [JCA/JBoss] - Re: Configuring query time-out in Jboss 3.2.5

2007-12-16 Thread liorhg
Given we are not upgrading now, is there still an option to do that? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113203#4113203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113203 __

[jboss-user] [Microcontainer] - Re: OSGi Deployer on MC 2.0

2007-12-16 Thread alesj
"vbatista" wrote : | I have read on these forums that jboss 5.0 Beta3 will have the microcontainer 2.0, and that this version of the MC will have an OSGi deployer. Can any one confirm this? Is there any planned date for the release of JBoss 5.0 Beta3? | http://www.jboss.com/index.html?mo

[jboss-user] [Beginners Corner] - Re: Why use JBoss Messaging?

2007-12-16 Thread chrisrjcox
25 views and no body knows? Somebody must? Please..! :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113201#4113201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113201 _

[jboss-user] [JBoss Tools (users)] - Re: EAR project looses dependencies

2007-12-16 Thread [EMAIL PROTECTED]
should work just fine - let us know how it goes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113200#4113200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113200 ___ jbos

[jboss-user] [Security & JAAS/JBoss] - Permission Denied when getting FileInputStream

2007-12-16 Thread sarinbabu
Hi All, I am getting a java.io.FileNotFoundException(Permission denied) exception when I am trying to open a FileInputStream to a file in my local directory that has permissions -rwxr--r--. Our application actually allows to copy a file from any location in the unix file system to our applicat