OEPE Application Client Project doesn't contain the required classes

Greetings,
I'm creating a full Enterprise Application Project containing an EJB project and an Application Client project. I'm adding a simple SLSB to the EJB project and the hole project deploys correctly. Now, I'm modifying the Application Client project's Main class in order to call the SLSB. The first thing I'm noticing is that the Application Client project doesn't compile as the referenced SLSB is not known. In order to solve that I need to go into project properties, Java Build Path page, projects tab, and add a refernce to the EJB project. This is not normal as an Application Client project should have all the required references to the components it is a client. Now the application client project compiles but the deployment fails with the following exception:
<23 avr. 2009 13 h 33 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1240486388461' for task '57'. Error is: 'weblogic.application.ModuleException: Exception activating module: EJBModule(ww205EJB.jar)
Unable to deploy EJB: Facade from ww205EJB.jar:
fr/simplex_software/slsb/Facade_7ky0ac_FacadeRemoteIntf
weblogic.application.ModuleException: Exception activating module: EJBModule(ww205EJB.jar)
Unable to deploy EJB: Facade from ww205EJB.jar:
fr/simplex_software/slsb/Facade_7ky0ac_FacadeRemoteIntf
     at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:493)
     at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
     Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: fr/simplex_software/slsb/Facade_7ky0ac_FacadeRemoteIntf
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
     Truncated. see log file for complete stacktrace
The class fr/simplex_software/slsb/Facade_7ky0ac_FacadeRemoteIntf is the RMI stub od the SLSB. Adding the SLSB ejb-jar to the Application Client project MANIFEST.MF Class-Path doesn't change anything.
Many thanks in advance for any help.

Yes, an Application Client needs RMI stubs. appc command does that but it's difficult to be used in Eclipse (OEPE). I wrote a script like that:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build-project" name="ww204-ejb">
<property name="jpa.project" value="../ww204-jpa"/>
<target name="build-project">
<echo message="${ant.project.name}: ${ant.file}" />
<taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
<wlappc source="build/classes" forceGeneration="true" deprecation="true">
<classpath>
<pathelement location="${jpa.project}/build/classes"/>
</classpath>
</wlappc>
</target>
</project>
and I added to the EJB/JPA WTP project a new ant builder to run this script at each build. The script generates the RMI stub in the project's output folder which is on the Application Client project's CLASSPATH. It works in general but there are still uncomprehensible problems sometimes.
Kind regards,
Nicolas

