[jboss-user] [JBoss Portal] - ClassCastException when casting Hibernate bean.

2006-07-28 Thread IvanLatysh
Hi All! I have a problem with casting retrieved hibernate bean from my portlet. I have simple setup: * Hibernate archieve deployed as HAR. * In my webapp I have har.jar with pojo classes. I successfully look up HibernateSessionFactory and query my bean from my portlet. But when I am trying to

[jboss-user] [Security & JAAS/JBoss] - Configuring SOAP over SSL

2006-07-28 Thread knatarajan
Hi, We have a web server front-ending an app server. When a browser accesses a URL served by the web server through HTTPS we do not want the web server to require a client certificate to be presented. However when a web service client accesses the Web Server to invoke a web service operation we

[jboss-user] [JBoss Seam] - Re: Getting IllegalStateException: No data type for node:...

2006-07-28 Thread [EMAIL PROTECTED]
select car from Car where vin=:vin should be: select car from Car car where vin=:vin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961666#3961666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961666

[jboss-user] [JBoss Seam] - Re: Access a Context Session Variablr from a Servlet?

2006-07-28 Thread [EMAIL PROTECTED]
Just get it from the HttpSession. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961664#3961664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961664 ___ jboss-user mailing li

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

2006-07-28 Thread [EMAIL PROTECTED]
We are still figuring out our strategy here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961663#3961663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961663 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3

2006-07-28 Thread [EMAIL PROTECTED]
anonymous wrote : Personally I am doing it this way: Even better, do that stuff in an @Unwrap method on a Seam component, and you can inject the wrapped Hibernate session using @In. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961662#3961662 Reply to the

[jboss-user] [JBoss Seam] - Re: @Remote still shown as

2006-07-28 Thread CptnKirk
This doesn't appear to be related to Seam. From this error it looks like you have different versions of your classes on your client and server. You also appear to be mixing RMI, EJB 2.x and EJB 3. I suggest using pure EJB 3 with Seam. Try looking at an EJB 3 tutorial and/or an EJB 3 book (fre

[jboss-user] [JBoss Seam] - Re: @Remote still shown as

2006-07-28 Thread bluetrade
It seems to be bound anyways to "ClassName/remote" even though this is not explicitly listed. I assume this because if I specify this, I get an error that differs from the error I get when misspell something in this string. However, none-the-less I cannot really figure out what's going on, sinc

[jboss-user] [Management, JMX/JBoss] - Re: start not being call on 4.0.2 startup

2006-07-28 Thread acxsjones
I need to call the method startService and not start. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961656#3961656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961656 ___ j

[jboss-user] [JBoss Seam] - @Remote still shown as "local"

2006-07-28 Thread bluetrade
Hi, I annotated one of my interfaces with @Remote, and when I deploy the application, it binds it to .../classname/local - so I assume that it doesn't recognize it. It also doesn't call the constructor, which to my knowledge should be done with stateless remote beans. Does anyone know what co

[jboss-user] [JBoss Seam] - Re: Query Logging?

2006-07-28 Thread peteroyle
Hi ptmain, I'm not sure about the SELECT/INSERT/UPDATE or the package level stuff, but I think I've read in docs about how to turn full sql logging on and off. Mind you I've never actually tried it, so anyone with actual experience in this is welcome to correct me :) Anyway, since we're using

[jboss-user] [Beginners Corner] - Re: comp not bound

