EJB3.0 session bean not getting compiled with wlappc

My EJB class is  as follows,
import javax.ejb.EJBException;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.interceptor.ExcludeDefaultInterceptors;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.servlet.http.HttpSession;
import weblogic.wsee.context.ContextNotFoundException;
import weblogic.wsee.context.WebServiceContext;
import weblogic.wsee.context.WebServiceSession;
@WebService(serviceName ="SpectrumReportWebService",targetNamespace ="http://spectrum.west.com/spectrum/SpectrumReportWebService")
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,use=SOAPBinding.Use.LITERAL,parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
@Stateless
@TransactionAttribute(TransactionAttributeType.NEVER)
@ExcludeDefaultInterceptors
public class MySimpleEJB implements MySimpleEJBInterface{
@webMethod()
public void authenticateUser(String username,String password){
WebServiceSession ses = null;
        try {
            // Get the current session context.
            ses = WebServiceContext.currentContext().getSession();
            // Store the Session ID in log4j MDC map
            HttpSession HttpSes = (HttpSession) ses.getUnderlyingSession();
            MDC.put("SESSION_ID", HttpSes.getId());
            // Store the user name in log4j MDC map
            if (user == null) {
                MDC.put("USER_NAME", ses.getAttribute("USER_NAME"));
            else {
                MDC.put("USER_NAME", user);
                ses.setAttribute("USER_NAME", user);
        catch (ContextNotFoundException e) {
            LOG.error("Session setup in setSessionInfo() failed");
            throw new Exception(e);
My authenticattion logic here
When I try to compile this file using wlappc ant task, The ant task throws an exception. The exception details are as follows,
[wlappc] <Aug 18, 2014 11:25:25 AM CDT> <Error> <J2EE> <BEA-160231> <Unable to identify application type for ReportWebService>
   [wlappc] weblogic.application.compiler.NoClaimsFactoryException: Unable to find a suitable factory among registered factories
   [wlappc] at weblogic.application.compiler.FactoryManager.create(FactoryManager.java:110)
   [wlappc] at weblogic.application.compiler.ToolsFactoryManager.createStandaloneModule(ToolsFactoryManager.java:118)
   [wlappc] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:40)
   [wlappc] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
   [wlappc] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
   [wlappc] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
   [wlappc] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
   [wlappc] at weblogic.application.compiler.BaseCompiler.compile(BaseCompiler.java:19)
   [wlappc] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:101)
   [wlappc] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:35)
   [wlappc] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
   [wlappc] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
   [wlappc] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
   [wlappc] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
   [wlappc] at weblogic.application.compiler.Appc.runBody(Appc.java:203)
   [wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
   [wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
   [wlappc] at weblogic.application.compiler.Appc.main(Appc.java:263)
   [wlappc] at weblogic.appc.main(appc.java:14)
   [wlappc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [wlappc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [wlappc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [wlappc] at java.lang.reflect.Method.invoke(Method.java:597)
   [wlappc] at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:301)
   [wlappc] at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:261)
   [wlappc] at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:164)
   [wlappc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
   [wlappc] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
   [wlappc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [wlappc] at java.lang.reflect.Method.invoke(Method.java:597)
   [wlappc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
   [wlappc] at org.apache.tools.ant.Task.perform(Task.java:348)
   [wlappc] at org.apache.tools.ant.Target.execute(Target.java:392)
   [wlappc] at org.apache.tools.ant.Target.performTasks(Target.java:413)
   [wlappc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
   [wlappc] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
   [wlappc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   [wlappc] at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
   [wlappc] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
   [wlappc] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424)
   [wlappc] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138)
Any help on this will be much appreciated. I don't find any help from the Oracle documentation on this.

Rajesh,
Is this 12.1.1?
There are 2 releases after 12.1.1: 12.1.2 and 12.1.3. These 2 version are very different from 12.1.1 and they run in JDK 7 only.
Would it be possible to try with 12.1.3?
WebLogic Server 12c (12.1.1), WebLogic Server 11g (10.3.6) and Previous Releases
Best Regards
Luz

Similar Messages

  • MessageDriven Beans not getting called with new messages

    I have a system in which data is collected by a number of applications and sent as messages to JMS topics. I also have message-driven beans hosted on weblogic that receive these messages and convert some of the data into entity beans for storage in the database. The problem I have is that occasionally some of the message-driven beans will stop processing messages, which will lead to messages 'backing up'. If left unchecked, the messages start to consume a lot of memory, so I have put message quotas in place to limiit this growth, but the fundamental problem is that the messages are not getting processed. I considered that the MDBs that stop working may be hung up on something internal or are hung up in the database (Oracle 10), but the DB enterprise manager says that there are no blocked sessions, and the monitor data for MDBs says that there are no active objects.
    What is happening here? I am using the monitor pages for the Weblogic console, so from that I can see that messages have not been processed, and that there are no MDBs currently processing messages, but there doesn't seem to be enough clues to pin down what is happening. Where should I be looking?

    Tom:
    Thanks for the very quick reply. I have looked in the logs, and only see error messages when the message quotas are reached. I have looked at the transaction statistics in the monitor console, and it gives zero rollbacks and timeouts. However, I have not tried a thread dump, and will try that when I get into work tomorrow.
    Here are some answers to your questions:
    * What is your version and service-pack? (I recall that there were one or two long since fixed bugs that could cause stalls.)
    I believe my version is 9.22.
    * Are the problem topics running on the same weblogic server as the MDB?
    Yes
    * Are subscriptions durable?
    No
    * Are you using "distributed topics"?
    I think so; the applications that are sending the messages are on processors other than the weblogic server. Is that what you mean by distributed topic?
    * You write that you are using multiple MDBs but only some stall. Is it the same ones each time?
    Not sure. We want to make sure that we get all the diagnostic information we can before restarting the server because we're not sure if this problem will happen again within 5 minutes, or if it will run weeks. It had run stints of a couple weeks before this point without having this problem.

  • I want to backup my phone before upgrading to ios5 but I get an error message itunes could not back up the iphone because a session could not be started with the iphone. Please help me..

    I want to backup my phone before upgrading to ios5 but I get an error message: itunes could not back up the iphone because a session could not be started with the iphone. I want to go to ios5, but I do not want to lose everything. I've gone to my device under preferences and I have no backup currently.
    I have a Verizon Iphone 4 and a PC.
    Please help me..

    Hi Judy,
    Im using windows 7 and im not a computer wizard, i've tried the method by using the instruction for Win7 but it does not work, same problem still exist.
    Could uninstall itunes and reinstall it back on my pc fix my problem, please advise...... Many Thanks!
    VBR,
    ray

  • When synching my 4th gen ipod touch I get error msg saying ipod could not be backed up because session could not be started with the ipod. It only does synch steps 2-5. Do I have to restore it?

    When synching by 4th gen ipod touch it skips the first step - backup-, does steps 2 through 5, then I get a message the ipod could not be backed up because a session could not be started with the ipod. How do I fix this? Do I have to restore my ipod? Will all my apps be erased?

    You have to have an internet connection, either wireless or through a computer with iTunes.  When you choose Software Update you can only update to the latest version for your iPod Touch, iOS 6.1.6

  • I get a message: "Itunes could not back up the Ipod, because a session could not be started with the Ipod." What can I do? I cant put any videos into it. HELP!

    I get a message when downloading video to the Ip[od: "I tunes could not back up the Ipod, because a session could not be started with the Ipod." What does this mean? What can I do? I cant put in any video. HELP!

    I get these issues too, Even with a restore?
    I work around it, (and would appreciate feedback on if this works for everyone) by :
    Right clicking device in iTunes and selecting "backup", I then get the error; I quickly "ok" the error, then select "backup" again, then I often get the error a second time, but on the third attempt (in very quick succession) of selecting backup, the task initiates, and completes successfully!
    Exactly the same for a restore!
    Did this work for you?

  • Jsf page not getting refreshed with updated values?

    Hi All,
    - managed-bean - session scope.
    - On a request, Even though, I am updating the bean's properties(values), my Jsf page is not getting refreshed with updated values as it is displaying the older values.
    Can anybody throw some light?
    Thanks in advance.
    - Sri

    Please try to give us more information, follow BalusC suggestion.
    For this moment I only can say you that the more common cause to this problem (in my expirence) is that you have problems with your conversion/validate phase.

  • "iTunes could not back up the iPhone 'my IPhone' because a session could not be started with the iPhone"

    Since 2 updates I started getting iTunes could not back up the iPhone 'my IPhone' because a session could not be started with the iPhone. This is happening with my iPad and iPhone. I see hundreds of complains on this issue starting from last year and obviously Apple has no clue how to solve this error. I went through the solutions and spend over an hour deleting backups resetting lockdown, restarting and nothing is working. Are they serious to ask us to disconnect all other USB devices to sync our equipment everyday to solve their problem? iTunes is the worst program I have seen on the market in the past 10 years. It reminds me of DOS programs that could only do one item at a time. You click a command and just wait and wait and wait. Of course they want me to call customer service, wait for x time to talk to tech support and then spend more time. I don't have the time. I spent a lot of money to get an equipment that should work as advertised and not spend further my valuable time. I have reached my limit with Apple and that crap iTunes. I'm calling for a divorce.
    [By the way, your spell check doesn't recognize your own products such as iPad, iTunes and iPhone. Such an embarrassing company.]

    Do you happen to be running any processes that Apple doesn't want you to use? (Jailbroken?)

  • ITunes could not back up the iPhone because a session could not be started with the iPhone

    Hi
    I have just updated to iTunes 10.7.(oh it just scrolled off the screen give me 5 minutes for it to come back again) 10.7.0.21 - the latest version
    I run Win7 64bit & during installation i got the blue-screen of death & windows crashed
    I went to apple website & downloaded iTunes manually & installed (it tried to install in the (x86) folder as usual, so i forced it into the 64 bit program folder like i always have to do.
    It now runs fine but when ever i sync in get the error "iTunes could not back up the '' iPhone because a session could not be started with the iPhone"
    I have tried deleting the existing backup as suggested in the forums but that didn't solve the problem, and now i have no backups at all
    I have restarted the iPhone & the computer but the error is still the same.
    PS i have "Encypt local backup" selected, if i try to unselect that option at the moment it says my password is incorrect, my password is correct, i made a record of it & know exactly what password i used but iTunes is saying it is wrong, is this because i have no backups at the moment or is iTunes completely broken
    I have also tried to backup to iCloud as a temporary measure but it says i don't have enough space so must buy some!
    Any help would be appreciated

    Could be that iTune can't read your latest backup file. You might have to delete it, follow this article to find out how to delete the backup from the list: iTunes: "Backup could not be saved on the computer" alert message

  • A session could not be started with the ipod

    My ipod touch 3 won't sync.  I get a message that says "itunes could not back up the ipod "xxx" because a session could not be started with the ipod."  I tried the recommendation of going to edit-->preferences-->devices and deleting the 'back up' file, but there IS no back up file.  I've updated my security software.  I've run the diagnostic for syncing and it said it passed.  I've shut off and restarted my ipod.  Not sure what else to do.  Don't really want to restore to original settings.

    I had this problem and found the solution (for me anyway). After looking in Logs I found a lot of "could not create file in All Users/Lockdown". On this XP computer it is here (and hidden):
    C:\Documents and Settings\All Users\Application Data\Apple
    So I moved the files in the Lockdown folder out of there. Then I got another error about the "pairing record missing" and searching that, found to move the .plist files out of the Preferences directory (all of the above with iTunes shut down i.e. not running of course). These were located here:
    C:\Documents and Settings\Joanne\Application Data\Apple Computer\Preferences
    Then I launched iTunes and all was well again. Maybe you can just delete the .plists out of Preferences, I dunno.
    Hope this helps you or anyone else searching on this somewhat maddening problem. I encountered the trouble upon updating iTunes to 10.5 and then trying to sync my iPod Touch v4.3.1. The backup has to work of course before I can update to iOS 5.0.

  • Itunes could not restore the iphone because a session could not be started with the iphone

    Recently I sent my iPhone 5 to apple service centre as my phone could not turn on and stuck at apple logo. The technician use DFU restore and successfully reboot my phone. However, all my data and content are being erased. Now I tied to restore from my back up using iTunes 12.1.0.71 with iPhone 5 iOS 8.1.3, error message pop up. itunes could not restore the iphone because a session could not be started with the iphone. However,  I still can sync my iPhone to iTunes. I am so frustrated as I need to get all my contact back from my previous back up. Please help. Thanks.

    Hello brendalhl,
    After reviewing your post, it sounds like a session could not be started to restore from a backup. I would recommend that you read this article, it may be able to help the issue.
    If you can't back up or restore your iPhone, iPad, or iPod using iTunes - Apple Support
    "... a session could not be started."
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Data of different session are not getting refreshed.

    We used select one choice and it is bind to the iterator. Data of different session are not getting reflected.
    Problem Scenario : Two browsers are open with same screen . In browser-1, I am adding new item which display on drop down of same screen. But drop down of browser-2 is not displaying the new added value.
    Please let me know how to refresh the data of browser-2 if I added data on different session.
    //JSFF entry
    <af:selectOneChoice binding="#{backingBeanScope.Product.ICTCSTName}"
    id="iCTCSTName" simple="true"
    label="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.label}"
    required="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.hints.mandatory}"
    value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.inputValue}"
    autoSubmit="true">
    <f:selectItems value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.items}"
    binding="#{backingBeanScope.Product.si2}"
    id="si2"/>
    </af:selectOneChoice>
    //Pagedef entry
    <list IterBinding="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    ListOperMode="navigation"
    ListIter="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    id="tpCrudeSuperTypeFindAllPopulatedCT" DTSupportsMRU="true">
    <AttrNames>
    <Item Value="superTypeName"/>
    </AttrNames>
    </list>

    Are you sure backingBeanScope is the correct scope for your scenario?
    Session scope sound more appropriate to me.
    binding="#{backingBeanScope.Product.si2}"

  • XML function not getting compiled in Pro C

    Hello
    I have written following statement in ProC
              EXEC SQL
              select extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal(),
    extract(x.xml_data,'//ADDRESS/SERVERS/text()').getNumberVal()
              INTO :h_refsystem,
              :h_reftext
    from xml_str_table x
    where key_no = 1234
    and x.xml_data.existsNode('//ADDRESS/SERVERS[@REFSYSTEM="ORACLE"]') = 1 ;
    and when compiled it give error " extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal()
                                                      *. should be replaced with date, time etc*
    Above query is returning output when I run on Oracle, but same code is not getting compiled in Pro C. Can you please advise what should be done to resolve this issue?
    Thanks in advance,

    Hello!
    I found out that the problem was not in the variable os_create_id as I described before, instead in the another variable, l_temp_sku.
    But a strange behaviour persists.
    The program aborts strangely, if the following variable l_temp_sku isn't initialised like this:
    l_temp_sku[0] = '\0'; (if this is done the pro*c runs ok)
    This variable gets it value from a Output variable of the package called, and these have the same length, as you can see above.
    In the old machine (version 8.1.3.0 as already mentioned) it worked fine without initialisation.
    The (strings) precompiler options are the following:
    dbms=v8
    char_map=string (We already tried to change this to VARCHAR2)
    My questions are:
    Is this a normal behaviour or is this a non documented feature (bug) ?
    Is there any precompiler option that solves this kind of problems ?
    We have lots of Pro*C´s with situations like this one, our problem is if all these programs start to blow without warning. Only after lots of time spent around this Pro*C we found where was the problem, and what kind of problem.
    /* Code Extract: */
    char ls_error_msg[NULL_ERROR];
    EXEC SQL VAR ls_error_msg IS STRING(NULL_ERROR);
    char l_temp_sku[NULL_SKU];
    EXEC SQL VAR l_temp_sku IS STRING(NULL_SKU);
    EXEC SQL EXECUTE
    DECLARE
    L_table VARCHAR(50) := NULL;
    L_sub_sku WIN_WH.sku%TYPE := NULL;
    L_avail_stock WIN_WH.STOCK_ON_HAND%TYPE := NULL;
    O_error_message VARCHAR2(255) := NULL;
    BEGIN
    if NB_SUB_SKU_SQL.NB_F_CHECK_SUB_SKU(:os_sku,
    :os_from_loc,
    :os_to_loc,
    :os_tsf_no,
    :os_tsfalloc_no,
    :os_create_id,
    to_date(:os_system_date,'YYYYMMDDHH24MISS'),
    L_sub_sku,
    L_avail_stock,
    O_error_message) = FALSE then
    :plsql_pkg_failed := -1;
    :plsql_pkg_message := O_error_message;
    SQL_LIB.BATCH_MSG(:ol_sql_holder,
    L_table,
    :plsql_pkg_message);
    :table := L_table;
    else
    /* Only if ret true and the sub sku, everything its ok */
    if L_sub_sku IS NOT NULL then
    :l_temp_sku := L_sub_sku;
    :plsql_pkg_failed := 0;
    Best Regards,
    JAP

  • HT1386 error "session could not be started with iphone"

    Get error message that states "session could not be started with iPhone"

    Here.
    http://support.apple.com/kb/ts2529

  • Cannot back up iphone error message " session could not be started with iphone

    I cannot back up my iphone.  Keep getting an error message "a session could not be started with the iphone"  Need help.

    See Here
    Troubleshooting Backup Issues
    http://support.apple.com/kb/ts2529

  • Session is not getting invalidated when i access more then 1 war applications

              I am experiencing the following problem and i do not understand
              the reason. I have an application (3 jsps) in a directory
              called /private under weblogic 6 sp1
              directory "DefaultWebApp_myserver". The login.jsp, logout.jsp
              and logError.jsp exist in directory "DefaultWebApp_myserver"
              below is the web.xml deployed with the default web application
              ----------------------------------------- web.xml ----
              <?xml version="1.0" ?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <welcome-file-list>
              <welcome-file>/private/checkCredentials.jsp</welcome-file>
              </welcome-file-list>
              <security-constraint>
              <web-resource-collection>
              <web-resource-name> MySecureBit0 </web-resource-name>
              <description>no description </description>
              <url-pattern>/private/*</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
              <role-name>NBAD_DOMAIN</role-name>
              </auth-constraint>
              </security-constraint>
              <login-config>
              <auth-method>FORM</auth-method>
              <realm-name>MyRDBMS Realm</realm-name>
              <form-login-config>
              <form-login-page>Login.jsp</form-login-page>
              <form-error-page>LoginError.jsp</form-error-page>
              </form-login-config>
              </login-config>
              </web-app>
              I have another application war. This application consist of
              2 jsp files. Below is the web.xml
              ------------------------ end web.xml -----------------------
              <?xml version="1.0" ?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <welcome-file-list>
              <welcome-file>/private/checkCredentials.jsp</welcome-file>
              </welcome-file-list>
              <security-constraint>
              <web-resource-collection>
              <web-resource-name> MySecureBit0 </web-resource-name>
              <description>no description </description>
              <url-pattern>/*</url-pattern>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
              <role-name>Engineer</role-name>
              </auth-constraint>
              </security-constraint>
              <login-config>
              <auth-method>FORM</auth-method>
              <realm-name>MyRDBMS Realm</realm-name>
              <form-login-config>
              <form-login-page>../Login.jsp</form-login-page>
              <form-error-page>../LoginError.jsp</form-error-page>
              </form-login-config>
              </login-config>
              </web-app>
              ------------------------------ end web.xml ----------------------
              Now i login in the default application that i have i link that takes me to the
              second app (the war); then i go to the default
              app and i logout. When i logout i invalidate the session. but it
              seems that the session is not getting invalided because i can
              enter the default
              application and the war test application without login in.
              If i do not access the test war application from the default application the session
              is invalidate and i get the login page.
              I hope i am clear.
              Thanks
              Ibrahim
              

              I asked a similar question some time ago and the answer that I got was that each
              application (war file) has its own session object. You cannot transfer information
              from one application to another via the session id.
              Vladimir
              "ibrahim" <[email protected]> wrote:
              >
              >I am experiencing the following problem and i do not understand
              >the reason. I have an application (3 jsps) in a directory
              >called /private under weblogic 6 sp1
              >directory "DefaultWebApp_myserver". The login.jsp, logout.jsp
              >and logError.jsp exist in directory "DefaultWebApp_myserver"
              >below is the web.xml deployed with the default web application
              >----------------------------------------- web.xml ----
              ><?xml version="1.0" ?>
              ><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              >1.2//EN"
              >"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              ><web-app>
              ><welcome-file-list>
              > <welcome-file>/private/checkCredentials.jsp</welcome-file>
              ></welcome-file-list>
              ><security-constraint>
              > <web-resource-collection>
              > <web-resource-name> MySecureBit0 </web-resource-name>
              > <description>no description </description>
              > <url-pattern>/private/*</url-pattern>
              > <http-method>GET</http-method>
              > <http-method>POST</http-method>
              > </web-resource-collection>
              > <auth-constraint>
              > <role-name>NBAD_DOMAIN</role-name>
              > </auth-constraint>
              ></security-constraint>
              ><login-config>
              > <auth-method>FORM</auth-method>
              > <realm-name>MyRDBMS Realm</realm-name>
              > <form-login-config>
              > <form-login-page>Login.jsp</form-login-page>
              > <form-error-page>LoginError.jsp</form-error-page>
              > </form-login-config>
              ></login-config>
              ></web-app>
              >---------------------------------------------------------
              >I have another application war. This application consist of
              >2 jsp files. Below is the web.xml
              >------------------------ end web.xml -----------------------
              >
              ><?xml version="1.0" ?>
              ><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              >1.2//EN"
              >"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              ><web-app>
              ><welcome-file-list>
              ><welcome-file>/private/checkCredentials.jsp</welcome-file>
              ></welcome-file-list>
              ><security-constraint>
              > <web-resource-collection>
              > <web-resource-name> MySecureBit0 </web-resource-name>
              > <description>no description </description>
              > <url-pattern>/*</url-pattern>
              > <http-method>GET</http-method>
              > <http-method>POST</http-method>
              > </web-resource-collection>
              > <auth-constraint>
              > <role-name>Engineer</role-name>
              > </auth-constraint>
              ></security-constraint>
              ><login-config>
              > <auth-method>FORM</auth-method>
              > <realm-name>MyRDBMS Realm</realm-name>
              > <form-login-config>
              > <form-login-page>../Login.jsp</form-login-page>
              > <form-error-page>../LoginError.jsp</form-error-page>
              > </form-login-config>
              ></login-config>
              ></web-app>
              >------------------------------ end web.xml ----------------------
              >Now i login in the default application that i have i link that takes
              >me to the
              >second app (the war); then i go to the default
              >app and i logout. When i logout i invalidate the session. but it
              > seems that the session is not getting invalided because i can
              >enter the default
              >
              >application and the war test application without login in.
              >If i do not access the test war application from the default application
              >the session
              >is invalidate and i get the login page.
              >I hope i am clear.
              >Thanks
              >Ibrahim
              >
              

Maybe you are looking for

  • How do I fix the below sync issue between iPhoto, iTunes, my iPad2/iPhones

    I am having this issue with iPhoto'11. I had the issue at one point in iPhoto '09 but eventually I fixed it but I don't know how. I was told it's a problem with my iPhoto library. Here's the problem: When syncing with either my iPad2/iPhone4/iPhone3G

  • [SOLVED] vi/vim/gvim rebuild from ABS failed

    Hi, tried to rebuild vi from source (to get rid of ruby dependence of vim,gvim by modifing PKGBUILD) and got this message. having patch file:7.2.166 having patch file:7.2.001-100.gz Number of patches does not match the patchlevel! Edit the PKGBUILD a

  • Invalid_JOBData = 3 in JOB_SUBMIT

    Hi Folks, I'm scheduling the job but while JOB_SUBMIT i'm getting Invalid_jobdata. I have searched in SDN for help but i could find any relevant answer to my issue. PARAMETERS: p_varian LIKE v_bicu-variant NO-DISPLAY                     DEFAULT 'JE_U

  • I want to Know the ID of Menu.

    Hi all,           I want to know the ID of all menus like Sales,Purchase,Production. by Suresh.G

  • No Drop down Calendar Window when entering a date for a new event.

    Hi Hope someone can help with this annoying problem. In ICal when entering the date for a New Event a little window would pop up showing the month that you were creating the event in, you could then click on the date you required in the calender and