Subha Murthy

Greenhorn
+ Follow
since Aug 16, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Subha Murthy

Thanks David for your timely input.

-Subha
Thanks David. Unfortunately we had an instance that we did get a call reporting profanity.
Thanks for the response David.

We have a pressing business need that we need to avoid this. I looked at the link that you posted.
Its about Changing the Captcha generation configuration. How can I be guaranteed that this new method doesn't give me any profane words?

Thanks,
Subha
We have implemented JCaptcha in our website. But we came to know that it randomly generates some obscene words.
Is there any way we can block the profane content?

Any help will be highly appreciated.

Thanks,
Subha
Thanks a lot for your response.

15 years ago
We already coded a java client that makes synchronous calls. What are
the ways and easiest way to make it asynchronous?
Any help is highly appreciated.
15 years ago
Hi Brian,

can you tell me how exactly you were able to import .pfx into WebSphere using bouncycastle?

Thanks a lot!
16 years ago
Hello Wojciech,

Were you able to resolve this issue? I am running into the same exact issue. Any help is highly appreciated.

Thanks a lot!
16 years ago
Hi,

I installed JBoss-4.0.4.GA and Messaging 1.0.1.CR4 on AIX environment. When I try to start JBoss for the first time, I get the below error message. Can someone please help me with this?
------------------------------------------------------------------
14:11:08,730 INFO [Server] Starting JBoss (MX MicroKernel)...
14:11:08,733 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
14:11:08,759 INFO [Server] Home Dir: /usr/JBoss/jboss-4.0.4.GA
14:11:08,759 INFO [Server] Home URL: file:/usr/JBoss/jboss-4.0.4.GA/
14:11:08,761 INFO [Server] Patch URL: null
14:11:08,761 INFO [Server] Server Name: standalone-messaging
14:11:08,762 INFO [Server] Server Home Dir: /usr/JBoss/jboss-4.0.4.GA/server/standalone-messaging
14:11:08,762 INFO [Server] Server Home URL: file:/usr/JBoss/jboss-4.0.4.GA/server/standalone-messaging/
14:11:08,763 INFO [Server] Server Log Dir: /usr/JBoss/jboss-4.0.4.GA/server/standalone-messaging/log
14:11:08,763 INFO [Server] Server Temp Dir: /usr/JBoss/jboss-4.0.4.GA/server/standalone-messaging/tmp
14:11:08,764 INFO [Server] Root Deployment Filename: jboss-service.xml
14:11:10,167 INFO [ServerInfo] Java version: 1.4.2,IBM Corporation
14:11:10,167 INFO [ServerInfo] Java VM: Classic VM 1.4.2,IBM Corporation
14:11:10,167 INFO [ServerInfo] OS-System: AIX 5.1,ppc
14:11:12,199 INFO [Server] Core system initialized
14:11:16,051 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
14:11:16,954 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
14:11:21,798 INFO [Embedded] Catalina naming disabled
14:11:21,885 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
14:11:21,887 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
14:11:22,747 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
14:11:22,748 INFO [Catalina] Initialization processed in 860 ms
14:11:22,748 INFO [StandardService] Starting service jboss.web
14:11:22,756 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
14:11:22,874 INFO [StandardHost] XML validation disabled
14:11:23,104 INFO [Catalina] Server startup in 356 ms
14:11:23,342 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
14:11:24,547 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
14:11:28,576 WARN [BasicMBeanRegistry] MBeanException: preRegister() failed: [ObjectName='jboss.messaging:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@3c6aacd8)] Cause: java.lang.RuntimeException: Exception creating identity: http1stg: http1stg
14:11:28,608 ERROR [MainDeployer] Could not create deployment: file:/usr/JBoss/jboss-4.0.4.GA/server/standalone-messaging/deploy/jboss-messaging/remoting-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:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java(Inlined Compiled Code))
at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
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(Compiled Code))
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
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(Compiled Code))
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
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(Compiled Code))
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
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.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
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 $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Thread.java:568)
Caused by: java.lang.reflect.InvocationTargetException
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
... 84 more
Caused by: MBeanException: null Cause: MBeanException: preRegister() failed: [ObjectName='jboss.messaging:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@3c6aacd8)] Cause: java.lang.RuntimeException: Exception creating identity: http1stg: http1stg
at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
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(Compiled Code))
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
... 89 more
Caused by: MBeanException: preRegister() failed: [ObjectName='jboss.messaging:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@3c6aacd8)] Cause: java.lang.RuntimeException: Exception creating identity: http1stg: http1stg
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
... 100 more
Caused by: java.lang.RuntimeException: Exception creating identity: http1stg: http1stg
at org.jboss.remoting.ident.Identity.get(Identity.java:211)
at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)
at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
... 105 more
14:11:31,479 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
14:11:32,208 INFO [[/web-console]] J2EEFolder: Failed to init plugin, bsh/Interpreter
14:11:32,249 INFO [[/web-console]] SystemFolder: Failed to init plugin, bsh/Interpreter
14:11:33,399 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
14:11:34,670 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java efaultDS'
14:11:34,845 WARN [JDBCPersistenceManager]

JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
Using an isolation level more strict than READ_COMMITTED may lead to deadlock.

14:11:35,591 INFO [ServerPeer] JBoss Messaging 1.0.1.CR4 server [server.0] started
14:11:35,649 INFO [Queue] Queue[/queue/DLQ] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,670 INFO [Topic] Topic[/topic/testTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,676 INFO [Topic] Topic[/topic/securedTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,682 INFO [Topic] Topic[/topic/testDurableTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,691 INFO [Queue] Queue[/queue/testQueue] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,851 INFO [Queue] Queue[/queue/A] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,859 INFO [Queue] Queue[/queue/B] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,867 INFO [Queue] Queue[/queue/C] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,874 INFO [Queue] Queue[/queue/D] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,882 INFO [Queue] Queue[/queue/ex] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:35,894 INFO [Topic] Topic[/topic/openTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
14:11:36,108 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
14:11:36,679 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@d1ab47c6 { url=file:/usr/JBoss/jboss-4.0.4.GA/server/standalone-messaging/deploy/jboss-messaging/remoting-service.xml }
deployer: org.jboss.deployment.SARDeployer@2b5cacf4
status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.InvocationTargetException)
state: FAILED
watch: file:/usr/JBoss/jboss-4.0.4.GA/server/standalone-messaging/deploy/jboss-messaging/remoting-service.xml
altDD: null
lastDeployed: 1163704288489
lastModified: 1163704288000
mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.messaging.destination:service=ConnectionFactory
State: CONFIGURED
I Depend On:
jboss.messaging:service=ServerPeer
jboss.messaging:service=Connector,transport=socket

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.messaging:service=Connector,transport=socket
State: CONFIGURED
I Depend On:
jboss.messaging:service=NetworkRegistry
Depends On Me:
jboss.messaging.destination:service=ConnectionFactory


14:11:36,726 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
14:11:36,777 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 28s:10ms
18 years ago
Hi,
Is this redirection (ErrorDocument) specific to a virtualhost? What if I have various applications which has the same virtualhost and I want one of the applications to get redirected?
Please hel me out.
thanks
19 years ago
You should explicitly specify the validate="true" in struts-config.xml file. Other wise, it takes default value which might be "false". Try it and let me know if it works.
19 years ago
Are you sure you have the file that it specifies @ the specified location? Is validator plugin xml there in WEB-INF/
19 years ago
I have used VSS with WSAD, but I found CVS better than VSS.
19 years ago
Hi Paul,
Yes I am using the static variable throughout the application.
Here is my code:
jsp:
-------------------------------------------------------------
if((adminUserName.equals(Constants.XXX_ROLE_ADM_ID)) || (adminUserName.equals(Constants.XXX_ROLE_PMCRPT_ID))){%>
-------------------------------------------------------------

Constants.java
-----------------------------------------------------

Let me know if I am not clear still.

Thanks for your help
Subha
19 years ago
JSP
hi all,
I have strange problem with JSP.
I am using a static variable of a Java Class in JSP. If I change the variable value in Java class, compile it with out changing/re-compiling the JSP, that change is not getting effected. But when I re-compile JSP, the Java class's changes are getting affected.
Can anybody tell me what happens when we I build the project with no JSP change? (Is this going to take the Java Constants class's changes without re-compiling the JSP?)

Thanks in advance
19 years ago
JSP