[jboss-user] [Javassist Users] - Re: Instrumenting SQL execution times (Statement and Prepare
"jaikiran" wrote : Instead of writing up something new, you could probably use existing tools like JAMon? http://jamonapi.sourceforge.net/ I am not sure creating a proxy JDBC driver is the route I wish to take. I'd like to have a dynamic solution that can be plugged into an existing application without modification. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254989#4254989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: jsp pages won't compile, servlets run fine
Please post the entire exception stacktrace and also the location of the jar file where that a.b.c.d class is located. Also which specific vendor and version of JDK are you using? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254986#4254986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - jsp pages won't compile, servlets run fine
evening folks, i am migrating an application for jboss 4.x to jboss 5.1. i have gotten most of the migration issues worked out, but am facing one i have not been able to locate an answer for. we deploy an ear file that contains the core classes we use, and the after that a war file is deployed. the war file contains a mixture of custom classes not found in the ear, some servlets, and some jsp pages. when the servlets are accessed, all runs fine, but when trying to compile the jps pages, i get an error to the effect of "only a type can be imported a.b.c.d resolves to a package" other posts indicate that that error resolves down to a class not found error, but i can't see why it isn't being located. the servlet references to the exact same class, as i said, works fine. i did make sure that the EARClassLoaderDeployer property "isolated" was set to"false", so it seems as though the classes should be available for both the servlets and the jsp pages. any ideas of where to look? again, thanks as always, tom View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254980#4254980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - How to create hook in liferay-portal
Hi all. i am new user to liferay-portal , Now i am using netbeans IDE 6.7.1 to write small code to track user events on liferay-portal , I am using to create hook class extend modelListener , But i am not familiar Hook class what i can write inside Hook class . i am try to find much more abut document , But it is not result. Could everyone can help me this problem ?? thank in advance for any helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254975#4254975 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Installed JBoss 4.2.3.GA but can't get my server starte
Hi Everyone, I found some input in another post. When I looked at the boot log I found an error "[Server] Failed to create xmbean for: org.jboss.system.server.ServerInfo" which led me to more posts that pointed back to the hosts file. I found the hostname command that will tell the name of your computer (I didn't know what I.T. named it :p) and the following link helped with the rest. http://www.lockergnome.com/linux/2004/10/20/using-the-etchosts-file/ One of the things you can do to help determine if the hosts file is your problem or not is to startup JBoss with the following command (found in another post). "sh run.sh -c minimal" . If this starts your JBoss server then it's a good chance that the host file is your problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254973#4254973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: JNDI Lookup in multi-classloader environment
Hi Praveen, The JDNI system does not, by default, use Remoting. I'd suggest trying the "JNDI and Naming" forum at http://www.jboss.org/index.html?module=bb&op=viewforum&f=214 . -Ron View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254972#4254972 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: Infinite lock in MicroSocketClientInvoker
Hi Mayank, I notice that Thread-29, which is holding the java.util.linkedl...@2c1b1c that the other two threads are blocked on, is in the middle of a ClientSocketWrapper.checkConnection(), which is called only if the parameter socket.check_connection is set to "true". I usually advise against turning on the check connection facility, since it involves an extra round trip i/o. Did you mean to turn that on? I think that if you turn it off, the problem might go away. "mayankmit2002" wrote : | I have already set jnp.sotimeout value to | I don't recognize "jnp.sotimeout", but the parameter that controls socket timeouts in Remoting is "timeout". Setting "timeout" might also solve your problem. -Ron View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254970#4254970 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: Disable Weak Ciphers for PCI-DSS
Here are a couple of places to look: * "JavaTM Secure Socket Extension (JSSE) Reference Guide" at http://www.j2ee.me/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html * javax.net.ssl.SSLServerSocket javadoc at http://www.j2ee.me/j2se/1.4.2/docs/api/javax/net/ssl/SSLServerSocket.html Hope that helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254969#4254969 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - Re: port problem on windows embedded pos
Hi Peter, Strange. I haven't been able to duplicate your experience. Are you using the standard remoting-sslbisocket-service.xml file, or have you modified it? -Ron View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254968#4254968 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - [JBPM 4.X] jbpm-console, remote process instance
Hi all, can anyone point me to documentation on how I can configure the jbpm-console to connect to a remote jbpm process engine. I was looking at the demo installation (jBoss) but was not quite sure what config-files I need to change... Any help appreciated! Regards Torsten View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254963#4254963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: automatic JBoss shutdown?
This has been discuss several times. Here's one forum entry, which in turn reference another: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=116429 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254961#4254961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat
Sebastion, this is the code that is used in the console to look up the process engine: | if (processEngine == null) { | synchronized (ProcessEngine.class) { | | if (processEngine == null) { | | try { | InitialContext ctx = new InitialContext(); | processEngine = (ProcessEngine) ctx.lookup(PROCESS_ENGINE_JNDI_NAME); | } catch (Exception e) { | // Fall back to default mechanism which build a procEngine from a default jbpm.cfg.xml | processEngine = Configuration.getProcessEngine(); | } | | } | | } | Since there is no JNDI bound Process Engine in Tomcat, the catch() clause will be executed. So deploying a web service on Tomcat, should work. * Are you using the exact same Tomcat that you get when u use the ant install task. * Is the jbpm jar in the tomcat /lib folder? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254959#4254959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Getting all groups of the database with JBPM 4.1
Hi, Maybe I have missed something, but I did not find a method to get every group of the database. I've looked in the javadoc, but there is nothing. I'm doing it with hibernate and my own query to the database, but if there is one provided I'd be glad to use it. Thx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254957#4254957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Jaas + multiple web apps authentication
Hi again, you might want to take a look at Tomcats Single Sign On as well: http://tomcat.apache.org/tomcat-5.5-doc/config/host.html Regards, /Daniel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254954#4254954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - automatic JBoss shutdown?
Hello all, JBoss seems to call a shutdown periodically without no obvious reason. The server.log says: INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (JBoss Shutdown Hook) Runtime shutdown hook called, forceHalt: true any help greatly appreciated.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254951#4254951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Installed JBoss 4.2.3.GA but can't get my server started
Hi, I'm new to Linux and to JBoss but need to learn how to manage a JBoss server. I've downloaded and installed JBoss 4.2.3.GA but can't get it to start when I execute run.sh (from in the jboss/bin folder). Here's my current system specs: Fedora Release 11(Leonidas) Kernel Linux 2.6.30.5-43.fc11.x86_64 GNOME 2.26.3 I've tried using Java 1.5 and 1.6 (am currently trying 1.5 because that's what we code in at work). All software is the 64 bit version. I've researched the error below and found very few weblinks (google only returned about a dozen) and none of them have helped. I've tried: - various versions of Java - making sure that all users have total access to both the java and jboss folders - making sure my symbolic java link is fully accessible to all users (it points to the java file under the jre sub-folder of the 1.5 JDK) The one suggestion I don't know how to implement is to make sure my host file is properly configured for my computer name. I will greatly appreciate any help anyone can offer. The error I receive is: = JBoss Bootstrap Environment JBOSS_HOME: /opt/jboss-4.2.3.GA JAVA: java JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true CLASSPATH: /opt/jboss-4.2.3.GA/bin/run.jar = 20:57:09,869 INFO [Server] Starting JBoss (MX MicroKernel)... 20:57:09,870 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) 20:57:09,871 INFO [Server] Home Dir: /opt/jboss-4.2.3.GA 20:57:09,871 INFO [Server] Home URL: file:/opt/jboss-4.2.3.GA/ 20:57:09,872 INFO [Server] Patch URL: null 20:57:09,872 INFO [Server] Server Name: default 20:57:09,872 INFO [Server] Server Home Dir: /opt/jboss-4.2.3.GA/server/default 20:57:09,872 INFO [Server] Server Home URL: file:/opt/jboss-4.2.3.GA/server/default/ 20:57:09,872 INFO [Server] Server Log Dir: /opt/jboss-4.2.3.GA/server/default/log 20:57:09,872 INFO [Server] Server Temp Dir: /opt/jboss-4.2.3.GA/server/default/tmp 20:57:09,873 INFO [Server] Root Deployment Filename: jboss-service.xml 20:57:10,473 INFO [ServerInfo] Java version: 1.5.0_18,Sun Microsystems Inc. 20:57:10,473 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_18-b02,Sun Microsystems Inc. 20:57:10,473 INFO [ServerInfo] OS-System: Linux 2.6.30.5-43.fc11.x86_64,amd64 20:57:10,745 INFO [Server] Core system initialized 20:57:13,202 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.networkregis...@7cf01771)] 20:57:13,233 ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-4.2.3.GA/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) 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:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) 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:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanO
[jboss-user] [Security] - Re: Jaas + multiple web apps authentication
Hi MarianoK, anonymous wrote : b. The user should be prompted with credentials once and remember this information no matter if i move from war to war (at lease what i expect) To have this sort of functionality you'll require a Single Sign On (SSO) solution. This will give you the ability to have your users authenticated once and be able to access the other web applications. JBoss has an SSO solution which you can read more about it in the Identity User Guide (Section "Web Single Sign On (SSO)"): http://www.jboss.org/jbossidentity/docs/guides/ Regards, /Daniel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254948#4254948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: jboss 5.1 runtime server is not doploying ear
I was using 2.1.2, now I am try to use 3.1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254947#4254947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP Users] - Re: Jboss AOP maven plugin problems.
After trying one day, I discovered one strange thing about the jbossaop maven plugin.When I commented out | | ${project.build.outputDirectory}/jboss-aop.xml |in pom, both of the jbossaop:compile and jbossaop:run goal didn't use the jboss-aop.xml file at src/main/resources as the default value of aoppaths property. Here are the debug output: anonymous wrote : | [DEBUG]Configuring mojo 'org.jboss.maven.plugins:maven-jbossaop-plugin:2.1.3.GA:run' --> | [DEBUG] (f) aoppaths = [] | [DEBUG] (f) executable = demo.simple.Driver | [DEBUG] (f) includeProjectDependency = false | [DEBUG] (f) loadtime = true | [DEBUG] (f) pluginArtifacts = [org.codehaus.plexus:plexus-utils:jar:1.4.9:runtime, org.apache.maven.plugins:maven-surefire-plugin:jar:2.4:runtime, org.apache.maven.surefire:surefire-booter:jar:2.4:runtime, org.apache.maven.surefire:surefire-api:jar:2.4:runtime, org.jboss.aop:jboss-aop:jar:2.1.3.GA:runtime, org.apache.ant:ant:jar:1.7.0:runtime, org.apache.ant:ant-launcher:jar:1.7.0:runtime, javassist:javassist:jar:3.10.0.GA:runtime, org.jboss:jboss-reflect:jar:2.0.2.GA:runtime, org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:runtime, org.jboss:jboss-common-core:jar:2.2.11.GA:runtime, org.jboss:jboss-mdr:jar:2.0.1.GA:runtime, trove:trove:jar:2.1.1:runtime, org.jboss.logging:jboss-logging-log4j:jar:2.0.5.GA:runtime, org.apache.maven:maven-plugin-api:jar:2.0.9:runtime, org.apache.maven:maven-project:jar:2.0.9:runtime] | [DEBUG] (f) project = MavenProject: org.jboss.aop:constructor-execution:1.0.0 @ /home/ruado/NetBeansProjects/simple/pom.xml | [DEBUG] (f) verbose = false | [DEBUG]-- end configuration -- | [jbossaop:run] | [DEBUG]Executing aop: /bin/sh -c "cd /home/ruado/NetBeansProjects/simple/target/classes && java -javaagent:/home/ruado/.m2/repository/org/jboss/aop/jboss-aop/2.1.3.GA/jboss-aop-2.1.3.GA.jar -cp /home/ruado/.m2/repository/org/jboss/aop/jboss-aop/2.1.3.GA/jboss-aop-2.1.3.GA.jar:/home/ruado/.m2/repository/javassist/javassist/3.10.0.GA/javassist-3.10.0.GA.jar:/home/ruado/.m2/repository/org/jboss/jboss-reflect/2.0.2.GA/jboss-reflect-2.0.2.GA.jar:/home/ruado/.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar:/home/ruado/.m2/repository/org/jboss/jboss-common-core/2.2.11.GA/jboss-common-core-2.2.11.GA.jar:/home/ruado/.m2/repository/org/jboss/jboss-mdr/2.0.1.GA/jboss-mdr-2.0.1.GA.jar:/home/ruado/.m2/repository/trove/trove/2.1.1/trove-2.1.1.jar:/home/ruado/.m2/repository/org/jboss/logging/jboss-logging-log4j/2.0.5.GA/jboss-logging-log4j-2.0.5.GA.jar:/home/ruado/NetBeansProjects/simple/target/classes -Djboss.aop.verbose=false demo.simple.Driv! er" | --- new POJO(); --- | empty constructor | --- new POJO(String); --- | String constructor | --- new POJO(int); --- | int constructor | Any idea about this problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254943#4254943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: jboss 5.1 runtime server is not doploying ear
More information about JBoss Tools 2.1.2 ? Read the docs or ask here, but you stated you used 3.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254930#4254930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Web App Libraries not published?
jbosstools is not WTP but if it works without jbosstools then please report in jira with how you do it when it works and then what happens when you use jbosstools server adapter - thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254929#4254929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: how to add jars to web app libraries?
add it to the web-inf/lib directory or add other dependent projects via the Dependencies page under project preferences. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254928#4254928 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user