khushhal yadav

Ranch Hand
+ Follow
since Jun 20, 2007
khushhal likes ...
Mac Java Ubuntu
Merit badge: grant badges
For More
Glasgow, Scotland
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by khushhal yadav

Hi Hrishikesh,

Shailesh is right about the statement he made.

But would like to know one thing, if earlier did you write something like this explicitly in your jsp

Now this is the only thing that is left which can cause the EL expression from being displayed properly..


Thanks for correction Bear Bibeault and Christophe Verré

I meant to write that only (prior to version 2.0) but while writing got it wrong.

Hi Hrishikesh ,

In addition to the <el-ignored> tag in your DD (web.xml), please also check isELIgnored atrribute of page directive. That has to be false.

One of the following may be the cause for the problem, you are facing:

  • <el-ignored> tag in your web.xml is set to true.
  • isELIgnored attribute for the page directive of your jsp is set to true.
  • Or the version of the JSP you are having is less than 2.1, as prior to version 2.1 EL were not supported for jsp.

  • Regards,

    Hi All

    I am facing issues while installing one tool on Unix Box, which it seems to be using swing at back end ..

    Launching installer...

    Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

    Stack Trace:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
    at java.awt.Window.<init>(Unknown Source)
    at java.awt.Frame.<init>(Unknown Source)
    at java.awt.Frame.<init>(Unknown Source)
    at javax.swing.JFrame.<init>(Unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.g(DashoA10*..)
    at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
    at com.zerog.ia.installer.Main.main(DashoA10*..)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.zerog.lax.LAX.launch(DashoA10*..)
    at com.zerog.lax.LAX.main(DashoA10*..)
    This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
    [bmcao@lctvd139 ~]$

    Any idea what exactly causing this stack flow? I have really got myself crap searching for what causing it. Anyone having idea, please let me know..

    My assumption is

    1. Either some X11 display variable is not set, as mentioned in stack flow.
    If this is the case how to set X11 display variable and what should be its value?

    No X11 DISPLAY variable was set, but this program performed an operation which requires it.

    2. Otherwise, it might be looking for some graphics controller like X manager, which is not there, eventually
    resulting in "No X11 DISPLAY variable was set" to be thrown.

    at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
    at java.awt.Window.<init>(Unknown Source)

    Because in the tool’s installation guide it is written that

    You will need a GUI tool to run the adapters installer. Remote
    use X Windows or VNC to complete the installation.

    14 years ago
    Output in console:

    Buildfile: build.xml

    [mkdir] Created dir: H:\workbook\ex04_1\build
    [mkdir] Created dir: H:\workbook\ex04_1\build\classes
    [echo] It starts now

    [echo] compilng starts here
    [javac] Compiling 11 source files to H:\workbook\ex04_1\build\classes
    [echo] compilng ends here

    [jar] Building jar: H:\workbook\ex04_1\build\titan.jar
    [copy] Copying 1 file to H:\jboss\jboss-4.2.2.GA\jboss-4.2.2.GA\server\defa

    [java] javax.naming.NameNotFoundException: TravelAgentRemote not bound
    [java] at org.jnp.server.NamingServer.getBinding(

    [java] at org.jnp.server.NamingServer.getBinding(

    [java] at org.jnp.server.NamingServer.getObject(
    [java] at org.jnp.server.NamingServer.lookup(
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    [java] at java.lang.reflect.Method.invoke(
    [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
    [java] at sun.rmi.transport.Transport$
    [java] at Method)
    [java] at sun.rmi.transport.Transport.serviceCall(
    [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
    [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCP
    [java] at sun.rmi.transport.tcp.TCPTransport$
    [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
    [java] at java.util.concurrent.ThreadPoolExecutor$
    [java] at
    [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
    [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
    [java] at sun.rmi.server.UnicastRef.invoke(
    [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
    [java] at org.jnp.interfaces.NamingContext.lookup(
    [java] at org.jnp.interfaces.NamingContext.lookup(
    [java] at javax.naming.InitialContext.lookup(
    [java] at com.title.clients.Client_3.main(

    Total time: 8 seconds

    My http://localhost:8080/jmx-console/HtmlAdaptor looks like this

    Global JNDI Namespace
    +- TravelAgentRemote (proxy: $Proxy91 implements interface com.title.travelagent.TravelAgentRemote,interface org.jboss.ejb3.JBossProxy)
    +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
    +- jmx (class: org.jnp.interfaces.NamingContext)
    | +- invoker (class: org.jnp.interfaces.NamingContext)
    | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
    | +- rmi (class: org.jnp.interfaces.NamingContext)
    | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
    +- HTTPXAConnectionFactory (class:
    +- TransactionPersistenceContextRemote (class: java.lang.Object)
    +- ConnectionFactory (class:
    +- ExtendedPersistenceContextRemoteStatefulProxyFactory (proxy: $Proxy76 implements interface org.jboss.ejb3.ProxyFactory)
    +- UserTransactionSessionFactory (proxy: $Proxy14 implements interface
    +- HTTPConnectionFactory (class:
    +- XAConnectionFactory (class:
    +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
    +- TransactionPersistenceContextRemoteStatefulProxyFactory (proxy: $Proxy76 implements interface org.jboss.ejb3.ProxyFactory)
    +- UserTransaction (class:
    +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
    +- ExtendedPersistenceContextRemote (class: java.lang.Object)
    +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
    +- persistence.units:jar=titan.jar,unitName=titan (class: org.hibernate.impl.SessionFactoryImpl)
    +- queue (class: org.jnp.interfaces.NamingContext)
    | +- A (class:
    | +- testQueue (class:
    | +- ex (class:
    | +- DLQ (class:
    | +- D (class:
    | +- C (class:
    | +- B (class:
    +- topic (class: org.jnp.interfaces.NamingContext)
    | +- testDurableTopic (class:
    | +- testTopic (class:
    | +- securedTopic (class:
    +- console (class: org.jnp.interfaces.NamingContext)
    | +- PluginManager (proxy: $Proxy48 implements interface org.jboss.console.manager.PluginManagerMBean)
    +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
    +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
    +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
    +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
    +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)

    My Client Class is like this:

    My Bean class is like this:

    My Remote interface is like this:

    My persistence.xml looks like this:

    My jboss.xml is like this:

    And my titan.ear folder structure is like this:

    | |- persistence.xml
    | |- jboss.xml
    |- class files with proper pckg structure

    Rest things are set in class path via an ant file

    Please let me know..

    Please let me know from where should I start?
    I haven't ever worked on an application server.
    I am bit familiar with ORM tool - hibernate and struts.
    But those applications, I run them from command prompt using an ANT file which I have created myself.

    How to proceed for EJB?
    I have started reading Mastering Enterprise Javabeans 3.0.

    Thank you Christopher.

    For understanding EJB 3.0, does one need to have prerequisite knowledge of EJB 1.3?

    I am completely new to it. Kindly help.

    Thank you Peer,

    I was really in need of all that stuff.
    Thanks a lot once again

    One more thing, is the exam WS-I BP 1.0 conformant or not?

    Thanks a lot Peer

    How much knowledge of EJB, we are supposed to have?
    And whether that is for EJB2 or EJB3.

    And one more thing I have given a glance to Richard-Monson-Haefel book.
    But don't think, it covers all the topics?

    Where can I get a tutorial for a proper structure of an complete and entire application and its deployment? I know about each ingredients of an application but little confused how they are structured and placed to communicate with each other?


    Anyone using Tomcat 5.0 for WSDP

    What's the benefit of Sun Java System Application Server PE 8.2 over Tomcat 5.0 for WSDP.

    Please I am just a novice in web services. Help me out.

    Congrats Dave

    For a wonderful score.

    16 years ago
    Wish you a Good Luck for your bright and prosperous future

    16 years ago