[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: AJP, Apache, Tomcat SSL question
Hi, I am looking to set up my application so that Apache handles the SSL and Tomcat uses AJP to comunicate the data. I need away for requests to HTTP to be redirected to HTTPS to stop the user from accidentally using an insecure pipe. Did you find any helpfull links when you looked into your problem? Many thanks, Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953431#3953431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953431 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Migration Woes...
Well looks like no one else knows what went wrong either. Am a little worried now as I fear this error could come back and bite me! Well thanks to thoese who gave it a read anyway Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950398#3950398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950398 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Migration Woes...
Hi, I am moving my application from an old 3.2.1 server over to the 4.0.4 (at last). There is an odd behavior that I could do with some help on. I actually think I have worked out why but I think it indicates that I am missing something big here which could have a knock on effect. I haven't had much luck of the forum before (not sure if my descriptions are not good enough or just that no one has a clue) but I am hopping that there is some one out there who can explain what is going on! In my application I have an entity bean called Session, it represents a workshop / creche session When 3.2.1. it all works fine. However, when I deploy of 4.0.x the follow observations can be made 1.You can get a SessionLocal via the SessionLocalHome.create() 2.You can see the primary key of the Session bean in the logs (for example 101) 3.You can not see the row in the database 4.If you try to add a person to the session via a foreign key it fails because the primary key does not exist I changed the name of the session table to managed_session on the hunch that ?Session? was some how conflicting and now it all works fine. Can anyone out there please give a little more explanation to what is happening here?!?! Thanks in advance Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949788#3949788 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949788 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Plan for next Embedded EJB3 release
The current download for embedded EJB3 is from 2005-08-03. I have been having problems with the JUnit test tutorial, does any one know when the next release will be? Thanks for any info, Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931510#3931510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931510 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with embedded EJB3 and JUnit tutorial
Have you had any luck with this Drew? Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931511#3931511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931511 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Junit EJB3
Did you have any luck Marco? Thanks, Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931512#3931512 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931512 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with embedded EJB3 and JUnit tutorial
I tried to follow the instructions on http://www.jboss.com/index.html?module=bbop=viewtopict=76333 but as you can tell from my last comment. I had no luck View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928447#3928447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3928447 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Cannot get the embedded ejb source code with CVS
Hi, Have you had any luck building jboss and getting the embedded ejb3 source? I have been having a similar problem in that I need the latest version to get my JUnit tests going. Right now it is an up hill battle! If you have any additional hints it would be good. Thanks Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927460#3927460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927460 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Cannot get the embedded ejb source code with CVS
I am getting the following problem when I try to build from JBoss-Head (as explained in the wiki: compile-rmi: [rmic] RMI Compiling 1 class to /home/tim/testJB/jboss-head/naming/output/classes java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/Utility View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927479#3927479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927479 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Junit EJB3
Well try: http://docs.jboss.org/ejb3/embedded/embedded-tutorial/test-with-junit/ Also look at: http://docs.jboss.org/ejb3/embedded/embedded.html Not that I can get it to work! [javac] symbol : method scanClasspath() [javac] location: class org.jboss.ejb3.embedded.EJB3StandaloneBootstrap [javac] EJB3StandaloneBootstrap.scanClasspath(); [javac] ^ It looks like the EJB3StandaloneBootstrap class is old and does not support the scanClasspath(). I am currently tring to get the current src from CVS and create my the new binaries. Let me know if you have any luck. Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927088#3927088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927088 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Problem with embedded EJB3 and JUnit tutorial
Hi all, I have down loaded the EJB3 JUnit tutorial (from http://docs.jboss.org/ejb3/embedded/embedded-tutorial/test-with-junit/) but I seem to have and error. I am guessing it there is a version problem as I get the following: compile: [javac] Compiling 1 source file to /home/tim/workspace/jboss4junittest/build/classes [javac] /home/tim/workspace/jboss4junittest/src/code/org/jboss/tutorial/junit/EmbeddedEjb3TestCase.java:74: cannot find symbol [javac] symbol : method scanClasspath() [javac] location: class org.jboss.ejb3.embedded.EJB3StandaloneBootstrap [javac] EJB3StandaloneBootstrap.scanClasspath(); [javac] ^ [javac] Note: /home/tim/workspace/jboss4junittest/src/code/org/jboss/tutorial/junit/EmbeddedEjb3TestCase.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error Does anyone know why this happens and how to solve it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927133#3927133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927133 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - No method permissions assigned to method=create, interface=L
Hi all, I hope you can help, I have been stuck on the same problem for a day now I am using Jboss 3.2.1, middlegen and Xdoclet. I have a set of entity beans and a few session beans. I have created a session bean with a remote interface that is used by a remote client. The client logs on using the logincontext then uses the remote interface of a session bean to preform a series of tasks. Basically this will be: Look for a Person Entity Bean Create a new Diary Entity Bean I use Xdoclet to secure the session bean by adding the following to the different method comments: * @ejb.permission role-name=pda_user * view-type=remote And use middlegen ?cmp20-ALL-class-comments.txt? to add the following to the entity beans * * @ejb.permission unchecked=true * The client logs in fine, It access the session bean The session bean uses the PersonLocalHome interface to search for a person (this will not work if I remove the middlegen comments) The sesson bean user the PersonLocal interface to access the person's name However, when the session tries to call create() from DiaryLocalHome I get: java.lang.SecurityException: No method permissions assigned to method=create, interface=LOCALHOME at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:179) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:310) at org.jboss.ejb.Container.invoke(Container.java:694) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:272) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy3649.create(Unknown Source) at alpha.personEntities.DiaryBean.ejbCreate(Unknown Source) etc...etc...etc... The ejb-jar.xml has the following information (I am just including the interesting bits): security-role ![CDATA[description not supported yet by ejbdoclet]] role-namepda_user/role-name /security-role method-permission ![CDATA[description not supported yet by ejbdoclet]] ![CDATA[description not supported yet by ejbdoclet]] ejb-namePerson/ejb-name method-name*/method-name /method-permission method-permission ![CDATA[description not supported yet by ejbdoclet]] ![CDATA[description not supported yet by ejbdoclet]] ejb-nameDiary/ejb-name method-name*/method-name /method-permission method-permission ![CDATA[description not supported yet by ejbdoclet]] role-namepda_user/role-name ![CDATA[]] ejb-nameReportLoader/ejb-name method-intfLocalHome/method-intf method-namecreate/method-name method-params /method-params /method-permission method-permission ![CDATA[description not supported yet by ejbdoclet]] role-namepda_user/role-name ![CDATA[]] ejb-nameReportLoader/ejb-name method-intfHome/method-intf method-namecreate/method-name method-params /method-params /method-permission method-permission ![CDATA[description not supported yet by ejbdoclet]] role-namepda_user/role-name ![CDATA[]] ejb-nameReportLoader/ejb-name method-intfRemote/method-intf method-namecreateReport/method-name method-params method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param method-paramjava.util.Date/method-param method-paramjava.util.Date/method-param method-paramjava.util.Date/method-param method-paramjava.util.Date/method-param /method-params /method-permission method-permission ![CDATA[description not supported yet by ejbdoclet]] role-namepda_user/role-name ![CDATA[]] ejb-nameReportLoader/ejb-name method-intfRemote/method-intf method-nameattachFile/method-name method-params method-parambyte[]/method-param method-paramjava.lang.String/method-param method-paramint/method-param /method-params /method-permission method-permission ![CDATA[description not supported yet by ejbdoclet]] role-namepda_user/role-name ![CDATA[]]
[JBoss-user] [Security JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa
Have tried: method-permission descriptiontest /description role-namepda_user/role-name method test ejb-nameDiary/ejb-name method-intfLocalHome/method-intf method-namecreate/method-name method-params /method-params /method /method-permission And: method-permission descriptiontest /description method descriptiontest /description ejb-nameDiary/ejb-name method-intfLocalHome/method-intf method-namecreate/method-name method-params /method-params /method /method-permission But neither work the same error:java.lang.SecurityException: No method permissions assigned to method=create, interface=LOCALHOME at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:179) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:310) at org.jboss.ejb.Container.invoke(Container.java:694) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:272) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy4760.create(Unknown Source) at alpha.personEntities.DiaryBean.ejbCreate(Unknown Source) etc... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903193#3903193 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903193 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Simple users/roles login to EJBs not passing username/pa
Sounds like you need to set up the jaas.conf / auth.conf files. I have not used this example though so can't be of much help. you should have one in client/auth.conf I had this problem when setting up a remote client I found this helpfull: http://www.awprofessional.com/articles/article.asp?p=394898 Good luck Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903227#3903227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903227 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Can I use nested query in ejb finders?
Hi did the declared-sql work??? Cheers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877119#3877119 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877119 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user