[jboss-user] [JNDI/Naming/Network] - Re: Jboss connection pool doesn't release the connections

2008-03-20 Thread jaikiran
JBoss maintains a pool of connections. When an application requests for a connection from the datasource, the server returns a connection from this pool. The application then has to call the close method on the connection so that the connection is returned back to the pool (where it continues to

[jboss-user] [JBoss Getting Started Documentation] - Re: The Wiki page for configuring Oracle is misleading

2008-03-20 Thread jaikiran
"northgorky" wrote : | The page I am concerned about is; | http://www.jboss.com/wiki/Wiki.jsp?page=SetUpAOracleDatasource | | Proposed correction attached. I can upload if you would like, or post a | revision (or if somebody wants to update, go ahead). | | | Steve, The wiki

[jboss-user] [JBoss Getting Started Documentation] - Re: Old documentation published as JBoss 5

2008-03-20 Thread jaikiran
"gt4431b" wrote : | To add some more thoughts to the original thread: What really impressed me in the past about JBoss was that you could just turn it on, and with a minimum amount of configuration it would just *work*. This was never true for other app servers I've been forced to work with

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Programmatically deploy of .esb archives through JMX

2008-03-20 Thread jaikiran
I dont know what a esb package is or how an esb package is deployed. As far as deploying applications through JMX is concerned, there's a "MainDeployer" MBean available which has a deploy() method. Access http://localhost:8080/jmx-console and look for MainDeployer and click on it to see more d

[jboss-user] [EJB 3.0] - Re: Get ear name

2008-03-20 Thread jaikiran
I dont think there's a way. Any specific reason you want to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138224#4138224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138224 __

[jboss-user] [JBoss Getting Started Documentation] - Re: Old documentation published as JBoss 5

2008-03-20 Thread gt4431b
I've supplied the -ds.xml file, and that works fine. It's the other file that's causing my hernia. I can only assume that I will need the JBoss-5-equivalent of this file in order to use JMS against my MySql db. Thanks for the tip on jboss messaging. It's not too clear, from what docs I've se

[jboss-user] [JBoss Cache: Core Edition] - Re: FileCacheLoader failing with EOFException with fix

2008-03-20 Thread e2open
I changed the code to do a dot file and move to avoid the EOF on read(on linux). The problem i see now is that, there are more than one write happening at the same time (from different nodes in the cluster). How is that possible if there is a write lock on the node ? protected void st

[jboss-user] [JBoss jBPM] - Re: console url changed to http://localhost:8080/jbpm-consol

2008-03-20 Thread peihsinsu
JBPM4JSF Permission Control 1.Control file: $JBPM_CONTEXT is the war file path $JBPM_CONTEXT/WEB-INF/access.properties 2.Control syntex: [config_name]=[role_name1][,[role_name2],...] ex: role.topMenu.Tasks=admin,manager 3.Role configure: (the html want to permission control ...) ex:

[jboss-user] [EJB 3.0] - Re: Datasource not bound doing JPA outside of container

2008-03-20 Thread waynebaylor
JNDI names with the java:/ prefix are only visible from within the same JVM. you'll have to bind your persistence unit to a global JNDI name to get at it from outside the app. server View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138211#4138211 Reply to the

[jboss-user] [Messaging, JMS & JBossMQ] - Re: [JBossMQ] Recreation of programatically added Queues/Top

2008-03-20 Thread kahzoo
If what you want to accomplish is to make sure that your queues/topics are created everytime your jboss server is rebooted, you can just use the destination mbeans. It is described in "Destination MBeans" section in the JBoss administration guide, and you should be able to find some examples i

[jboss-user] [JBoss jBPM] - Re: org/jbpm/msg/Message.hbm.xml not found

2008-03-20 Thread kukeltje
please search the forum (and the jira) for this old and known issue with a certain release of jbpm. I do not know the details at hand. One other possibility is that you tried updating the jbpm jar and did not update the config View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBossWS] - Re: Servlet regarded as ServiceEndPoint

2008-03-20 Thread jsb
I just ran into this using JBoss AS 4.0.5 with included JBossWS, and my servlet name DOES end with Servlet... turns out my web xml formatting was causing the endsWith("Servlet") to see more than the name string. Changing: |MyServlet | | com.example.MyServlet | |