2006-07-28 Thread PeterJ
Try remove the line that reads: Context myEnv = (Context) initial.lookup("java:comp/env"); and change the following line to: Object objref = initial.lookup("ejb/ConverterBean"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961653#3961653 Reply to the post

[jboss-user] [JBossWS] - WS4EE - Error while generating WSDL and jaxrpc mapping

2006-07-28 Thread ybh6336
Hello all, This is mainly a question about how to use wscompile.bat provided by JWSDP. I'm using JBoss 4.0.2/4.0.3 and using WS4EE to create a WSDL and jaxrpc mapping for my EJB SEI. I'm using Sun's JWSDP 1.4 to do so and my interface has simple String datatypes as arguments. I'm getting the fo

[jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle

2006-07-28 Thread wmprice
Don't do false This doesn't have anything to do with Servlets, but rather, accessing the DS outside of the container. It's an experimental feature of JBoss, at best and something we encournage people NOT to use. This is why you are having a problem BTW. Remove that tag, and your code should

[jboss-user] [Beginners Corner] - comp not bound

2006-07-28 Thread raysonliu
Hi, I've been trying the following project on Jboss ( initially from SUN J2EE tutorial ). Depolyment of EJB to Jboss is ok, but when I try the ConverterClient, I got the following error: Caught an unexpected exception! javax.naming.NameNotFoundException: comp not bound at org.jnp.server.

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Frequently Asked Questions[Tomcat/Http/Apache/Servlets/J

2006-07-28 Thread andresram1
:::JSF in apache + tomcat::: Well I found a solution... I have added to the web.xml of my jsf application the welcome-files tag... and it works But maybe there's another solution Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961648#3961648 Reply to

[jboss-user] [Management, JMX/JBoss] - Re: start not being call on 4.0.2 startup

2006-07-28 Thread acxsjones
I made a simple test and still can not get start to be called. So I guess I am missing something. I will post my example. | package com.acxiom.test; | | import org.jboss.system.ServiceMBeanSupport; | | public class Test extends ServiceMBeanSupport implements TestMBean { | |

[jboss-user] [JCA/JBoss] - Can't connect to global namespace datasource from servlet

2006-07-28 Thread LostJBossIdeUser
I just recently started playing with JBoss. I have been successful so far. But now I am stuck on a datasource issue. I need to access a MySQL DB from a servlet to read/write xml content. Here is what I have so far: mysql-ds.xml - jdbc/MySqlDS false jdbc:mysql://localhost:3306/proxyServl

[jboss-user] [JBoss Seam] - Cannot Deploy the JBoss Seam Examples ( getting Deployment E

2006-07-28 Thread klsateesh
Hi All, I installed JBoss4.0.4 and Started working on Seam Examples and i was able to deploy and test the examples initially.. I developed a Sample app (under /examples/remoting)and when i tried deploying it i am getting the following Exception | 16:52:16,279 ERROR [MainDeployer] Coul

[jboss-user] [JBoss Seam] - Re: Facelet and pageEncoding

2006-07-28 Thread CptnKirk
Later versions of facelets default to UTF-8. If you want to change that I think you can specify the encoding parameter on the xml declaration. If that doesn't seem to work for you, you might want to ask the facelets mailing list. View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JCA/JBoss] - How to configure JBoss with MS SQL Server

2006-07-28 Thread tach
Hello Forum! I want to know how to configure JBoss with MS SQL Server, I have downloaded sqljdbc.jar from Microsoft (is this the very file needed for configuration?) site but couldnt findout any tutorial or howTo, I have SQL Server version 2000 does the configuration same with version 2005? c

[jboss-user] [JBoss Seam] - Facelet and pageEncoding

2006-07-28 Thread goose-dog
Hi, I have utf8 data in my DB, and when I used to use JSP I can specify <%@ page pageEncoding="UTF-8" %> and the data display correctly.. however in facelet, I can't use that.. How should I do it in facelet? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961

[jboss-user] [JNDI/Naming/Network] - Can't connect to global namespace datasource from servlet

2006-07-28 Thread LostJBossIdeUser
I just recently started playing with JBoss. I have been successful so far. But now I am stuck on a datasource issue. I need to access a MySQL DB from a servlet to read/write xml content. Here is what I have so far: mysql-ds.xml ? jdbc/MySqlDS false jdbc:mysql://localhost:3306/

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Frequently Asked Questions[Tomcat/Http/Apache/Servlets/J

2006-07-28 Thread andresram1
Hello I can´t deploy my images build under jsf applications I have installed apache + tomcat and everything is fine with the configurations (I think so) because php, jsp and servlets application work well. My jsf applications work, but all images aren't deployed Thanks for your collaboration

[jboss-user] [JBossWS] - urgent - need help

2006-07-28 Thread nagmca
Hi, I have a requirement to pass an xml file (Invoice.xml) to web service and returns InvoiceResponse.xml file. How to achive this using web services? I was looking at samples (document oriented) but the test client is passing string values instead of xml file. I was getting unsupported except

[jboss-user] [Datasource Configuration] - Can't connect to global namespace datasource from servlet

2006-07-28 Thread LostJBossIdeUser
I just recently started playing with JBoss. I have been successful so far. But now I am stuck on a datasource issue. I need to access a MySQL DB from a servlet to read/write xml content. Here is what I have already: mysql-ds.xml ? jdbc/MySqlDS false jdbc:mysql://localhost:3306

[jboss-user] [JBoss jBPM] - How to stop a token to propagate

2006-07-28 Thread luowp
I have a process which has a fork. This fork has three way. I just want to stop one of them. So I add an action handler in one of nodes and get context data and then using this context data to decide whether or not stop this path. I use token.end() trying to stop one path but it fails. Could any

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Serving dynamically generated JSPs

2006-07-28 Thread jleech
I would do something along the lines of compiling the .jsp into a servlet and dynamically loading it / invoking it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961634#3961634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss jBPM] - Where can I find process examples

2006-07-28 Thread luowp
I just started to use jBPM. I am wondering where can I find some examples of process definition. Thx! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961633#3961633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961633

[jboss-user] [Beginners Corner] - Drools 3.0 and constraints

2006-07-28 Thread AllenABQ
Maybe I've just not found the documentation that explains how to deal with this. I'm using Drools and want to compare to values in the same object as a condition for executing the RHS. For example I might have: public class Battery { | private double charge; | | public void setCharge

[jboss-user] [JBoss Seam] - Getting IllegalStateException: No data type for node:...

2006-07-28 Thread sjmenden
I successfully got the seam registration example running. I took that example, changed a few classes so I could begin getting familiar with seam, but I can not get past this one exception: | javax.faces.FacesException: Error calling action method of component with id _id0:_id7 | a

[jboss-user] [EJB/JBoss] - Re: Migration to jboss4..0.4 problems

2006-07-28 Thread lafr
The entity bean was not deployed correctly. Look for errors or warnings on deployment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961630#3961630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961630

[jboss-user] [JNDI/Naming/Network] - Re: HELP: Looking up to java:comp namespace problem!!

2006-07-28 Thread lafr
To get a mail session via "java:comp/env/Mail" I declared this tags for xdoclet: | * @ejb.resource-ref | * res-ref-name="Mail" | * res-type="javax.mail.Session" | * res-auth="Container" | * @jboss.resource-ref | * res-ref-name="Mail" | * jndi-name="jav

[jboss-user] [EJB 3.0] - IllegalArgumentException during deserialization

2006-07-28 Thread fljmayer
Under specific circumstances I get the exception below when making a call to an EJB3 stateless session bean using JBoss 4.0.4.GA-Patch1. I debugged JBoss and found that the object passed to java.lang.reflect.Method.invoke() was not of the correct class; the method is readResolve(). The circumsta

[jboss-user] [EJB 3.0] - Re: How to store information about many-to-many relationship

2006-07-28 Thread epbernard
use an intermediate entity to handle this state View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961627#3961627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961627 ___ jboss-u

[jboss-user] [EJB 3.0] - Re: EntityManager.lock() issues

2006-07-28 Thread epbernard
flush() does not commit a transaction, it just execute statements. That's the reason for you not seeing the entity. Yes HSQLDB does not implements the required isolation level. About the NPE, this is bad, I'll fix that http://opensource.atlassian.com/projects/hibernate/browse/HHH-1958 View the or

[jboss-user] [Installation, Configuration & Deployment] - Re: Could not restore ejb timers exception occured to JBossD

2006-07-28 Thread matthewkim
I get this error as well! My JBoss was working for a while, but now it's giving me this same error when I deploy an EAR file. I haven't a clue what the problem could be... Oh how I do wish someone new the solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi

2006-07-28 Thread epbernard
There is a reason for not adding common usages into the JavaDoc. We would en up having very long JavaDocs (ie Reference guide in it), so we decided to not include usages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961623#3961623 Reply to the post : http

[jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone

2006-07-28 Thread Basel
What should I do to fix it? The action is stateless in nature in that the user uploads a file with some details, in this case newPaperDetails, and store them in the database. The reason I used @Out and initPaperDetails is because that the newartwork.jsf page complains about not being able to fi

[jboss-user] [EJB 3.0] - Re: Compound primary key with cmr

2006-07-28 Thread epbernard
not sure I understand everything but here is my answer You can do that with Hibernate, but the specification does not support it. Hence Dali & co probably do not support it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961617#3961617 Reply to the post : htt

[jboss-user] [EJB 3.0] - Re: ManyToMany relationship removal example

2006-07-28 Thread epbernard
are you using those object in the detached state? Then yes you need to implement a proper equals/hashcode impl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961615#3961615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [Installation, Configuration & Deployment] - Re: Ant build.xml for JBoss 4.0.2

2006-07-28 Thread PeterJ
Try the code examples from the book JBoss at Work. You can download the examples from http://www.jbossatwork.com/downloads.html. The examples use Ant to build and deploy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961620#3961620 Reply to the post : ht

[jboss-user] [Beginners Corner] - Re: EJB3 JDNI lookup error 'unexpected block data'

2006-07-28 Thread rknechtel
I'm having the same problems using JBoss 4.0.4GA & EJB 3.0 RC8. javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)] at org.jnp.interfaces.NamingContext.lookup(NamingContext.ja

[jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet always null

2006-07-28 Thread wolfc
Please try: InitialContext ctx = new InitialContext(); | EILogin login = (EILogin) ctx.lookup("esLoginBean/remote"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961619#3961619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [Installation, Configuration & Deployment] - Re: how to configure application from global properties file

2006-07-28 Thread PeterJ
Try something like this: String dataDir = System.getProperties("jboss.server.data.dir"); | InputStream is = new FileInputStream(dataDir + "global.properties"); | Properties globalProp = new Properties(); | globalProp.load(is); View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [EJB 3.0] - Re: Override Primary Key Mapping

2006-07-28 Thread epbernard
this is not possible and not supported by the spec View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961618#3961618 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961618 ___ jbos

[jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator

2006-07-28 Thread epbernard
you need to use an allocationSize of 1 and for the records, SequenceHiLoGenerator is perfectly fine in an cluster :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961614#3961614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss.NET] - Re: NoSuchFieldError when deploying .wsr

2006-07-28 Thread dazbaz
I think this may work for you. Try following the replacement instructions found in the Wiki, but instead of copying JBoss.NET from your 3.2.x JBoss instance, copy it from a JBoss 4.0.2 instance that you may have to download. See steps below and where to find the appropriate files: 1. I delete

[jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone

2006-07-28 Thread CptnKirk
You must have done something wrong. Your current code injects null, sets newPaperDetails in initPaperDetails(), then outjects it to nowhere (stateless). On the next call you inject null again, don't set the variable, then outject null, which causes an error. Fix this and things should work.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Exception when storing Object that contains a set of oth

2006-07-28 Thread paro
So, what is the solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961611#3961611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961611 ___ jboss-user mailing list jboss

[jboss-user] [Installation, Configuration & Deployment] - Ant build.xml for JBoss 4.0.2

2006-07-28 Thread saravanag
Hi, Anyone have sample Ant build.xml for JBoss 4.0.2. I am trying to compile JSP and build a jar file and move the jar file to WEB-INF/lib dir. Thanks Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961610#3961610 Reply to the post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone

2006-07-28 Thread Basel
I did that already and I got the same error message shown above. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961609#3961609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961609 __

[jboss-user] [JBoss Seam] - Problem testing seam using EntityManager

2006-07-28 Thread c_eric_ray
I've have test like so... | package com.vicor.dcap.integration.test; | | import javax.persistence.EntityManagerFactory; | import javax.persistence.Persistence; | | import org.junit.AfterClass; | import org.junit.Assert; | import org.junit.BeforeClass; | import org.junit.Test;

[jboss-user] [JBoss jBPM] - Re: PLEASE HELP

2006-07-28 Thread [EMAIL PROTECTED]
Why don't you merge the mappings for JBPM classes and your custom classes in the same .cfg.xml file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961608#3961608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961608 _

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss database issue: connections not releasing

2006-07-28 Thread ManyLostPackets
Failure to severe a networked DB connection untill it crashes sounds more like a memory leak for sockets than anything. Would anyone concure that this is a code issue rather than a JBoss service or Database issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss jBPM] - Re: Timer

2006-07-28 Thread cpob
Should be rather simple. You can see how to programmatically create a timer if you look at the CreateTimerAction source code. They build a Timer object. I would created an action handler on the node-exit of the start state which would take the entered date, and then do simple java date math D

[jboss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8

2006-07-28 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS-3445 Jira issue is to write a test case to test this. Are you able to submit a junit test case (that maybe utilizes apache common httpclient to make calls on your test application). If yes, then you can attach it as a zip in the JIRA issue? That way, we

[jboss-user] [JBossWS] - Re: does not contain operation meta data for: String_1

2006-07-28 Thread cingram
I am putting a solution to my problem just incase it might help some one else. I've found the reason for my problem was because I used jboss-4.0.4.CR2-installer.jar to install my jboss. I downloaded jboss and unzipped jboss manually. I then upgraded to jbossws-1.0.2 and deployed my webservices.

[jboss-user] [EJB/JBoss] - JBoss error when passing a query result between EJBs

2006-07-28 Thread gcsixty6
Hi folk, I deployed my EAR in Jboss 3.2.8 that access a MySql db. On my local Windows machine everything works perfect. On the production environment (Linux Fedora) a method in the session bean (uk.co.backrack.ejb.session.beans.ForumHandlerBean.listForums) calls a method in an entity bean (call

[jboss-user] [JBossWS] - Reverse proxy and generated WSDL

2006-07-28 Thread taba_youichi
Hello, I want to use JBossWS behind reverse proxy. Internet -- Apache HTTP -- JBoss But generated WSDL contains hostname of JBoss's machine which is not reachable from Internet. How can I configure the hostname to Apache's machine? View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!

2006-07-28 Thread sphinxmember
ya ..thats right jconsole disables those methods. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961600#3961600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961600 ___ jbo

[jboss-user] [Management, JMX/JBoss] - start not being call on 4.0.2 startup

2006-07-28 Thread acxsjones
I have a mbean that extends ServiceMBeanSupport I have a start method. The start method does not get call of server startup. I can go into the jmx console and start and everything works fine. Help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961597#3961597

[jboss-user] [EJB 3.0] - Re: How to store information about many-to-many relationship

2006-07-28 Thread dbatcn
BTW, it did occur to me that I could store parallel relationships (e.g. one relation for invited users and another for accepted members) and confine the state change code to one place in a single transaction. That's the cleanest thing I can think of so far and keeps everything in the EJB3 parad

[jboss-user] [Beginners Corner] - Encoding in Hypersonic database

2006-07-28 Thread dapissarenko
Hello! I want to use JBoss with Hypersonic Database. I've created a couple of JSP pages and servlets, using which the user can enter data into the database via EJBs with container-managed persistence. Some of the web pages are used for entering string data into the database. It works fine as l

[jboss-user] [EJB 3.0] - How to store information about many-to-many relationship its

2006-07-28 Thread dbatcn
I have a situation where I have a many-to-many bidirectional relationship between two entity beans "User" and "Group", where users can belong to many groups and groups can have many users. I want to keep track of the status of the relationship itself and still take advantage of automatic table

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Manually having flush session

2006-07-28 Thread smithbstl
I am working with JBOSS 4.0.4GA and Hibernate 3.1.3 I am attempting to manipulate a record in Oracle. For some reason, I am having to manually flush the session to get the changes to show up in the database. From the documentation I have read, I should not have to flush the session as long as

[jboss-user] [EJB/JBoss] - Re: JBOSS is crashing..

2006-07-28 Thread gcoleman
Firstly, I'd upgrade JBoss and check that your JDK is up to date. Stack traces: http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace http://wiki.jboss.org/wiki/Wiki.jsp?page=GenerateAThreadDumpWithTheJMXConsole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961

[jboss-user] [Installation, Configuration & Deployment] - how to configure application from global properties file in

2006-07-28 Thread Magdalena.Piller
Hello I have a problem reading a .properties file from the default/server/conf directory at runtime. My application uses a property hierarchy to load configuration parameters at runtime. Every module of the app has a properties file, which contains "defaults". They are packaged in the ear and i

[jboss-user] [EJB/JBoss] - Re: JBOSS is crashing..

2006-07-28 Thread augustinm
Any help on the above topic is really appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961589#3961589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961589 ___ jbos

[jboss-user] [Security & JAAS/JBoss] - sessionDestroyed && home.create

2006-07-28 Thread polymedes
I've got a problem logging out the currently logged on user. I have a javax.servlet.http.HttpSessionListener in my web application, declared as my.SessionCounter in web.xml Inside the sessionDestroyed event handler I call this code: public void sessionDestroye

[jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone

2006-07-28 Thread CptnKirk
Outject your newPaperDetails into conversation or higher scope so that future requests can access this context variable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961587#3961587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly

2006-07-28 Thread kuzmiigo
Thank you for your reply. Unfortunately, I cannot get it work. I have cache disabled, I flush the cache, but still roles remain the same. From the log I see that LoginModules (I use custom LoginModule to populate roles group) are not called. Igor View the original post : http://www.jboss.com

[jboss-user] [Management, JMX/JBoss] - Re: Unable to Obtain JMX MBean for Servlet Info

2006-07-28 Thread Martinator
Hi everyone, never mind, I deployed it again and now it's working. Must have had a typo or something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961585#3961585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961585

[jboss-user] [JBossWS] - JBossWS URL changes

2006-07-28 Thread DjHitItUp
When I go to the JBossWS URL on my server: http://server:8000/jbossws/services I see my webservice: jboss.ws:context=user,endpoint=TestWebService http://server:8080/user/TestWebService?wsdl However the FULL url and port is incorrect b/c due to the web.xml of the application the link below is

[jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi

2006-07-28 Thread dserodio
dserodio wrote : epbernard wrote : | | In the Hibernate reference documentation... | I see that the reference documentation (which is great, BTW) contains this info, but would it hurt to add it to the javadoc too? "[EMAIL PROTECTED]" wrote : Emmanuel, that's just silly. You can't reasonably

[jboss-user] [JBoss Seam] - Access a Context Session Variablr from a Servlet?

2006-07-28 Thread mrwhite
Hi everybody, is it possible to access a context variable from a servlet like the interceptor from the booking demo does? | boolean isLoggedIn = Contexts.getSessionContext().get("loggedIn"); | And can i get the session from a seam app? I need this functionality for an upload applet, t

[jboss-user] [JBoss jBPM] - Timer

2006-07-28 Thread Viegas
I want to create a workflow where a date is inserted in the start state and then a timer is started to go on in the inserted date minus 4 weeks, is that possible? if so how? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961580#3961580 Reply to the p

[jboss-user] [Installation, Configuration & Deployment] - Avoid requests during deployment of ear

2006-07-28 Thread kcp
Hello, I would like to know if there is an possibility to avoid requests to an application-ear while it gets deployed. I have the following situation: I use a facade EJB which is called from other system via RMI and a number of (local) backend EJBs for various tasks. The Facade is the first be

[jboss-user] [JBoss Seam] - Using core.ejb

2006-07-28 Thread ptmain
Could I use JBoss 4.0.4 GA (without the latest EJB3 implementation), or even 4.0.3, if I add the following to my components.xml? | | | The real question: Would this override the use of the app server's implementation and instead use the one packaged with Seam, or would it create

[jboss-user] [JBoss Seam] - Re: jboss seam example

2006-07-28 Thread ptmain
moving previous question to a new topic View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961576#3961576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961576 ___ jboss-user mail

[jboss-user] [JBoss Seam] - Query Logging?

2006-07-28 Thread ptmain
I don't know whether this is a question about Seam, EJB3, or JBoss/Hibernate... How do I control SQL logging? Ideally, I could systematically control whether any SQL is logged, as well as controlling specific types (SELECT/INSERT/UPDATE), or selected areas of the application (presumably packag

[jboss-user] [JBoss jBPM] - PLEASE HELP

2006-07-28 Thread mailinator
Hi, I need to integrate jBPM with my seam-hibernate project. My problem is that I use an hibernate.cfg.xml file to mapping my classes. Integrating jBPM I should create another .cfg.xml referring to another schema. How can I do? To be clearest, image to integrate jBPM with hibernate-booking seam e

[jboss-user] [JBossWS] - Re: org.jboss.ws.WSException: Cannot obtain endpoint for (us

2006-07-28 Thread DjHitItUp
Is there anyone that could give me guidance on this issue? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961572#3961572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961572 ___

[jboss-user] [JBoss jBPM] - Re: one task for multile users

2006-07-28 Thread kukeltje
in 3.1 in combination with the webapp there are some issues. (also mentioned in the jira and these forums). The jbpm core should have no problem with it (meaning with the api you should get a group tasklist entry) The 3.1 webapp will not be changed a lot, since all effort goes into the 3.2 weba

[jboss-user] [JBoss Portal] - Re: Logout: Invalidate Session and resetting Principal

2006-07-28 Thread kosmi
Hi Sahil, i tried this, but it does not work. Can I help you with some more infos? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961569#3961569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961569 __

[jboss-user] [Installation, Configuration & Deployment] - using C4J with JBoss4.0.3

2006-07-28 Thread rksangubotla
Hi All, I have tried a lot to use C4J with JBoss4.0.3. C4J can be found at : http://c4j.sourceforge.net/ Basically Iam trying using contracts specified with annotations inside an Web Application running on JBoss4.0.3. I have set the VM arguments needed while running the run.bat , But the still

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Serving dynamically generated JSPs

2006-07-28 Thread mattgalvin
I'll take a look at Velocity...one of the reasons we didn't look at an existing templating engine is we have a lot of very specific business logic with how the templates are managed, who can make what changes, etc, etc... As for the temp directory, I thought about that too but it made me uncomf

[jboss-user] [Installation, Configuration & Deployment] - How to run a application-client as part of a ear?

2006-07-28 Thread scruffy323
I am trying to run an application client jar in a ear file configured with application.xml specified by the testClient.jar that has it's own application-client.xml config. J2ee says that I should be able to but how do I do that with jboss? Below is a example of what I am trying to accomplish bu

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Transaction strategy requires access to the JTA TransactionM

2006-07-28 Thread rschlege
There is an impressing Blog entry from Brian Leonards: http://weblogs.java.net/blog/bleonard/archive/2006/05/the_best_featur_1.html which shows how to use Netbeans for generating Entity Classes, Controller Classes and even example JSF pages. I used Netbeans 5.5 Beta2 and JBoss 4.0.4, didn't inst

[jboss-user] [JBoss Seam] - Re: Session bean inheritance

2006-07-28 Thread gus888
BFO81, thank you so much for the excellent detailed explanation. Gavin, thank you so much for your OFFICIAL confirmation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961301#3961301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [JBossWS] - Re: In which package I can found XOPMarshaller ?

2006-07-28 Thread [EMAIL PROTECTED]
Hi, have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS102Install Best regards, René View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961511#3961511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961511

[jboss-user] [JBossWS] - Re: Type Hiererchy

2006-07-28 Thread Arno Werr
In my view what makes sense and what doesn't in the world of JAX-RPC/WS, we shouldn't look at www3c specifications, but rather at Web Services Interoperability Organization's Basic Profile 1.0/1.1. This is the only standard that have been proven in production and is explicitly required by the

[jboss-user] [JBoss Seam] - Re: Handling input too large for an integer field using SEAM

2006-07-28 Thread jkrupka
Ah! I see how it works, sorry for such a newbie question... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961371#3961371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961371 ___

[jboss-user] [JBoss AOP] - using C4J with JBoss4.0.3

2006-07-28 Thread rksangubotla
Hi All, I have tried a lot to use C4J with JBoss4.0.3. C4J can be found at : http://c4j.sourceforge.net/ Basically Iam trying using contracts specified with annotations inside an Web Application running on JBoss4.0.3. I have set the VM arguments needed while running the run.bat , But the stil

[jboss-user] [JBoss jBPM] - Passing Parameters to Generic Actions

2006-07-28 Thread leetcooper
I am new to jBPM and for two days I have been looking and running examples but I can not find a solution to my simple problem. I want to pass parameters to my Actions. I want to do something like this | | | | | | | |

[jboss-user] [JBossWS] - Re: does not contain operation meta data for: String_1

2006-07-28 Thread cingram
Sorry forgot to add I am currently using jbossws-1.0.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961562#3961562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961562 ___

[jboss-user] [EJB/JBoss] - ejbFindByPrimaryKey, locking, and consistency

2006-07-28 Thread dkMazz
I have an inventory system that uses session facade on the backend. The front end is a page that shows inventory items and the user can select one of the items and be taken to a details page. My question is: When the user is on the details page, will the JBoss session facade block another us

[jboss-user] [JBoss jBPM] - Re: missing

2006-07-28 Thread mgommeringer
Thank you very much. That's exactly what i meant. I'll check this out :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961223#3961223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961223 _

[jboss-user] [Clustering/JBoss] - How to push data from one JBoss server to another JBoss serv

2006-07-28 Thread myself_biswajit
Hi all, There are two server (1)production server (2)stagging server The thing is that they are not in clustered environment. However i just want to push date from stagging server to production server. Could anyone suggest me the appropriate solution? Regards, Biswajit. View the original post :

[jboss-user] [JBossWS] - Re: samples of jbossws

2006-07-28 Thread [EMAIL PROTECTED]
The examples ship with a build structure. Just build and deploy them... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961005#3961005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961005 ___

  1   2   >