Hi Subramaniam,
To get an EAP subscription, you can go to
https://www.redhat.com/en/technologies/jboss-middleware/application-platform
and follow the "Buy It" or "Talk to a Red Hatter" links. Or, if you
already
have an account with Red Hat for a different product, you can contact your
sales person to get assistance with getting an EAP subscription.
On Wed, Apr 19, 2023 at 5:55 AM Subramanian1 R iGTB <
subramanian1.r(a)intellectdesign.com> wrote:
Hi Brian
Thanks for your timely response.
Though we have provided all the correct information about the JBoss
server, we are encountering the Cannot instantiate class:
org.wildfly.naming.client.WildFlyInitialContextFactory in spite of placing
the wildfly jar in the lib folder.
Jar Used - wildfly-client-all-20.0.1.Final.jar
Java Version - Java 11
GAMFT Version - 7.1.3
Jboss Version - EAP-7.3.8
Exception in NamingException for standard
upload---->javax.naming.NoInitialContextException: *Cannot instantiate
class: org.wildfly.naming.client.WildFlyInitialContextFactory [Root
exception is java.lang.ClassNotFoundException:
org.wildfly.naming.client.WildFlyInitialContextFactory]*
Please find the attached log file and the JAVA source file used for the
full stack trace.
We have below 3 queries. Could you please respond:
1. Can you please let us know which Wildfly jar is compliant with the JAVA
11 version? Already we have tried multiple Wildfly versions like
20.0.2.Final, 28.0.0Beta1, 27.0.1.Final, 27.0.0.Final, 26.1.3.Final jars.
We are facing the same issue mentioned above.
Those all support SE 11. A ClassNotFoundException doesn't indicate to me
that there is any problem with the SE version being used.
Looking at your attached log I'm not sure what sort of application is
running. It doesn't look like the Tomcat application from the initial post;
it seems more like a standalone java app. Is the wildfly-client-all.jar on
the classpath?
2. Is there any other alternative jar that can be used in place of a
wildfly jar?
You should use the client jar associated with the EAP version you are
trying to integrate with. For EAP 7.3.8 that would be:
https://maven.repository.redhat.com/ga/org/jboss/eap/wildfly-client-all/7...
Also, inside your EAP 7.3 CP 8 server installation's bin/client dir there
is a 'jboss-client.jar'. That's the same jar as the one I linked on the
line above, just with a different name.
3. I have attached the InputFiles_Transformation_JMS.java source.
Could
you please go through and let us know if any code changes required
complaint with JAVA11?
I'm sorry, but that's beyond what I can do.
For WildFly user questions you can post to the WildFly user forum at
https://groups.google.com/g/wildfly and perhaps someone in the user
community can assist.
And Also we tried to raise a ticket in the below mentioned redhat
site but
it requires some active subscription. Currently we do not have any
subscription. Could you please guide us to proceed further.
*Thanks & Regards,*
*Subramanian SP RM | Team Lead | iGTBIntellect Design Arena Limited,M:
+91-9487439570,Plot No. 3/G3, SIPCOT IT Park, Siruseri,Chennai – 600 130,
India.*
On Tue, Apr 18, 2023 at 7:55 PM Brian Stansberry <
brian.stansberry(a)redhat.com> wrote:
> Hi Subramanian,
>
> Since you are using JBoss EAP, please open a ticket via the Red Hat
> customer support portal at
https://access.redhat.com/. The support team
> and Red Hat is organized to provide more timely responses than you can get
> from the WildFly community.
>
> You've posted a client-side stack trace. The 'WFNAM00018: Failed to
> connect to remote host' exception message comes from the
> wildfly-naming-client library, but there is no WildFly/EAP component code
> in the stack trace. So I expect the code in the stack has caught an
> exception thrown by wildfly-naming-client and converted it to JMSException,
> taking the message from the wildfly-naming-client exception. If there's
> other logging (e.g. a 'Caused by' section of the stack trace) that shows
> stacks from wildfly-naming-client , please be sure and include that in
> your ticket with Red Hat.
>
> Best regards,
> Brian Stansberry
>
> On Tue, Apr 18, 2023 at 7:03 AM Subramanian1 R iGTB <
> subramanian1.r(a)intellectdesign.com> wrote:
>
>> Hi Team
>>
>> This is regarding Integration between GAMFT (Go Anywhere Managed File
>> transfer) and JBOSS server.(EAP-7.3.8)
>>
>> Jar Used - wildfly-client-all-20.0.1.Final.jar
>> Java Version - Java 11
>> GAMFT Version - 7.1.3
>> Jboss Version - EAP-7.3.8
>>
>> Also we have raised the same issue in Jboss Community as well waiting
>> for the moderator to approve. PFB Screenshot FYR.
>> [image: Jboss.jpg]
>>
>> We are encountering the below error while we are trying to send JMS.to
>> Jboss from GAMFT 7.1.3 application.
>>
>> javax.jms.JMSException: WFNAM00018: Failed to connect to remote host
>> at
>>
com.linoma.resource.mq.JNDIConnectionFactory.getConnection(JNDIConnectionFactory.java:78)
>> at
>>
com.linoma.ga.projects.resources.MQResource.testJNDIConnection(MQResource.java:411)
>> at com.linoma.ga.projects.resources.MQResource.test(MQResource.java:282)
>> at
>>
com.linoma.ga.projects.resources.ResourceTester.executeTest(ResourceTester.java:175)
>> at
>> com.linoma.ga.projects.resources.ResourceTester.test(ResourceTester.java:123)
>> at
>>
com.linoma.ga.ui.admin.resources.ConfigureResourceForm.test(ConfigureResourceForm.java:398)
>> at
>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> at
>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
>> Source)
>> at
>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>> Source)
>> at java.base/java.lang.reflect.Method.invoke(Unknown Source)
>> at org.apache.el.parser.AstValue.invoke(AstValue.java:252)
>> at
>> org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:266)
>> at
>>
org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:96)
>> at
>>
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
>> at
>>
org.primefaces.application.DialogActionListener.processAction(DialogActionListener.java:46)
>> at javax.faces.component.UICommand.broadcast(UICommand.java:120)
>> at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1174)
>> at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:365)
>> at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1660)
>> at
>> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:864)
>> at
>>
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:42)
>> at
>> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
>> at
>> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at com.linoma.ga.ui.admin.LocaleFilter.doFilter(LocaleFilter.java:99)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at com.linoma.ga.ui.admin.WebDocFilter.doFilter(WebDocFilter.java:119)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>>
com.linoma.ga.core.upload.AdminFileUploadFilter.doFilter(AdminFileUploadFilter.java:81)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>> com.linoma.dpa.security.SecurityFilter.doFilter(SecurityFilter.java:316)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>>
com.linoma.dpa.security.SecurityHeaderFilter.doFilter(SecurityHeaderFilter.java:104)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>>
com.linoma.ga.ui.core.filter.IFrameEmbeddingFilter.doFilter(IFrameEmbeddingFilter.java:90)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>> com.linoma.ga.ui.core.filter.NoCacheFilter.doFilter(NoCacheFilter.java:46)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>>
com.linoma.ga.ui.core.filter.IECompatibilityModeFilter.doFilter(IECompatibilityModeFilter.java:61)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>> com.linoma.dpa.j2ee.AdminRedirectFilter.doFilter(AdminRedirectFilter.java:50)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>>
com.linoma.ga.ui.core.filter.XForwardedForFilter.doFilter(XForwardedForFilter.java:55)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>> at
>>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
>> at
>>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
>> at
>>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
>> at
>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
>> at
>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>> at
>>
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
>> at
>>
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
>> at
>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>> at
>>
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
>> at
>>
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
>> at
>>
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>> at java.base/java.lang.Thread.run(Unknown Source)
>>
>> We Seek your support to overcome this issue.
>>
>> *Thanks & Regards,*
>> *Subramanian SP RM | Team Lead | iGTBIntellect Design Arena Limited,M:
>> +91-9487439570,Plot No. 3/G3, SIPCOT IT Park, Siruseri,Chennai – 600 130,
>> India.*
>>
>> This e-Mail may contain proprietary and confidential information and is
>> sent for the intended recipient(s) only. If by an addressing or
>> transmission error this mail has been misdirected to you, you are requested
>> to delete this mail immediately. You are also hereby notified that any use,
>> any form of reproduction, dissemination, copying, disclosure, modification,
>> distribution and/or publication of this e-mail message, contents or its
>> attachment other than by its intended recipient/s is strictly prohibited.
>> Visit us at *https://www.intellectdesign.com*
>> <
https://www.intellectdesign.com/>
>
>
>
>
This e-Mail may contain proprietary and confidential information and is
sent for the intended recipient(s) only. If by an addressing or
transmission error this mail has been misdirected to you, you are requested
to delete this mail immediately. You are also hereby notified that any use,
any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its
attachment other than by its intended recipient/s is strictly prohibited.
Visit us at *https://www.intellectdesign.com*
<
https://www.intellectdesign.com/>
--
Brian Stansberry
Principal Architect, Red Hat JBoss EAP
He/Him/His