[JBoss-user] [Persistence & CMP/JBoss] - Collection and Compound Primary Key
Hallo! Once again: I think I've found a strange behavior of JBoss. I'm using a table with a compound primary key. I try to get a collection of values from the table via a find-method. This collection should contain Local Interfaces. If the returned collection contains a single row of the table I can use the local inferface returned by the collection, but as soon as the returned collection consists of two or more db-table rows I can't use the local interfaces returned by the collection. Instead I've to get a primary key with getPrimaryKey() and then a local interface by calling findByPrimaryKey(PK). Is this the normal behavior of jboss 3.2.3 or not? I'm using EJB 2.0 and cmp. any hints, help, ... is very welcome. regards, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850904#3850904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850904 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Book to buy?
I figured out how some things work by using the openbook Mastering EJB 2.0 from TSS.com and the workbook examples of Enterprise JavaBeans(O'Reilly) by having a look at the JBoss source-examples. Having a look at the various JBoss books reveals that parts of the Administrators & Developpers guide have been copy'n pasted to almost all other books offered (Quickstart Guide, ). Using JBoss is somehow a try and error game. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850089#3850089 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850089 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EJBQL Problem
Hi. You should use the abstract-schema-name of the ejb-jar.xml deployment descriptor for the entity-bean. SELECT Object(a) from ProductBean a WHERE a.name = ?1 (I have not tested the statement.) cu, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850092#3850092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850092 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Compound Primary Keys / Strange Behavior
Hello Community! I've a little problem using JBoss 3.2.3 and compound primary keys(the sample uses cmp with added JAAS security, running without any troubles). My data-model (EER) contains a weak m-n relationship with additional attributes. So I created a single table containing a compound primary key (see the table definition below) that isn't connected to the other tables anymore. The Entity-Bean which operates on this table has a finder-Method returning a collection of entity-beans. As far as I know this collection should contain Local interfaces of the entity beans returned. But if I try to use methods of these local interfaces I get the error messages (I turned on debugging) shown below. When I try to print the content of the returned bean with the .toString() method the output states that a HomeLocal was returned with the correct compound primary key values. The only way to use the returned local interfaces is to call the .getPrimaryKey() method to obtain the compound primary key, get a new HomeLocal interface and then calling the findByPrimaryKey() method to get a usable local interface. This works fine but causes a lot of additional network traffic and results in poor performance. I'm not sure if there are some jboss-specific config-files where I have to "declare" the compound-primary key. Is there a way to avoid this behavior? Any help, comments, hints, ... are very welcome and thanks in advance for your help. regards, martin ejb-jar.xml: | | BidEJB | com.ejbemarketplace.bid.BidHomeLocal | com.ejbemarketplace.bid.BidLocal | com.ejbemarketplace.bid.BidBean | Container | com.ejbemarketplace.bid.BidPK | False | 2.x | Bid | ucid | acid | amount | bidDateTimeStamp | valid | | | User | User | | | | User | | | | | | findBidsForAuction | | java.lang.Integer | | | | [CDATA[ | SELECT DISTINCT OBJECT(b) | FROM Bid AS b | WHERE b.acid = ?1 | ]] | | | | | findOpenBidsOfCustomer | | java.lang.Integer | | | | [CDATA[ | SELECT Object(b) | FROM Bid as b | WHERE b.ucid = ?1 and b.valid=false | ]] | | | | db-table definition: | Table "public.bidejb" | Column | Type | Modifiers | --+--+--- | ucid | integer | not null | acid | integer | not null | amount | double precision | not null | biddatetimestamp | timestamp with time zone | | valid| boolean | not null | Indexes: pk_bidejb primary key btree (ucid, acid) | usage of bean: | private float valueOfOpenBids(Integer ucid) throws FinderException, NamingException { | BidHomeLocal bhl = (BidHomeLocal) jndiContext.lookup("BidHomeLocal"); | Collection openBids = bhl.findOpenBidsOfCustomer(ucid); | Iterator itopenBids = openBids.iterator(); | float sumob = 0; | | while ( itopenBids.hasNext() ) { | BidLocal bl = (BidLocal) itopenBids.next(); | // using sumob += bl.getAmount() at this point would cause the debug/error messages below | BidPK bpk = (BidPK) bl.getPrimaryKey(); | bhl = (BidHomeLocal) jndiContext.lookup("BidHomeLocal"); | bl = bhl.findByPrimaryKey(bpk); | sumob += bl.getAmount(); | System.out.println("BidSBean: valueOfOpenBids(Integer) F:\n\t" + bl.toString()); | | } | | return ( sumob ); | } | debug/error-message: anonymous wrote : | 2004-10-01 10:45:36,743 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=getAmount | 2004-10-01 10:45:36,743 TRACE [org.jboss.security.plugins.JaasSecuri
[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule - Bad Password
Sorry, I've forgot to post that I've finally solved the problem. I've added a column rolegroup to the database and set the rolesQuery in login-config.xml to: select role,'Roles' from customerejb where ucid=? One thing that confused me a little was the fact that when I set the query to select role, rolegroup from customerejb where ucid=? the login fails because of an invalid role (role=null in the debug output). when I figured this out, the rest was easy to solve. @Scott.Stark: thanks for your help. cu, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848856#3848856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848856 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule - Bad Password
Hello List/Forum! I've got a little problem using JBoss 3.2.3 with JAAS/DatabaseServerLoginModule. A sample swing-application (standalone; not web) should authenticate a user against the JBoss app-server; thus the client uses the ClientLoginModule whereas the JBoss-app-server uses the DatabaseServerLoginModule to authenticate the client. In the "Basic JBoss Authentication and Access Control"(http://minnigerode.org/dave/BasicJBossAAC.html) tutorial it is mentioned, that the DatabaseServerLoginModule requires a SHA hash of the clear text password; does this mean I've to save the SHA hash in the database or to pass a SHA hash in the callbackhandler? The login-name for a user is its primary-key in the db-table (see below for the table definition). Without JAAS the sample runs fine but as soon as I add security to the program I get these log-messages: 2004-09-08 14:54:26,901 TRACE [org.jboss.system.Registry] lookup 1703819317=jboss.j2ee:jndiName=CustomerSHomeRemote,service=EJB 2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=create 2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is null 2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for create 2004-09-08 14:54:26,901 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx null 2004-09-08 14:54:26,902 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Starting new tx TransactionImpl:XidImpl [FormatId=257, GlobalId=linux//3, BranchQual=] 2004-09-08 14:54:26,902 TRACE [org.jboss.ejb.plugins.StatefulSessionInstancePool] Get instance [EMAIL PROTECTED] com.ejbemarketplace.customer.CustomerSBean 2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] getAppConfigurationEntry(ejbemarketplacepolicy), authInfo=AppConfigurationEntry[]: [0] LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule ControlFlag: LoginModuleControlFlag: required Options:name=rolesQuery, value=select role, role from customerejb where ucid=? name=principalsQuery, value=select passwd from customerejb where ucid=? name=unauthenticatedIdentity, value=Unknown name=password-stacking, value=useFirstPass name=dsJndiName, value=java:/PostgresDS 2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] initialize 2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Saw unauthenticatedIdentity=Unknown 2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] DatabaseServerLoginModule, dsJndiName=java:/PostgresDS 2004-09-08 14:54:26,903 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] principalsQuery=select passwd from customerejb where ucid=? 2004-09-08 14:54:26,904 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] rolesQuery=select role, role from customerejb where ucid=? 2004-09-08 14:54:26,904 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] login 2004-09-08 14:54:26,906 DEBUG [org.jboss.security.auth.spi.DatabaseServerLoginModule] Bad password for username=2 2004-09-08 14:54:26,907 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] abort 2004-09-08 14:54:26,907 DEBUG [org.jboss.security.plugins.JaasSecurityManager.ejbemarketplacepolicy] Login failure javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) at javax.security.auth.login.LoginContext.login(LoginContext.java:534) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:487) at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:442) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:244) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:219) at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:160) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81) at org.jboss.resource.connectionmanager.Cach
[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Howto: README FIRST
Hi. I've read the tutorial and done the "exploring" section of it. But I still didn't manage to get a gui-client authenticate using the DatabaseServerLoginModule. During reading other tutorials (http://minnigerode.org/CA-SF/dave/BasicJBossAAC.html) amongst others I noticed that some of them have installed auth.conf files in the deploy directory. I got a little bit confused and was wondering which (config) files are really needed at the server side and which are needed at the standalone-client side. ng, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837752#3837752 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837752 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - JAAS / DatabaseServerLoginModule / JBoss 3.2.3
Sorry, for cross-posting. I did the first posting to the wrong forum group. - Hallo List! I'd like to set up some security using JAAS and the DatabaseServerLoginModule for a small demo-application. In contrast to others on this forum, I'd like to access the EJBs not via JSPs but solely by a standalone client with GUI. The problem is, that I get the following exception when my client application tries to call the login() method of the loginContext: anonymous wrote : | javax.naming.NameNotFoundException: DefaultDS not bound | The client application is startet with: anonymous wrote : | java -classpath $CLASSPATH:$JBOSS_JAR_HOME:jndi/ | -Djava.security.manager -Djava.security.policy=com/ejbemarketplace/clients/ejbemarketplace.policy -Djava.security.auth.login.config=com/ejbemarketplace/clients/ejbemarketplace.conf -Dlogin.configuration.provider=org.jboss.security.auth.login.XMLLoginConfig com/ejbemarketplace/clients/MDIApplication | where JBOSS_JAR_HOME contains all files in /usr/local/jboss-3.2.3/client/ and in addition the file /usr/local/jboss-3.2.3/server/default/lib/jbosssx.jar. As far as I could figure out the client application hasn't sent any data to the JBoss server at this point. It would be very kind, if someone could give me a hint where I've made mistakes. ng, martin Subsequently I'll give you snipplets of source-files and the configuration-files in use: ejbemarketplace.policy: | grant { | permission java.security.AllPermission; | }; | ejbemarketplace.conf: | | ejbemarketplace { | org.jboss.security.auth.spi.DatabaseServerLoginModule required; | }; | jndi.properties: | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=localhost | The code used in the client application MDIApplication: | private void jIFAuthenticateOKButtonActionPerformed(java.awt.event.ActionEvent evt) { | // Add your handling code here: | try { | eMarketCallbackHandler emch = new eMarketCallbackHandler(jFormattedTextField3.getText(), jPasswordField1.getPassword()); | System.out.println("- eMarketCallbackHandler emch created! "); | LoginContext loginContext = new LoginContext("ejbemarketplace", emch); | System.out.println("- LoginContext created "); | loginContext.login(); // this call causes the exception !! | System.out.println("- login accomplished "); | | Subject subject = loginContext.getSubject(); | System.out.println("- got subject "); | | } catch (javax.security.auth.login.LoginException le) { | System.out.println("MDIApplication: jIFAuthenticateOKButtonActionPerformed(ActionEvent) le - " + // | le.getMessage()); | } | } | eMarketCallbackHandler.java: | package com.ejbemarketplace.callbackhandler; | | import javax.security.auth.callback.Callback; | import javax.security.auth.callback.NameCallback; | import javax.security.auth.callback.PasswordCallback; | import javax.security.auth.callback.UnsupportedCallbackException; | | public class eMarketCallbackHandler implements javax.security.auth.callback.CallbackHandler { | | private String username; | private char[] password; | | public eMarketCallbackHandler(String username, char[] password) { | this.username = username; | this.password = password; | } | | public eMarketCallbackHandler(String username, String password) { | this.username = username; | this.password = password.toCharArray(); | } | | public void handle(Callback[] callback) | throws java.io.IOException, UnsupportedCallbackException { | | for (int i = 0; i < callback.length; i++) { | if (callback | instanceof NameCallback) { | NameCallback nc = (NameCallback) callback | ; | nc.setName(username); | } else if (callback | instanceof PasswordCallback) { | PasswordCallback pc = (PasswordCallback) callback | ; | pc.setPassword(password); | } else { |throw new UnsupportedCallbackException(callback | , "Unrecognized Callback"); | } | } | } | | } | At the server-side: login-config.xml | | | | java:/PostgresDS | | select passwd from customerejb where ucid=? | | | select userRoles,'Roles' from cu
[JBoss-user] [Beginners Corner] - Re: JBoss/(Entity Bean Beginner Question
Hi, sorry for bothering you with this question. I have found the error. I learn according to the book Enterprise JavaBeans 3rd Ed. I put the META-INF dir as said in the book and the picture on page 99 - which was an error. The book seems to have a few printing errors, but I discovered an errata at O'Reilly's homepage. Having it a couple of days earlier would have saved me a lot of time. cya, martin ps: sorry for spelling and/or grammar mistakes. pps: further questions are surely up-coming. sorry. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825080#3825080";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825080>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss/(Entity Bean Beginner Question
hello I'm trying to deploy a simple entity bean that uses cmp and models a customer. Therefore I've written a CustomerBean, a CustomerRemote, CustomerHomeRemote. In addition I've also made CustomerLocal and CustomerHomeLocal interfaces (later the customer shall maintain a cmp-relationship with an address entity bean). All files compile without errors. I also wrote the ejb-jar.xml and jboss.xml files. After packaging and copying the customer.jar to JBoss' deploy directory, the Bean seams to be deployed correctly but after trying to test the bean with a client, I get an error message. JBoss output after deployment: 15:02:50,311 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.2.3/server/default/deploy/customer.jar 15:02:50,316 INFO [MainDeployer] Deployed package: file:/usr/local/jboss-3.2.3/server/default/deploy/customer.jar Error Message of CustomerClient_1: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory. Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:217) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.(InitialContext.java:195) at CustomerClient_1.getInitialContext(CustomerClient_1.java:57) at CustomerClient_1.main(CustomerClient_1.java:25) If I use the example files 04_1 of o'reillys ejb workbook, which I used as blueprints, the deployment works fine. I apologize for inserting all files and the error message, but it may be helpful for giving me a hint. cu, martin ps: sorry for any grammar and/or spelling errors. CustomerClient_1.java | import com.ejbemarketplace.customer.*; | | import javax.naming.InitialContext; | import javax.naming.Context; | import javax.naming.NamingException; | import java.rmi.RemoteException; | import java.util.Properties; | import javax.rmi.PortableRemoteObject; | | import java.util.GregorianCalendar; | import java.util.Date; | import java.text.DateFormat; | | public class CustomerClient_1 { | | /** Creates a new instance of CustomerClient_1 */ | public static void main(String[] args) { | try { | Context jndiContext = getInitialContext(); | Object ref = jndiContext.lookup("CustomerHomeRemote"); | CustomerHomeRemote home = (CustomerHomeRemote)PortableRemoteObject.narrow(ref, CustomerHomeRemote.class); | | DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT); | GregorianCalendar bd = new GregorianCalendar(); | try { | bd.setTime(df.parse("03/03/1946")); | } catch (java.text.ParseException pe) { pe.printStackTrace(); } | | CustomerRemote customer = home.createCustomer("Bayer", "Martin", bd, "secret"); | | Integer pk = new Integer(1); | | CustomerRemote customer_r = home.findByPrimaryKey(pk); | System.out.println(customer_r.getLName()); | System.out.println(customer_r.getFName()); | System.out.println(customer_r.getDOBirth().toString()); | System.out.println(customer_r.getPasswd()); | | } catch (java.rmi.RemoteException re) { re.printStackTrace(); } | catch (javax.naming.NamingException ne) { ne.printStackTrace(); } | catch (javax.ejb.CreateException ce) { ce.printStackTrace(); } | catch (javax.ejb.FinderException fe) { fe.printStackTrace(); } | } | | public static Context getInitialContext() throws javax.naming.NamingException { | Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"); | p.put(Context.PROVIDER_URL, "localhost:1099"); | | return new javax.naming.InitialContext(p); | } | } | CustomerHomeRemote.java
[JBoss-user] [Beginners Corner] - Re: Problems installing JBoss 3.2.3 - Problem solved
Sorry, for causing trouble. It was my fault. thx, martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822576#3822576 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822576 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Problems installing JBoss 3.2.3
Hello community, I've just downloaded the bz2-file from the jboss.org homepage. Then I've unzipped the file in /usr/local with "root" permissions and afterwards started the server again with root permission from the /usr/local/jboss-3.2.3/bin directory (I'm running a SuSE 8.2 box with installed J2SDK 1.4.1). The server starts without any errors, warnings or exceptions but as soon as I try to access the jmx-console (Mozilla: http://127.0.0.1:8080/jmx-console) the system reports the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.