[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-20 Thread matteg
I tried generating a new project using the new seam wizard and discovered the numerous errors described in these postings. I was able to make the deployed application work by copying from another previously deployed seam-gen application. That is, I copied from a working deployed source [JBOSS_HO

[jboss-user] [JBoss Portal] - Re: content rendering in minimize mode

2008-03-20 Thread PMN
I understand that rendering a minimized mode is somewhat a matter of taste. I also understand that I could add a custom portlet mode. My choice would have to render the content if the fragment had be generated, and as a refinement the suggested optimization. Is it possible to define custom wind

[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce

2008-03-20 Thread [EMAIL PROTECTED]
"northgorky" wrote : | This starts as a database error in an EJB (a new Database Table can't be | found -- I messed up in my Database somewhere). But the then the JCache | gets into some kind of weird state, and you can't get ANYTHING out of | it, taking down the entire application. Get C

[jboss-user] [J2EE Design Patterns] - Spawning new treads from MDB

2008-03-20 Thread vanyatka
Hi, I know, I know, the spec says I shouldn't do that. But, honestly, in practice, there are situations where spawning new threads from MDB (or SB for that matter) might be acceptable, aren't there? For example, I need to fetch some data from a number of DB servers and put that data onto some

[jboss-user] [EJB 3.0] - Re: EJB3 startup

2008-03-20 Thread ALRubinger
Check out "start()" of the JBoss-specific @Service. This will create a Singleton MBean. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138191#4138191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138191 _

[jboss-user] [EJB 3.0] - EJB3 startup

2008-03-20 Thread toelen
Hi, is there a way to start a method of an ejb3 bean at deployment time, or create a timer without an intervention. I simply want to start a background thread that comes alive once per minte, but have some difficulties getting it to work. Regards, Leen Toelen View the original post : http://w

[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce

2008-03-20 Thread northgorky
Sorry about the 'trimming'. I was not paying as much attention as I should have been, and just to make things more interesting, the forum seems to be trimming long titles as well. -Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138189#4138189 Reply

[jboss-user] [JBoss Cache: Core Edition] - ava.lang.ClassCastException: java.lang.ClassNotFoundExceptio

2008-03-20 Thread northgorky
reetings. This starts as a database error in an EJB (a new Database Table can't be found -- I messed up in my Database somewhere). But the then the JCache gets into some kind of weird state, and you can't get ANYTHING out of it, taking down the entire application. Get ClassCastExceptions and Clas

[jboss-user] [Advanced Documentation] - 4yr old Oracle Datasource Examples misleading with latest Tr

2008-03-20 Thread northgorky
Greetings. The sample oracle-ds.xml files should have a comment in them that the XA samples would be better in most conditions. The DS samples will only support ONE datasource in a transaction at a time. Any attempt to connect to two separate Oracle (or other non-XA datasource) at the same ti

[jboss-user] [JBoss Portal] - Re: content rendering in minimize mode

2008-03-20 Thread [EMAIL PROTECTED]
it's an optimization :-) otoh we could have metadata in jboss-portlet.xml that would say whether a portlet needs to be rendered for a minimized mode like | true | "PMN" wrote : For some reason I understood that it should be possible to write content in Minimized mode, especially to rende

[jboss-user] [JBoss Portal] - Re: Secure Portlet - Message

2008-03-20 Thread [EMAIL PROTECTED]
in 2.6.x you have a configuration that is flexible, read the manual http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/errorhandling.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138174#4138174 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Getting Started Documentation] - The Wiki page for configuring Oracle is misleading

2008-03-20 Thread northgorky
Greetings. I tried posting this in the Getting Started Documentation section, but that did not really seem to work (was ignored). The Wiki page for configuring Oracle is, to put it mildly, misleading. The way it is laid out, it implies that local-tx datasources are what should be used for Oracle

[jboss-user] [JBoss Portal] - Re: content rendering in minimize mode

2008-03-20 Thread [EMAIL PROTECTED]
The current implementation does not render anything in minimized mode. If you feel that portlets should be given the opportunity to render something, please file a feature request in JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138164#4138164 Reply t

[jboss-user] [Clustering/JBoss] - Re: role of port bindings xml

2008-03-20 Thread [EMAIL PROTECTED]
You can see who the members of a cluster are by looking at the jboss:service=DefaultPartition mbean in jmx-console. Except, replace "DefaultPartition" with whatever you set with -g. Re: your JMS issue, I'm guessing someone is looking up a ConnectionFactory from the wrong cluster; i.e. a config

[jboss-user] [EJB 3.0] - Re: Get ear name

2008-03-20 Thread wluque
any idea? Thanks!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138153#4138153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138153 ___ jboss-user mailing list jboss-user

[jboss-user] [EJB 3.0] - Re: Datasource not bound doing JPA outside of container

2008-03-20 Thread rcarmichael
By the way you'll notice my datasource name switches between MyDS and CobraShadowDS, I was trying to change the name to make it simpler but I missed a spot, sorry :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138151#4138151 Reply to the post : http://ww

[jboss-user] [Clustering/JBoss] - Re: role of port bindings xml

2008-03-20 Thread navjeetc
BTW this test was performed on Windows Server 2003. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138150#4138150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138150 ___ jb

[jboss-user] [JBossWS] - Interceptor for JBossWS

2008-03-20 Thread pramod_bs
How I can write an Interceptor for a web service. Here is the scenario: I have a service with WS-Security. After the JBossWS authenticated the user I need to intercept for applying policy using XACML. Ay ideas will be greatly appreciated. View the original post : http://www.jboss.com/index.html

[jboss-user] [EJB 3.0] - Datasource not bound doing JPA outside of container

2008-03-20 Thread rcarmichael
I'm trying to write JUnit tests for some of our JPA stuff. I'm essentially just trying to get an EntityManager for my persistence units from a standalone java app. I've tried this: | System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | System.se

[jboss-user] [Clustering/JBoss] - Re: role of port bindings xml

2008-03-20 Thread navjeetc
I have setup the clusters and I am passing -c, -b, -g and -u parameters (with unique values for the clusters) in the run script. I am using JMS to send message from one cluster to another and it is picked up by the third cluster also. I am using a JMS bridge for that and assuming (I think that i

[jboss-user] [JBoss Tools (users)] - anyone else have issues with visual editor on OSX?

2008-03-20 Thread jcg3
I have the 2.0.1 version of the tools installed on eclipse 3.3, and just installed it on OSX. When I try to open an xhtml file, the visual editor gives me the following error: The VPE editor can't be run because your system environment needs to change slightly. The message links to an old wik

[jboss-user] [JBossWS] - Re: Change the endopoint address

2008-03-20 Thread pramod_bs
I think if you comment out this line then it will take whatever the ipaddress we give in the server: "webServiceHost">${jboss.bind.address} File is: C:\Program Files\jboss-4.2.1.GA\server\default\deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans.xml View the original post : http://w

[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache 2.1.0.GA in production!

2008-03-20 Thread [EMAIL PROTECTED]
JBoss Cache 2.1.0 "Alegrias" is now in GA. Read all about it here - http://blog.jbosscache.org/ Enjoy! Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138120#4138120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Portal] - Re: Best practice: secure direct web app access

2008-03-20 Thread PeterJ
Any content you reference in your portlet code (within Java or a JSP) you can place into WEB-INF, but anything that will be referenced via a URL embedded in an html document sent to the browser will need to remain outside of WEB-INF. Thus you might have to leave the css, javascripts and images o

[jboss-user] [JBoss Portal] - Re: Best practice: secure direct web app access

2008-03-20 Thread CarstenRudat
Hi PeterJ, good point - I will remove everything into WEB-INF. Currently, I have javascripts, images, CSS-files and all *.xhtml parallel to WEB-INF. Thanks, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138110#4138110 Reply to the post : http://ww

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Programmatically deploy of .esb archives through JMX

2008-03-20 Thread lafbarbosa
Hi people, I need to deploy my .esb packages into a JBossESB configured to run into a JBoss AS. I changed some messages in the JBossESB forum and people said that I can't do this through any JBossESB API. A suggestion given it was the usage of JMX to do this programmatically. Please, does any

[jboss-user] [EJB 3.0] - Re: Dynamic deployment for EJB3 component

2008-03-20 Thread chenww
Frank, Maybe my explaination is not clear enough. The problem I am having now is my component does not know the data source JNDI name upfront until at deployment time. I can not endure other products will deploy a data source with the JNDI name exactly match what I defined in persistence.xml, b

[jboss-user] [JBoss Portal] - Re: Secure Portlet - Message

2008-03-20 Thread PeterJ
In portal 2.4.x, there was a jboss-portal.sar/conf/config.xml file with a setting named core.render.window_access_denied which you could set to 'hide' or 'show'. The 'show' value did what you are asking for. While this file still appears in 2.6.x, it appears to be ignored - even though that pro

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: connection pool configuration ?

2008-03-20 Thread PeterJ
You are right, and I would not believe it if I had not seen it myself. After 15 minutes (what I have idle connection timeout set to) all 10 of my connections are closed and reopened and ps posgesql is showing 10 new process ids. I agree that this cannot be correct. Perhaps you should open a JIRA

[jboss-user] [JBoss Portal] - Re: Best practice: secure direct web app access

2008-03-20 Thread PeterJ
For the various portlets I put together, all of the contents of the war are under WEB-INF and therefore are not accessible. What do you have that is outside of WEB-INF? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138102#4138102 Reply to the post : http:/

[jboss-user] [JBoss Portal] - Re: Best practice: secure direct web app access

2008-03-20 Thread bdaw
You can avoid double login (in portal after webapp) using Tomcat SSO valve. Look here: http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/sso.html#d0e9623 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138099#4138099 Reply to the post : http://www.jb

[jboss-user] [JBoss Portal] - Re: Best practice: secure direct web app access

2008-03-20 Thread CarstenRudat
Hi PeterJ, ok, thanks - I moved the security-constraint to the portlet-instances.xml. But what can I do to prevent direct access to my war? I cannot set up a security-constraint in my web.xml, because I will be asked for username/password, when I call my app from JBoss Portal. Or is this a "sin

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployng war file: Using InvokerServlet in JBoss 4.2.2

2008-03-20 Thread ramboid
With JBoss 4.2.2, can I use the InvokerServlet in the section of my web.xml? With JBoss 4.0.5GA, I was able to create war deployments with a web xml that would map the servlets as follows: invoker org.apache.catalina.servlets.InvokerServlet 2 invoker /servlet/* But in JBoss 4.2.

[jboss-user] [JBoss Portal] - Re: AJAX4JSF - PortletStatemanger causes ViewExpiredExceptio

2008-03-20 Thread CarstenRudat
Hi all, I figured out, that a4j works (you have to comment out the state manager... perhaps someone should change the wiki...). BUT, if I trie to rerender inside a Tomahawk t:div a4j fails - no rerendering occurs. Doesn't a4j work with Tomahawk? Carsten View the original post : http://www.j

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Configuring jboss logformat to display useragent or clie

2008-03-20 Thread PeterJ
JBossAS uses log4j for logging. The configuration file is at server/xxx/conf/jboss-log4j.xml. That should answer #1 and #3. For #2, you have to supply a category tag, but you first need to know which package deals with that data and then you have to hope that logging was placed in those classes

[jboss-user] [JBoss Portal] - Re: Best practice: secure direct web app access

2008-03-20 Thread PeterJ
You cannot secure portlet windows in *-object.xml. Instead, you need to secure the portlet instance in portlet-instances.xml - move the security-constraint. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138088#4138088 Reply to the post : http://www.jboss.co

[jboss-user] [EJB 3.0] - Re: Access an EJB from a servlet

2008-03-20 Thread NameZero912
Thank you, giving this hint solved my problem. The ejb itself was properly deployed (I had a common.jar file that had the two interfaces and serverside ejb file which had the ejb class as jar, and another ear file that contained both jar files as modules). However, I thought that I would also ha

[jboss-user] [JBoss Portal] - Re: JBoss Portal/App Server Slimming

2008-03-20 Thread PeterJ
See if this help: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138084#4138084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138084 ___

[jboss-user] [Beginners Corner] - Re: Deployment Recommendations?

2008-03-20 Thread ejsdeveloper
RE: "Would you require a session-based system where each connection could return a different set of values?" Thanks for the comments. I don't believe that it needs to be session-based. The java program returns a hashtable that contains the "result" (pass/fail), "message" (a note), and processin

[jboss-user] [JBoss Getting Started Documentation] - Re: Old documentation published as JBoss 5

2008-03-20 Thread PeterJ
Regarding switching to MySQL on JBoss5. Yes, old instructions will not work. The file you are looking for is for the old JBossMQ messaging service - that has been replaced in the JBoss5 with the new JBoss Messgaing. Your best bet is to read the documentation that comes with JBoss Messaging to ge

[jboss-user] [JBoss Portal] - Re: kCGErrorRangeCheck Error : while JbossPortal 2.6.3

2008-03-20 Thread [EMAIL PROTECTED]
Which is what I was hinting at in my previous message... :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138078#4138078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138078 ___

[jboss-user] [JBoss Cache: Core Edition] - JBossCache newbie - in 4.2.1GA

2008-03-20 Thread DeanoUK
Hi all. This is my first stab at getting the caching working out of the box with JBoss 4.2.1. I've added this to my persistance.xml : | | | | | And then see this on startup: | javax.persistence.P

[jboss-user] [JBoss jBPM] - org/jbpm/msg/Message.hbm.xml not found

2008-03-20 Thread help_eachother
Hi , I am trying to run jBPM in a web application and trying to deploy it on Tomcat 5.5 I am using servlets (HomeServlet , Process Servlet) from SimpleJbpmWebapp in my application. While running the project , it is giving following error Kindly help me in troubleshooting issue. | 19:35:0

[jboss-user] [Security & JAAS/JBoss] - Configure SSL port

2008-03-20 Thread oliver.kratzke
Hi, I need to configure the SSL port JBoss replaces in the WSDL if the following line is coded in the WSDL After deploying my service on JBoss, it replaces the port with the http port, not the ssl port. If anyone can tell me where to configure the SSL Port I'd be much obliged. Thanks a lot.

[jboss-user] [EJB 3.0] - Re: Access an EJB from a servlet

2008-03-20 Thread jaikiran
See this http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions Probably, you have the bean interface in more than one place. How have you packaged your application? Is it a ear file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138055#4138055 Repl

[jboss-user] [JBossWS] - InvokerServlet in JBoss 4.2.2

2008-03-20 Thread ramboid
With JBoss 4.2.2, can I use the InvokerServlet in th e section of my web.xml? With JBoss 4.0.5GA, I was able to create war deploymenst with a web xml that would map the servlets as follows: invoker org.apache

[jboss-user] [JBoss Tools (users)] - Re: Problem with Jboos-Tools after sharing project via svn -

2008-03-20 Thread chris.simons
Extreme, Please check two things for me and let me know. 1) Compare your .settings/org.jboss.tools.jst.web.xml against your co-workers. Does your co-worker have this file? If he/she does, it might point to libraries or JBoss runtimes that are located in different directories than what you ch

[jboss-user] [EJB 3.0] - Access an EJB from a servlet

2008-03-20 Thread NameZero912
Hello. Up to now I was able to access a EJB from a pure Java client with code similar to this one: Context context = new InitialContext(); | MyBeanRemote beanRemote = (MyBeanRemote)context.lookup("MyBean/remote"); But how do I access an EJB from a servlet? Please note that the code above is N

[jboss-user] [Messaging, JMS & JBossMQ] - JMS Topic deployed with WAR

2008-03-20 Thread mbabauer
I have a WAR file that uses a JMS topic in it. I would like to know if there was some way to put the JMS definitions file in the WAR. Right now I am deploying it in jbossmq-destinations-service.xml located in my /deploy directory. Having it deployed with the WAR would ease the deployment and

[jboss-user] [JBoss Portal] - Re: kCGErrorRangeCheck Error : while JbossPortal 2.6.3

2008-03-20 Thread den74
sorry i see only now there is already a reference about this at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossPortalFAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138042#4138042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [JBoss Portal] - Re: AJAX4JSF - PortletStatemanger causes ViewExpiredExceptio

2008-03-20 Thread CarstenRudat
Hi, I use JBoss 4.2.2.GA (all config), JBoss Portal 2.6.2 (ha). My page works, if I remove the statemanager, but my aj4 does not rerender anything (the ajax call seems to work). Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138041#4138041 Reply t

[jboss-user] [JBossWS] - Re: ServiceEndpointInvoker rethrows runtimeexception, header

2008-03-20 Thread [EMAIL PROTECTED]
Alessio, That looks spot on as the solution for this issue. Thanks for the quick response and, more importantly, the fix. Thanks Zach Mabe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138037#4138037 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [EJB 3.0] - Re: Force update on particular column

2008-03-20 Thread [EMAIL PROTECTED]
I slightly misspoke - entityManager.merge() can merge either an attached or unattached JPA entity bean (it doesn't just have to be unattached). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138035#4138035 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [EJB 3.0] - Re: Force update on particular column

2008-03-20 Thread [EMAIL PROTECTED]
"CMP Entity Bean"? Is this a EJB 2.x question or a EJB3/JPA entity question? I'll assume the latter due to this forum being "EJB 3.0". See entityManager.merge() - it merges an unattached JPA entity bean meaning whatever values are in the bean will be put into the DB. It doesn't merge one part

[jboss-user] [EJB 3.0] - Re: Force update on particular column

2008-03-20 Thread adastar
no ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138032#4138032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138032 ___ jboss-user mailing list jboss-user@lists.jbos

[jboss-user] [JBoss Portal] - Re: Caused by: javax.faces.application.ViewExpiredException

2008-03-20 Thread mmillson
This StateManager is necessary for ajax requests. It allows sharing of state between portal and servlet requests. So if you are not using ajax, it would not be needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138031#4138031 Reply to the post : http://

[jboss-user] [JBoss Portal] - Re: AJAX4JSF - PortletStatemanger causes ViewExpiredExceptio

2008-03-20 Thread wesleyhales
What version of JSF, JBoss AS, RichFaces are you using? For Ajax support and to share state between portal and servlet requests, you must include the State Manager in your faces-config.xml. Does everything work fine when you remove it? View the original post : http://www.jboss.com/index.html?m

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: SUN JDK 1.5 and 6 license changes, and its effects to JB

2008-03-20 Thread [EMAIL PROTECTED]
Try: http://developer.redhatmagazine.com/2007/11/20/jboss-seam-running-under-openjdk-icedtea-in-fedora-8/ Its properly open source with no field of use restrictions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138026#4138026 Reply to the post : http://www

[jboss-user] [JBossWS] - Re: Change the endopoint address

2008-03-20 Thread rodosa
If I start the server with the -b option, specifying the ip ... the endpoint uses this IP. But ... are there another solution for this? Could I set the varaible jboss.bind.address in any configuration file? how? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - concurrent write, StaleObjectStateException, optimistic lock

2008-03-20 Thread the666pack
hello, i hope someone can help me with my issue. it has to do with performance too but i thought i best post it in this subforum. i am using jboss 4.2 and ejb 3.0 with hibernate as entity manager so my test case would be to concurrently remove persistent entities from the database. i want to s

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: newbie: em.flush() is locking a select statement

2008-03-20 Thread mars1412
ah, thanks you pointed me in the right direction after some investigations I found out, that the READ_COMMITED transaction isolation level behaves differently between oracle and MS Sql server. SQL Server uses shared locks by default. Thus the select statement is blocked while the update is not

[jboss-user] [JBoss AOP] - Re: aopc and headaches

2008-03-20 Thread apinto
Hi Kabir, thank you for the reply. Unfortunately, it's still a no... :-(. My current configuration is: | | | | | | | | | | | | | | | | | | | |

[jboss-user] [JNDI/Naming/Network] - Jboss connection pool doesn't release the connections

2008-03-20 Thread LucianoM86
Guys, i'm writting an application using JBoss and JNDI to make the access and the pool to the database. But i'm with a serious problem, because Jboss isn't releasing the connections. This problem occours especifically in a Quartz Job, that runs to each X minutes, e.g., in the most times this job

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Configuring jboss logformat to display useragent or client I

2008-03-20 Thread nrajhegde
1. How do I configure logformat customize the jboss apps server log output. 2. What is the log directive to get the Use-Agent and cookie information logged in log file. 3. Is there any document simillar to apache logformat directive ( in Apache we can user LogFormat directive in httpd.conf) file

[jboss-user] [JBossWS] - Change the endopoint address

2008-03-20 Thread rodosa
Hello! How I have to do to change the endpoint address? I would like that my wsdlLocation was in a different ip than localhost. But when I deploy my .ear it's created the Endpoint Address at localhost | http://127.0.0.1:8080/proyecto/JbpmService?wsdl | How I chage the localhost w

[jboss-user] [JBoss AOP] - Re: aopc and headaches

2008-03-20 Thread [EMAIL PROTECTED]
Sorry, that should be | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137999#4137999 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: newbie: em.flush() is locking a select statement

2008-03-20 Thread jaikiran
Since the data is not yet committed, the select statement is blocked to avoid reading stale data. In MSSQL server, there's a option to provide a nolock hint to the server through the select query. However AFAIK, MySQL doesn't have such a hint. Try doing this: set transaction isolation level REA

[jboss-user] [JBoss jBPM] - jBPM MySQL database setup issues

2008-03-20 Thread help_eachother
Hi, I am trying to set up jBPM db on MySQL as mentioned in Chapter 8 of the online documentaion, but i am struck. I am not able to locate 'jboss-service.xml' file under folder '${JBPM_SDK_HOME}/jbpm-server/server/jbpm/deploy/jbpm.sar/META-INF' as i do not have jbpm.sar folder in the unzipped

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: getting a handle on Session

2008-03-20 Thread DeanoUK
I'm after a similar feature, so I can use the Hibernate session to detache the objects... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137994#4137994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137994

[jboss-user] [JBoss AOP] - Re: aopc and headaches

2008-03-20 Thread [EMAIL PROTECTED]
Try | | | | | | | | where | | | | | | If that does not work, please po

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Error instantiating servlet class

2008-03-20 Thread sandipvdhande
javax.servlet.ServletException: Error instantiating servlet class ismarts.eticket.jsp.eticket_apc_booking_payment_details_jsp org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) org.jboss.web.tomcat.security.JaccContextValve.invoke(Jac

[jboss-user] [EJB 3.0] - ear deployment and comp.ejb3

2008-03-20 Thread gumnaam.suri
I have a ejb3 jar inside a ear file. All the ejbs are bound to the global JNDI context with the name format ear-name/ejb-name/[local,remote] But I can't see any thing bound in the ENC context for ejb3 i.e. java:comp.ejb3 In fact the context comp.ejb3 has been bound to a NULL value, looking at th

[jboss-user] [JBoss Portal] - Re: kCGErrorRangeCheck Error : while JbossPortal 2.6.3

2008-03-20 Thread den74
i tryed something and find out i can set the machine name (the same used in -b option for starting portal) in jboss-portal.sar\portal-wsrp.sar\portal-wsrp.war\WEB-INF\wsdl\wsrp_services.wsdl file, in sobstitution of "localhost" and all seam to work correctly. i know it's not so good but it seam

[jboss-user] [Messaging, JMS & JBossMQ] - [JBossMQ] Recreation of programatically added Queues/Topics

2008-03-20 Thread fdsafdsa
Folks, it is well-known that topic/queues created with the ConfigDestinationManager do not survive a server reboot, as documented in http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDestinationManager We are looking into the issue of "recreating" these queues/topics automagically once the server

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Caching entities - what's the best way?

2008-03-20 Thread DeanoUK
We have an application that stores a lot of entities in our own cache(s). Is it best to eager load all info and detach these from Hibernate before caching? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137985#4137985 Reply to the post : http://www.jboss.co

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - newbie: em.flush() is locking a select statement

2008-03-20 Thread mars1412
I just noticed following issue, that I can't understand. I change some properties on myEntity and set a breakpoint before entityManager.flush(); In a command window I start sqlcmd (MS-Sql Servers commandline interface) and select the entity that I am about to change. select * from MyEntity whe

[jboss-user] [JBoss Portal] - Best practice: secure direct web app access

2008-03-20 Thread CarstenRudat
Hi all, I'd like to know how I secure the access to a web app that runs as a portlet. I have the portlet secured by a in the *-object.xml, but if I call http(s)://server:port/my-web-app-context-root/folder-in-war/resource I get the content delivered without being logged in. Now, if I configur

[jboss-user] [JBoss Portal] - Re: custom window-state and layout

2008-03-20 Thread PMN
humm, I meant /layouts/EvosHalfPage/index.jsp | EvosCalendar | /layouts/EvosCalendar/index.jsp | /layouts/EvosHalfPage/index.jsp | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=vi

[jboss-user] [JBoss Portal] - Re: custom window-state and layout

2008-03-20 Thread PMN
sorry like this | | EvosCalendar | /layouts/EvosCalendar/index.jsp | /layouts/EvosMaximized/index.jsp | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137974#413797

[jboss-user] [JBoss Portal] - custom window-state and layout

2008-03-20 Thread PMN
Does JBP 2.6.4 support custom window state ? and if so, is it possible to associate a layout to a custom window state, like this ? EvosCalendar /layouts/EvosCalendar/index.jsp /layouts/EvosHalfPage/index.jsp View the original post

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jsf for jboss 4.2

2008-03-20 Thread BGrand
I tried to replace jsf-api.jar and jsf-impl.jar in server\default\deploy\jboss-web.deployer\jsf-libs by myfaces-api-1.1.1.jar and myfaces-impl-1.1.1.jar, but myfaces-impl doesn't have this package : com/sun/... like jsf-impl :-/ And thus JBoss makes errors during its startup... View the origin

[jboss-user] [JBoss Portal] - Reagrding Login Module Implementation deployment

2008-03-20 Thread pshaktig
Hi, I have implemented a custom login module extending IdentityLoginModule and prepared a jar of it. The question I have is: Is it a good practice to put the jar in jboss-portal.sar\lib directory for deploying custom login module. If not please suggest the good practices? Thanks, Shakti View

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jsf for jboss 4.2

2008-03-20 Thread BGrand
Hi ! Same problem for me... I added your context-param code in my web.xml file, but I still have the same error message when deploying the application in JBoss... 09:14:03,310 WARN [JBossJSFConfigureListener] MyFaces JSF implementation found! This version of JBoss AS ships with the java.net im

[jboss-user] [JBoss Tools (users)] - Re: No Seam EL content assist after upgrade

2008-03-20 Thread erimag
Check that you have the JBoss Tools HTML Editor chosen as the default editor for .xhtml files. (Windows->Preferences->General->Editors->File Associations->*.xhtml) That's bitten me a few times (don't know what caused the switch though). View the original post : http://www.jboss.com/index.html

[jboss-user] [EJB 3.0] - Re: Dynamic deployment for EJB3 component

2008-03-20 Thread FrankTheTank
Actually you can change the names to whatever you want. They just have to match in the areas I have listed below. Check your [database]-ds.xml (located in your deploy dir) and look for a tag SomeName. That is the name under which the datasource registers itself. That name is also used in the pe

[jboss-user] [JBoss Portal] - Secure Portlet - Message

2008-03-20 Thread brain101
if there is a secured portlet/window and someone tries to access it with a role that is not in the security constraint, the portlet will not show up. is there a way that in this case some kind of message (like "access denied") is shown up instead of not showing up the portlet? View the original

[jboss-user] [Beginners Corner] - Re: Deployment Recommendations?

2008-03-20 Thread FrankTheTank
Though I am not as experienced with JBoss I think your best shot would be to go with simple RMI. In any case, go with Option 2! What you are listing are basically the different types of packages War = web, ear = enterprise and ejb3. They also specify where the config *.xmls have to be located an

[jboss-user] [Beginners Corner] - Re: [SessionFactoryObjectFactory] InitialContext did not imp

2008-03-20 Thread jackhexy
Thanks a lot. No error and warn informations is equability! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137958#4137958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137958 ___

  1   2   >