Similar Messages

  • Publishing server doesn't work - error 'The request URL doesn't contain the query string for the client OS'

    Hi,
    I'm trying to setup an App-V environment in my lab.
    I've used the App-V 5.0 Trial guide to help me configure all necessary components.
    I'm able to install everything without error.
    when come time to publish an app, it simply doesn't show up on my client.
    after looking at events on the client and server, I found that the Publishing server is returning under Admin the following message.
    'The request URL doesn't contain the query string for the client OS'
    My setup is pretty simple.
    App-V Server managament and Publishing on the same box
    App-V database on my SQL server.
    I'm able to see the publishing "webpage" by using http:://localhost:889.
    It only display this :
    -<Publishing Protocol="1.0"
    <Packages />
    </Publishing>
    I've published one app from the management console.
    any idea what could mean this error?
    thanks

    Hi,
    thanks for the link.
    I've validated the suggested debug steps. It seems that the problem is with my Publish server again.
    I've looked in the web.config file. It seems to be missing some parts compare to the example provided.
    Again, I've published an application from the management console. Management and Publishing are running on the same box, while SQL is remote.
    Here's the web.config
    <?xml version="1.0" ?>
    - <configuration>
    - <system.web>
    <compilation debug="false" targetFramework="4.0" />
    <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" />
    - <authentication>
    - <!-- We don't support form authentication, but this will supress x-ray security warning
    -->
    <forms requireSSL="true" />
    </authentication>
    </system.web>
    - <system.webServer>
    - <modules runAllManagedModulesForAllRequests="true">
    <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </modules>
    - <security>
    - <requestFiltering>
    - <verbs>
    <remove verb="GET" />
    <add verb="GET" allowed="true" />
    </verbs>
    </requestFiltering>
    </security>
    </system.webServer>
    - <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    + <behaviors>
    - <serviceBehaviors>
    - <behavior name="">
    <serviceAuthorization impersonateCallerForAllOperations="true" />
    <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    - <bindings>
    - <webHttpBinding>
    - <binding name="SecureBinding">
    - <security mode="Transport">
    <transport clientCredentialType="Windows" />
    </security>
    </binding>
    <binding name="UnsecureBinding" />
    </webHttpBinding>
    </bindings>
    - <protocolMapping>
    <add scheme="http" binding="webHttpBinding" bindingConfiguration="UnsecureBinding" />
    <add scheme="https" binding="webHttpBinding" bindingConfiguration="SecureBinding" />
    </protocolMapping>
    - <standardEndpoints>
    - <webHttpEndpoint>
    - <!--
    Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
    via the attributes on the <standardEndpoint> element below
    -->
    <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />
    </webHttpEndpoint>
    </standardEndpoints>
    </system.serviceModel>
    </configuration>

  • When trying to upload a MS word file (.docx) to gmail, it uploads into a folder that doesn't contain the original document when i try to download it from e-mail.  how do i solve this?

    when trying to upload a MS word file (.docx) to gmail, it uploads as a 'folder' that doesn't contain the original document when i try to download it back from the e-mail.  how do i set the format to simply upload the document itself???  Thanks...

    Yes, excuse me. attach a file.  I have separate folders on my desktop to organize my word documents, so I'm guessing this might be a part of the problem.  When I go to attach one of these documents into gmail, the resulting attachment is another folder icon (not the original organizational folders) with 4 subfolders containing a slew of .xml files reading things like "header.xml" "format.xml" "settings.xml" "style.xml" "contenttype.xml" There are also a few .jpegs and a small folder reading "word" as one of the subfolders.

  • T.code FEBC: the repport list doesn't contain the report RFEBIT00

    Hi All,
    when I launch the t.code FEBC, SAP provides me a list of report among which I've to choose the one I need.
    But the list doesn't contain the report RFEBIT00..... How to add it to the list?
    Thanks
    Gandalf

    Hi,
    Please do coordinate with your technical consultant(ABAP) for the reolution.

  • My itunes app was working fine then all of a sudden I'm getting an error - The Itunes application could not be opened.  The required folder cannot be found.  But it doesn't tell me what folder.

    I am using Windows Vista.  My itunes launched fine until now.  Now I get an error - "The Itunes application could not be opened.  The required folder cannot be found".  I have no idea what file it is looking for.  Has anyone seen this error? 
    I have also tried to uninstall the package and I get the error Could not access network location %APPDATA%\.  And it won't uninstall.  I don't know why it's complaining in both cases. 
    Itunes was working 3 weeks ago with no problem.
    HELP!!! 

    hey did u ever get you itunes fixed?

  • [svn:fx-trunk] 16929: Add a [Mixin] class that will register the required class aliases in the event the mxml compiler generation   [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework .

    Revision: 16929
    Revision: 16929
    Author:   [email protected]
    Date:     2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
    Log Message:
    Add a class that will register the required class aliases in the event the mxml compiler generation  [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
    Add a reference to this class in the RPCClasses file so it always gets loaded.
    QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
    Bugs: Watson bug 2638788
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as

    Great exercise to document the problem like this.  It got me thinking about how an app with modules would be different from an app that does not use modules.  Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked.  I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.

  • David Powers Lesson10 - 'doesn't meet the requirements for an image'

    Hi,
    I have a  problem to upload image in lesson10. It always show the error message of 'doesn't meet the requirements for an image' even the image size, width and height meet the validation. Below is upload_images.php
    My upload file size is 160K with width 640 pixels and height 480 pixels. Please help. Thank You.
    upload_images.php
    <?php
    $uploader = new Zend_File_Transfer_Adapter_Http();
    $uploader->setDestination($destination);
    $uploader->setOptions(array('ignoreNoFile' => TRUE));
    $files = $uploader->getFileInfo();
    $filenum = 1;
    foreach ($files as $file => $info) {
      $file = "photo{$filenum}";
      $caption = $_POST["caption{$filenum}"];
      if (isset($_POST["place_id{$filenum}"])) {
        $place_id = $_POST["place_id{$filenum}"];
      } else {
        $place_id = NULL;
      $filenum++;
      if ($uploader->isUploaded($file)) {
              $filename = $uploader->getFileName($file, FALSE);
              $uploader->addValidator('Size', FALSE, '500kB');
              $uploader->addValidator('MimeType', FALSE, 'image');
              $uploader->addValidator('ImageSize', FALSE, array('minheight' => 50, 'minwidth' => 100));
              if (!$uploader->isValid($file)) {
                $errors[$filename] = "$filename doesn't meet the requirements for an image";
              } else {
                $no_spaces = str_replace(' ', '_', $filename, $renamed);
                $uploader->addValidator('Extension', FALSE, 'gif, png, jpg');
                $recognized = FALSE;
                if ($uploader->isValid($file)) {
                        $recognized = TRUE;
                } else {
                        $mime = $uploader->getMimeType($file);
                        $acceptable = array('jpg' => 'image/jpeg' ,
                                                                          'png' => 'image/png',
                                                                          'gif' => 'image/gif');
                        $key = array_search($mime, $acceptable);
                        if (!$key) {
                          $errors[$no_spaces] = "$filename is an unrecognized image type";
                        } else {
                          $no_spaces = "$no_spaces.$key";
                          $recognized = TRUE;
                          $renamed = TRUE;
                if ($recognized) {
                        // get the names of existing files
                        $existing = scandir($destination);
                        // check if the name of the uploaded file is in the array
                        if (in_array($no_spaces, $existing)) {
                          // get the position of the final period
                          // use it to get the base name and extension
                          $dot = strrpos($no_spaces, '.');
                          $base = substr($no_spaces, 0, $dot);
                          $extension = substr($no_spaces, $dot);
                          // initialize a counter
                          $i = 1;
                          // use a loop to add the counter after the base name
                          // check whether the new name exists in the array
                          do {
                                  $no_spaces = $base . '_' . $i++ . $extension;
                          }  while (in_array($no_spaces, $existing));
                          // set $renamed to TRUE
                          $renamed = TRUE;
                        $uploader->clearValidators();
                        $uploader->addFilter('Rename', array('target' => $no_spaces, $info['tmp_name']));
                        $success = $uploader->receive($file);
                        if (!$success) {
                          $errors[$no_spaces] = implode('. ', $uploader->getMessages());
                        } else {
                          $uploaded = "$filename uploaded successfully";
                          if ($renamed) {
                                  $uploaded .= " and renamed $no_spaces";
                          $images[] = array('filename' => $no_spaces,
                        'caption'  => $caption,
                        'place_id' => $place_id);
                          $messages[] = $uploaded;

    I solved it finally. For your infor, I'm using php version is 5.4.3 and MAMP 2.2. Here are the changes:
    1) Open php.ini
        Look for 'extension=php_fileinfo.dll' and remove ;
    2) Download GNU file package for windows from http://gnuwin32.sourceforge.net/downlinks/file-bin-zip.php.
        Extract the zip file.
    3)  Copy 2 file from the extract folder ../share/file/magic and ../share/file/magic.mgc and paste in folder php/extra/magic
         folder. (Create the magic folder as new folder).
    4) Stop MAMP all services and start services again.
    This will work for you !

  • When i generate abap sproxy, it doesn't generate the abap class.

    hi all :
    When i generate abap sproxy, it doesn't generate the abap class. can you tell me the reason and how to work out this issue? thanks
    Monson

    Monson,
    Check this weblog and see the steps whether you are doing right or not:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Regards,
    ---Satish

  • Time Machine: I just found out that my backups doesn't contain the Applications folder anymore!

    I take backups manually, irregularly, with Time Machine. Sometimes twice or thrice a day, sometimes much more seldom, and I recently found out that none of my backups since early June contain the Applications folder anymore.
    (This caused a bit of a crisis, since the new upgrade of 1Passport demands that you delete the old version first - and when trying to open the new version I get the message: File corrupt, download again (or something equivalent), over and over again. So now my only option seems to be to use a version from early June, without many of my new passwords).
    I've searched all help foras I've found, without coming across this issue - and no, I have not put the Applications folder in Time Machine's omit-panel.
    This problem has probably come into existence during an upgrade of OSX 10.8 in early June this year.
    So, if anyone could help, I'd be very grateful. How can the Applications folder suddenly stop to be backup'ed - and what to do with it??
    Sincerely,
    John Fridlund
    Oslo, Norway

    I know of at least two things that can cause this.
    1) 
    It may be working but you need to be patient.
    When I look back in time at my Applications Folder it often looks blank.
    I wait a minute or two and then it populates the folder.
    So try this simple test.
    > Go > Applications
    > Enter Time Machine
    Click back in time.
    Go get a cup of coffee.  Enjoy it for a minute or two.
    2)
    If the apps do not reappear when you are patient try this:
    You may have parameters set that exclude the applications folder.
    This happened to me once, even though I never set this parameter.
    > System Preferences > Time Machine
    Click on the padlock if it is closed.
    > Options
    Check if it is excluding any things other than the backup volume.
    If so remove them by selecting them an clicking on the minus sign.
    Run a backup and check that the applications were really backed up repeat the steps above.

  • I unable to run ejb with application client using oc4j j2ee container

    Hi,
    I have installe oracle9i (1.0.2.2) oc4j j2ee container.
    I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
    See the client application is :
    public static void main (String []args)
    try {
    //Hashtable env = new Hashtable();
    //env.put("java.naming.provider.url", "ormi://localhost/Demo");
    //env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.SECURITY_PRINCIPAL, "guest");
    //env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //Context ic = new InitialContext (env);
    System.out.println("\nBegin statelesssession DemoClient.\n");
    Context context = new InitialContext();
    Object homeObject = context.lookup("java:comp/env/DemoApplication");
    DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
    System.out.println("Creating Demo\n");
    Demo demo = home.create();
    System.out.println("The result of demoSelect() is.. " +demo.sayHello());
    }catch ( Exception e )
    System.out.println("::::::Error:::::: ");
    e.printStackTrace();
    System.out.println("End DemoClient....\n");
    When I am running client application I got this type of Exception
    java.lang.SecurityException : No such domain/application: sampledemo
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
    at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
    at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
    at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
    at com.evermind.server.Application.createContext(Application.java: 653)
    at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
    at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
    at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
    at javax.naming.InitialContext.init(InitialContext.java : 222)
    at javax.naming.InitialContext.<init>(InitialContext.java : 178)
    at DemoClient.main(DemoClient.java : 23)
    .ear file is copied into applications directory.
    I have configured server.xml file like this
    <application name="sampledemo" path="../applications/demos.ear" />
    demos.ear file Contains following files
    application.xml
    demobean.jar
    Manifest.mf
    demobean.jar file contains following files
    application-client.xml
    Demo.class
    DemoBean.class
    DemoHome.class
    ejb-jar.xml
    jndi.properties
    Mainifest.mf
    Please give me your valuable suggestions. Which are shall i configure .
    Thanks & Regards,
    Badri

    Hi Badri,
    ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
    For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
    Also please check ur server.xml
    Since you have specified your ejb domain as "sampledemo"
    you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
    Code snippet for the same is :
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
    env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext (env);
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Retention line doesn't contain the VAT code in the invoice lines.

    Hi,
    I am facing a problem where in invoice with the retention doesn't carry a VAT code in the invoice line level details.Though there are other draft invoices which contains the VAT code for the retention line.
    I have checked the Billing Setup-->Retention-->Output Tax Code.It contains a VAT code which is visible for all the other draft invoices which have retention.
    I have also checked the Tax codes defined in the Project Implemnetion options.
    These were the two things which I found from the user guide.
    Can somebody guide me if I am missing out something?
    Thanks,
    Tanvi

    Hi,
    According to your description, my understanding is that the print function of IE8 doesnot print the whole content of SharePoint list item.
    For troubleshooting your issue, please turn off Protection Mode for the IE8.
    You can refer to the thread:
    https://social.technet.microsoft.com/Forums/en-US/b8ab8f65-9b27-4a90-9323-0ca5b7e4466e/print-preview-print-of-web-pages-doesnt-work-in-ie8?forum=w7itproperf
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • JRE doesn't find the main class inside a JAR archive file

    Hello everybody,
    I've written a small application in Java, using NetBeans. Running my application inside NetBeans works fine, but I can't run it from the console or by double clicking the jar file.
    Running it from the console I get the following error message:
    java -jar TestApplication.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: tst.Benchmark
       at gnu.java.lang.MainThread.run(libgcj.so.81)
    Caused by: java.lang.ClassNotFoundException: tst.Benchmark not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:TestApplication.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
       at java.net.URLClassLoader.findClass(libgcj.so.81)
       at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.81)
       at java.lang.ClassLoader.loadClass(libgcj.so.81)
       at java.lang.ClassLoader.loadClass(libgcj.so.81)
       at gnu.java.lang.MainThread.run(libgcj.so.81)I know that these errors often come when the class path is not set in the right way, and using a single java file, you can fix this by passing the parameter "-cp ."
    I tried this with the jar file but it does not work and using "-cp TestApplication.jar tst/Benchmark" didn't work either.
    Inside the jar file I have the META-INF Folder and a "tst" Folder which contains all my class files. And I've set tst.Benchmark as the main class, this also stands in the manifest file correctly.
    Do you have any ideas what could be wrong?
    Greetings JavanianGuy

    This line
    at gnu.java.lang.MainThread.run(libgcj.so.81)says that you're using GNU's Java, not Sun's Java. They are not the same. GNU Java is incomplete.
    You'll need to ask this question at the GNU Java site.
    Recommendation: Use Sun's Java

  • My derived class suddenly doesn't recognize the parent class

    I had my assignment coded, debugged, working and ready to go. So I bring my flash drive upstairs to play around with it on my other computer. When I compile the base class it compiles fine, but now when I try to compile the derived class, and the test class with the main method, I'm coming up with errors.
    They have something to do with the base class not being recognized, because I can't instantiate any objects of the class now, and i get an error when attempting to compile the derived class to the effect of "cannot find symbol; symbol: class BaseClass". i get this error throughout the derived class, from the initial declaration of the class (public class DerivedClass extends BaseClass), to any references made toward methods of the parent class.
    My base class compiles with no problem, but it's like nothing else is able to "use" it. I'm not sure if it has something to do with the PC im using now, and I can't confirm this at the moment because the PC I used to write the code is down (waiting on an upgrade).
    ehhh.....help.
    Message was edited by:
    asphaltninja
    null

    It's not the fault of the computer hardware.
    It's not the fault of the operating system.
    It's not the fault of the JDK.
    So don't go rebooting or reinstalling anything. The problem is that you didn't set up things on the new computer in the same way they were set up on the old computer.
    In particular the compiling problem is that the compiled version of BaseClass isn't in the classpath when you try to compile DerivedClass. I can't tell why from your description.

  • I just downloaded Aperture 3.4.1 and now when I try and launch the application i get a warning that the video card doesn't meet the requirements.  I can't find any vieo card requirements for Aperture.  is this another bug?

    I had problems with Aperture 3.4.1.  It was telling me that my video card isn't supported.  Funny thing is I was using it earlier today.  I trashed the application and downloaded it again.  Now it hangs up and won't load or I get the occasional note that the graphics card doesn't meet requirements.

    All,
         One last trip to the well today and seems llike it is resolved.  The end fix was to create a new user account and then drag my data over from my existing user account.  It seems that there was something within my existing user library that was currupting Aperture causing it to fail to at launch.  Couldn't figure out what exactly, but this seems to have done the trick.  Now i have been working for the better part of the day in a stable manner.  I will update in another day assuming all is well.  Good luck if you have this problem it is a total pain in the a**.

  • Protected WebResource access granted even though user doesn't have the required role

    Apologies in advance - this must be a real newbie question, but I've read thru
    alot of documentation/newsgroup info and haven't found the answer.
    I'm using WL 7.0 SP1, and deploying an exploded web-app. (contents in attached
    Login.zip). The web.xml defines a single protected web-resource (/yeslogin.jsp)
    and a single role (PortalUser).
    I've got a realm configured with all the Default* providers, and have defined
    a user, a group, and the PortalUser role that hooks them together.
    If I do not check the Security->Realms->myrealm->General->"Ignore security data
    in deployment descriptors" checkbox, my user never seems to be associated with
    the role I've defined. (I can see this from the output of the DefaultAuditor set
    to INFORMATION severity) when access control checks are done - so I always get
    a 403 (Access denied).
    If I do check the "Ignore security data in deployment descriptors" box, reboot
    WL and re-deploy my web-application then the audit trail does show that my user
    is associated with my role, and I am able to run the application.
    The problem is, when configured this way if I have another user who does not have
    that role, they are also able to use the application. The DefaultAuditRecorder.log
    file show that the "Role Manager Audit Event" for checking access to the protected
    resource has been invoked, but then the status is SUCCEED!?!?!
    Any pointer to what I've done wrong, or the docs that tell me how to do this right
    would be WAY appreciated.
    This same web-application works across a range of various J2EE 1.3 compliant web-containers,
    but I have not figured out how to configure WL 7.0 to let it work.
    [Login.zip]

    I tried your web app and it worked for me. I hit the URL that you protected:
    http://localhost:7001/login/login_page.jsp
    Logging in as a bad users popped up your error page.
    Logging in as a users in the PortalUser role ( I changed that to a role I
    already had) let me hit the
    your login page.
    One thing. Usually, you let the users hit your protected page and you let
    the web container do the work and pop
    up your login form instead of you programmatically sending them to the login
    page. If you change web.xml to:
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>myrealm</realm-name>
    </login-config>
    It will just pop up the browsers dialog.
    Also, don't check the "ignore security data in deployment descriptors". In
    your case you ARE using the deployment
    descriptor.
    BTW. I can ONLY get web app deployment descriptor security to work in WLS
    7.0 sp1 and CAN NOT get the
    console web app security policy to work! I have an unanswered post on this.
    See the post:
    Console based web app security
    "Dave Clegg" <[email protected]> wrote in message
    news:[email protected]...
    >
    Apologies in advance - this must be a real newbie question, but I've readthru
    alot of documentation/newsgroup info and haven't found the answer.
    I'm using WL 7.0 SP1, and deploying an exploded web-app. (contents inattached
    Login.zip). The web.xml defines a single protected web-resource(/yeslogin.jsp)
    and a single role (PortalUser).
    I've got a realm configured with all the Default* providers, and havedefined
    a user, a group, and the PortalUser role that hooks them together.
    If I do not check the Security->Realms->myrealm->General->"Ignore securitydata
    in deployment descriptors" checkbox, my user never seems to be associatedwith
    the role I've defined. (I can see this from the output of theDefaultAuditor set
    to INFORMATION severity) when access control checks are done - so I alwaysget
    a 403 (Access denied).
    If I do check the "Ignore security data in deployment descriptors" box,reboot
    WL and re-deploy my web-application then the audit trail does show that myuser
    is associated with my role, and I am able to run the application.
    The problem is, when configured this way if I have another user who doesnot have
    that role, they are also able to use the application. TheDefaultAuditRecorder.log
    file show that the "Role Manager Audit Event" for checking access to theprotected
    resource has been invoked, but then the status is SUCCEED!?!?!
    Any pointer to what I've done wrong, or the docs that tell me how to dothis right
    would be WAY appreciated.
    This same web-application works across a range of various J2EE 1.3compliant web-containers,
    but I have not figured out how to configure WL 7.0 to let it work.

Maybe you are looking for

  • Asset PO

    We are trying to post a PO for an asset acquisition.  However, MM consultant says that in addition to the Asset master, a material master is also needed for the asset for posting the PO from MM Side.  Is this correct ?

  • Cannot install flash player due to internet explorer

    I am running Windows 7 and Internet Explorer 10. I have disabled activeX filtering, made sure scripting was enabled, and temporarily shut off my antivirus software as instructed by Adobe website. None of these things have fixed my problem. I try to d

  • IN Clause with Ampersand(Lexical Parameters) not working plz help

    hi I m writing the following query but it is not working. plz help how can i apply ampersend(lexical parameter) with IN clause. select * from emp where to_number(empno) IN (&p_1); thnx

  • Find RANGE of Data

    Hi, I have data for which i need to prepare range script. Sample data is col1 1 11 2 3 B C B12 c1 C123 c2 c3 I need to prepare a script to dispaly the data in the following manner val('1','3'); -- since 1,2,3 are in range so 1 to 3 val('11'); -- sinc

  • Clarification on Btrfs Subvolumes

    Howdy-ha, folks.  So, I just got myself a new Western Digital Advance Format HDD for my laptop.  While I first considered cloning my current drive, I decided instead to just reinstall by backing up/restoring the pacman cache, first formatting the dri