I have the following problem: I have several sites with a local ActiveMQ broker that forwards to a remote broker (in a datacenter). This connection is often unstable, and goes down several times a month for a few minutes or hours at a time.
Messages therefore need to wait on the local broker if the remote broker is not accessible at th...
Hi i'm configure my quartz server on jboss to make it the access to other classes in a ear, setting in the quartz-service.xml that depends of the other .ear. The server deployed works fine but when the job it's work throws an excepcion of "No classloaders found" and it's rare because the quartz starts after my ear. I don't if i need anot...
I am a newbie to J2EE. I wonder if there are some common deadlock cases in J2EE application layer, resulting from using Java synchronization primitive - synchronized keyword. If yes, could help give an example? Thanks a lot!
...
Are there any differences implementing Flex application security in a clustered Java environment (such as Oracle Application Server/OC4J or a JBoss cluster) vs a single application server environment? (And/or does it depend on the specific environment software?)
What considerations are there in a situation where you need to authenticate...
hi,
if deploy on tomcat myapp.war contains two lib (lib1.jar and lib2.jar), which contain both a.b.c.MyObj
which one chooses at the time of the creation of MyObj ?
...
Hello,
I've implemented a LoginModule to perform some custom authentication, and call the authentication using the login() method of the LoginContext class. The login module's login() and commit() methods are called successfully, but instead of being able to use the web app I am being sent back to the login page immediately. request.g...
In the below code snippet, the intention is to take value for name from a variable, however no value gets output when it is tried with EL, while direct assignment works fine.
<%! String sName; %>
<% sName="ABC"; %>
<H3> Hello <c:out value="${sName}"/> </H3>
<H3> Hello <c:out value="ABC"/> </H3>
What is missing or has gone wrong here?...
how can i export .war file in jdeveloper 10g ?
...
Hy guys,
I am currently doing the architecture of a small start-up.
Due to budget constraints and trying to avoid as many problems related to deployment and scalability as possible I decided to go for a PAAS related to one of the Cloud solution providers out there.
I am currently balancing between the well known Google App Engine and th...
in eclipse IDE how can i access a java class from .jsp
exactly like accessing a servlet from a jsp file ?
in other word, what should i replace with question marks "????????"
<form name="myForm" action="???????????????" method="post">
</form>
when i run engine.java file from "mypackage" package tomcat application servers shows this add...
Hi,
I am getting the symlink error when i do an ant build. Searched in net and some posts suggested to download junit jar for fixing it. Downloaded junit-4.8.2.jar. Added this jar file to Classpath but still's not working. I tried to include the jar file within the build.xml but still it didn't work out.
<target name="-createDir"...
Hi All,
We have replaced ejbs with Spring transaction and security(service facade) in our project. Earlier we were using maven ejb plugin to include dependent libs in the classpath.
<plugin>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<archive>
<manifest>...
Greetings,
I'm attempting to profile a J2EE project (EJBs, Servlet, JSP) which is deployed in JBoss Application Server 5.
I would like to find the methods which use the most cpu and memory.
What are the recommended methods and tutorials?
Thanks in advance,
Ken
...
Hi Everyone,
I'm thinking about developing a Java Web Service using RESTEasy. I am going to follow this example: http://technicalmumbojumbo.wordpress.com/2009/10/13/restful-webservices-using-jboss-resteasy-tutorial/
Now, that's very well and good for getting the server to reply back with a simple response, however how do I get some "ba...
I am thinking of ways by which people may interact with video and probably publish them. So, I have a service in mind that people can use to upload the video to one place and then just write plugins which tells my webservice what to do with these videos.
my current plans are like if someone uploads a video to my service and then edits it...
Hi,
I have 2 tables named T1 and T2. Where T1 is parent and T2 is child.
The scenario is, I started a jdbc transaction and then insert a row in T1 and then try to insert a row in T2. Inserting row in T2 gies me "Integrity Constraint-Parent key not found" exception.
How i handle this scenario ?
Connection con;
try{
con = ConnectionP...
I have a J2EE webapp which uses standard FORM-based authentication, using a login.jsp page, which works okay, apart from a couple of glitches:
If username/password are incorrect, the login error page auto-redirects back to login.jsp, but unfortunately "j_security_check" then appears at the end of the URL - which I know is sub-optimal.
...
Hi all!
I wanna build a server web services using J2ee!
But I don't know what is best j2ee framework!
Plz help me choose the best in many j2ee framework.
I attend to interoperability, performance, security and changability.
P/S my server will not using for website but it will using to distribute application (for mobile).
...
Is there any Tomcat API or configuration available which can tell an application (probably on startup), what port its running on without a request??
*EDIT*
Imagine a scenario where there are two web applications running in the same tomcat and one of which need to invoke a web service from the other one. We don't want the request to l...
I was reading i18n chapter from java blueprint and I came across this "the system default locale for a Web component is the Web container's default locale" (@ http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/i18n/i18n4.html).
I am wondering if there is anything like that. Also, I see that faces-config.xml p...