Name of web module?

Hello, when I install aa application in BEA- Where is defined the name of the module?
Thanks in advance!

julio,
Hey I'm having the exact same problem when I add
<wls:container-descriptor>
<wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
</wls:container-descriptor>
to my weblogic.xml??? Did you ever get a resolution for this problem if so can you help me out.
Thanks,
Greg

Similar Messages

  • Can LR Web module converting file name hyphens into underscores be disabled

    Hi,
    I have problems when creating webpages from within LR.
    First I develop the RAW files and converts them to jpegs. Under Lightroom 3 I use the following settings under "Export location":
    Export to: Specific Folder
    Add to This Catalog: ticked
    Existing Files: Choose a new name for the exported file
    This is thus native Lightroom. For existing files the new filenames are generated with a hyphen follwed by a numeric suffix. as follows: for FileName.jpg this would be FileName-2.jpg, FileName-3.jpg.
    Afterwards I use the web module with the TTG Highslide Pro plugin to generate the webpages. For each image on the page there is a link to the original image to download it. It is here where a problem occurs. With the above mentioend naming convention (adding a hypen when files do already exist) there is no problem at all to display the photos nor as a tumbnail, nor in the slideshow.
    When trying to download the high resolution image however a problem occurs. The file can't be found. This is due to the hyperlink pointing to filenames like FileName_2.jpg and FileName_3.jpg. As the image itself is having a hyphen followed by a numeric suffix it can't be found when the link is pointing to that file using an underscore instead.
    So to me that's a little problem as I am not at the steering wheel at any of the two moments where a naming convention is applied; the automatic filename generation at time of export from Lightroom and the change of the hyphen to the underscore when generating the webpage.
    Any Idea how this can be solved? Or having an underscore used by the automatic naming in Lightroom, or using the hyphen (leaving the filename as it is) when generating the webpage with the LR web module.
    I posted that question already at the TTG forum and got the following respnse from Matthew: "Lightroom's Web module converts file name hyphens into underscores. It's not something I have any control over at all."
    Any help would be appreciated.
    Kind regards,
    Patrick

    I have the same problem in that filenames created with (for instance) photographer-place--year_month_day-filename.cr2 are exported by Lightroom 3.4.1 correctly, without change, into jpg versions, but TTG Highslide Gallery Pro (or, rather, Lightroom) forces a conversion eliminating the dashes and replacing them by underscores. TTG states on its website that this is unavoidable in the Lightroom web module, and recommends entering one's wishes in the "File Handling" tab within Lightroom Preferences.
    However, my LR preferences include the standard File Name Generation option "Replace illegal file name characters with: Dashes (-)" so this would indicate that a dash is not regarded by Lightroom as illegal and therefore should be left alone. As is in fact the case on a normal export from a raw cr2 to jpg: no change in Lightroom and therefore no problem. But export via LR via TTG causes an unwanted conversion from dashes to underscores.
    While searching the web I came across this old post http://thephotogeek.com/ttg-web-gallery-client-selections-lightroom/
    which mentions the question as a LR2 bug.
    I then exported a web gallery using LR's standard web template and here too all file names are converted from dashes to underscores, despite what is entered in LR's preferences. So my conclusion is that this remains a LR bug, and no fault of TTG.
    I am delighted with TTG and couldn't do without it, but am still stuck with this issue which shouldn't need to be an issue at all, if only LR would leave things alone.

  • Error in running a URL for Web Module Project with a JSP

    Hi Experts,
    I created a Web Module Project with name "WebModuleProject".
    I created a jsp file naming "test_jsp" inside it
    Then i created a Web Archive for it which resulted in a WebModuleProject.war file.
    I then created an Enterprise Module Project with name "EnterpriseWebModule"
    Then i linked the "WebModuleProject" whith this project.
    I created an EAR for this project.
    Deployed that EAR on to hte J2EE Engine.
    Now on applying the following url:
    <a href="http://server:port/WebModuleProject/test_jsp.jsp">http://server:port/WebModuleProject/test_jsp.jsp</a>
    i m getting the following error
    404 Not Found
    The requested resource /WebModuleProject/test_jsp.jsp is not available
    Details: File [WebModuleProject/test_jsp.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
    Please experts help me to dig out this problem
    Can anybody suggest me why i m getting this error? And how to resolve it???????

    Hi Saurabh,
    In SMICM transaction code we have to maintain the parameters in order to run the web report in the specified format.
    i am listing some parameters in the below, Please have a look and see whether it can help u out .....
    Services
    icm/server_port_0     = PROT=HTTP,PORT=8000
    icm/server_port_1     = PROT=SMTP,PORT=0
    HTTP settings
    icm/HTTP/max_request_size_KB   = 102400
    icm/HTTP/j2ee_0                = PREFIX=/,HOST=localhost,CONN=0-500,PORT=50000
    icm/HTTP/server_cache_0        = PREFIX=/, CACHEDIR=/usr/sap/BSD/DVEBMGS00/dat
       a/cache
    Misc
    icm/host_name_full             = cauvery.com
    icm/cancel_strategy            = cancel requests without session (stateless)
    rdisp/plugin_auto_logout       = 1800
    is/HTTP/virt_host_0            = :;
    is/SMTP/virt_host_0            = :;
    Once after maintain the parameters go and check in the SICF transaction code SAPBW---BEx + right click + test service. And check whether it is opening in the required URL path.
    Regards,
    Vara Prasad.

  • Content in a Web Module

    Hi,
    I am having a very irritating problem. I want to use a filter to transform some content however I do not want the content to have to be inside the .war archive.
    If I place the content in any other location the filter cannot be set to operate on it.
    If I place the content in the .war archive then every time a designer changes the content I have to rebuild and re-deploy the web-module.
    Any idea how I can either have content (which is not in a web-module) be accessed through a filter , or how I can have content appear in a web-module from some other location?
    Please help, this is a real show-stopper for our project. Thanks.

    I don't think filters are really the way to go about this, rather, create a servlet that handles requests something along these lines:
    void service(HTTPServletRequest request, HTTPServletResponse response) {
      // get document root, base directory for all the xml files
      String docRoot = request.getServletConfig().getParameter("docroot");
      // get the document name
      String path = request.getPathInfo();
      // do some checking on path to make sure it doesn't contain
      // '..' or anything like that, throw an exception if it does.
      // create a java.io.File object representing the file:
      File file = new File(docRoot, path);
      if (/*browser is IE6*/) {
        // open the file (using FileInputStream) and copy it to
        // request.getOutputStream()
      else {
        // pass the file through an xslt transformation that outputs
        // to request.getOutputStream()
    }If this servlet is bound to a context called "context1", and the servlet is bound to "xml", requests for eg. /context1/xml/dira/dirb/doc1.xml will result in request.getPathInfo() returning "/dira/dirb/doc1.xml", given that the servlet-mapping element in web.xml is specified correctly (use a wild card: /xml/*).
    And be warned, I just typed this in without trying to compile it, so it probably contains bugs!

  • Changing Virtual Copy Names in Web Gallery

    I have been creating web galleries in LR for clients for purposes of online editing. This hasn't been a problem until today when I was creating multiple copies of images using Virtual Copy. I realized when I create a web gallery the images with multiple versions all have the same name in the gallery. So there might be 3 versions of one image (a color, a BW, a sepia tone for example) with the same name.
    I.e., if I have an image called "001.cr2" that is full frame and then I create a virtual copy that is cropped, in the web gallery they are both called "001.CR2" instead of "001_01.CR2", or some such thing.
    I need some way for my client to differentiate btwn the two files during their online editing. Is there a way to do this without exporting the files and then re-importing to create the gallery?
    Thanks in advance.
    Ryan Donnell

    When you create the virtual copies specify unique copy names for them in the metadata, e.g., "bw", "sepia", etc.
    Then in the Web module in the Image Info panel, edit the title and/or caption fields to include the copy name as part of the filename or caption. Each image in the web gallery will then have a unique name tag to reference. If you don't want to use copy names (why not, they sure are useful for other things as well), Image # would also work.

  • Web modules don't get deployed to cluster instance directory

    Hi,
    I have a domain with one cluster, which has one instance. Sometimes (!), the web aplications I deploy don't get unpacked in the directory {instanceRoot}/applications/j2ee-modules but only in {domainRoot}/applications/j2ee-modules. When that happens, they don't work and I cannot access them through their URL.
    I deploy them using the web admin console, enable the to the cluster in question. Everything goes ok (or at least the UI says so) and in the domain.xml I have this:
    <web-module availability-enabled="false" context-root="/myapp" directory-deployed="false" enabled="true" location="${com.sun.aas.instanceRoot}/applications/j2ee-modules/myapp" name="myapp" object-type="user"/>
    <server...
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="myapp"/>
    <cluster...
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="myapp"/>
    In both the apps the were copied to the instance applications dir and in the ones that remained only in the domain applications dir (and do not work). In the latter, the location dir does not exist.
    Anyone has gone through any similar situation? This deployment process is a bit confusing for me, wrt instances, clusters, domains etc.
    Thanks!
    Jo�o.

    Thanks for the answer.
    But how is this mechanism controlled? Sometimes, the domain just doesn't seem to propagate the changes to the cluster instances (or stand-alone instances). For example, sometimes when I change a property of a data source through the admin gui of the domain, it does not get propagated to the desired instance config, even after restarting the whole system.
    I think that it may have something to do with the manual changes that I have to do sometimes in the domain.xml file (this is neede when you have huge config changes to be replicated in many servers).
    Is there any option to enforce the replication of the config from the domain to the instances? Or at least to make it verbose so that I can realize what is going on underneath.
    Thanks.

  • Importing WAR file into Web Module Project

    Hi,
    I am brand new to SAP and i'm trying to help out with a proof of concept for our SAP rollout.  I am trying to import a J2EE application that currently runs on WebSphere 5.1 and was developed using WSAD.  I found a blog on the SAP site and it gave a simple run down of how to Migrate from WebSphere application server to SAP Application Server.
    Here is the link: /people/community.user/blog/2007/03/06/migrating-application-from-websphere-application-server-to-sap-was
    The steps seem simple enough yet I am having issues trying to import my WAR file into my Web Module Project in Netweaver.
    Step 4 gives the following instructions: Create a WEB Module Project and import the WAR file.
    Unfortunately, they do not give more detail besides Import the WAR file.  When I try importing my WAR file, it adds the WAR file in my Web Content folder.  I was expecting it to extract all my java classes and my jsp files but this is not the case.  To do this, I right clicked on my Web Module Project while in the J2EE Explorer view and selected import file and selected my WAR.  I'm assuming this is not correct.
    Any help would be appreciated.
    Thanks,
    Phil

    Hi Phil!
    You don't need to create previously a web module to import the war then.
    I'm assuming you're using NWDS (Netweaver Developer Studio). Try this. In NWDS: File -> Import... ->
    then, select "WAR file". After that, you need to inform the path of you WAR file and automatically it will fill in the name of your project, that you can change if you desire. After that, click in Finish and it's all.

  • Need help using WEB module in Lightroom 2 for .mac/mobile me accounts

    Hello,
    I need help in finding the Server path information for Lightroom 2.  I am trying to use the Web module of Lightroom and build a website and instead of going through another hosting service, I want to use my Mobile ME account, can't I do that?
    I have the user name and password obviously but what is the server path, protocol, path?
    Help please!
    Thanks
    Ray

    For those Mac Users using iWeb, MobileMe, and Lightroom 2, here are step-by-step instructions on how to create a web gallery in Lightroom, upload the gallery to MobileMe, and finally, how to link the uploaded files to the wesite you created in iWeb.
    1. In the Lightroom Library module, create a collection of photos you want to display in your web gallery.  For illustration purposes, we will call your collection Sunsets.  Once created, it will be listed under Collections in the left panel of Lightroom.
    2. Switch to the Lightroom Web module and select the Sunsets collection (from the panel on the left of the screen.)
    3. Chose whichever template you like (from the list of Templates in the left panel).
    4. Fine tune the appearance of the gallery using the controls in the right hand panel of Lightroom 2.
    5. When you are satisfied with the gallery’s appearance, use your keyboard to type Command-S.  That will save your template settings (give it a unique name when saving).
    6. Open up Finder on your Mac.  Inside your username folder, create a new folder… I'll call it Web Files.  (You can choose any name you like, and locate the file anywhere on your Mac HD.)  You have just created the folder username/Web Files.
    7. Back in the Lightroom Web module, chose Export, at the bottom of the right panel, and export your gallery to the folder you just made (e.g. export to username/Web Files).  By doing so, you will have created /username/Web Files/Sunsets.
    8. Once again open Finder on your Mac.  Go to /username/Web Files/Sunsets and you will see 3 files in the Sunsets folder: bin, index.html, and resources.
    9. Open a second Finder window and in it, click on your iDisk icon.  You will soon see all of the files on your iDisk.
    10. In iDisk, click on the folder called /Web.  You will now see the /Sites folder inside the /Web folder.  I.e., /Web/Sites.
    11. Drag the Sunsets file from your Mac HD to the /Sites folder on your iDisk.  E.g, drag Sunsets from /username/Web Files/Sunsets on your Mac HD to the /Sites folder in iDisk /Web/Sites.  The Sunsets folder (and the three files it contains) will now upload to your iDisk on MobileMe.
    12. Open iWeb on your Mac. Add a new page to your website.  Call it “Galleries,” or anything you like. (You can also use an existing page if you wish.)
    13.  On that “Galleries” web page (or on an existing web page), create a picture icon, or a word, or a symbol, or anything else that you will activate as a hyperlink to your iDisk web files - specifically, you will link it to the Sunsets folder you just uploaded to iDisk.
    14. Activate the hyperlink in iWeb’s Inspector.  In the URL box, type:
    http://web.me.com/username/Sunsets  (Don’t forget to substitute your name for “username” and the name of your gallery for “Sunsets.”)
    15. Save your website in iWeb, and then publish your site.
    You will NOT see your gallery in iWeb – you will see only the link to the gallery that you uploaded to iDisk..  To view your gallery, either make hyperlinks active, using the Inspector in iWeb and click on he link to the gallery, or visit your website on the internet.  If you want to edit your gallery, you will have to do that in Lightroom… then repeat steps 7 – 11.  You cannot edit your gallery in iWeb, but you can use iWeb to change the appearance of the link to your gallery, or to change it’s location within your website.

  • Web module generator: conditional formatting

    Hi,
    I'm trying to generate the following behaviour in a web module. There is a status code in the table and I want it to be colored red when status = 'error' and green when status = 'running' else standard color. The item property "Formatting" can't do this conditionally. Is there a way to do the trick using application logic ? It should be done server side in PL/SQL but there are no item level PL/SQL events. And on module component level I don't know how to formulate the code using WSGFL. Client side JavaScript seems not to be apt, isn't it ?
    any help appreciated
    regards
    Thomas Dombrowski

    The trick to this is to write your own server-side function. I have one called HIGHLIGHT in my LOCALWEB package, which you can get at http://www.smdi.com/employee/JohnF/sourcecode/localweb.zip. This takes three arguments, the condition for whether to apply the highlighting, the field or text to be highlighted, and an optional parameter to specify the highlight - a color or text style like bold or italic. The default is to conditionally put &lt;strong&gt; tags around the text.
    You will need to add the package name to the list in the PKGLST preference. Look this up in the Design Editor's help, if you don't know how this works.

  • Error in running web module

    Hi,
    I have a problem with my project. I have created a J2EE project. The EJB module contains required Entity beans, session beans and a message driven bean. The Web module conatin jsp and servlets. All files are error free. When i build the project it shows "build successful" When i run web module (index.jsp) it starts teh browser, but displays the error message "*HTTP - 503 Required service not available*". I'm using Glassfishv2 server. What is this error and how to fix it? Also i have a sequence generator in entity beans. j'm using oracle 9i database. Please help me to solve this. It is very urgent.
    I have another question. How can i create a JFrame view class to my application client module. When i tried to create one it generated a main(0 class also in it. But i have a main class already.
    I am using NetBeans 6.5.1. Please help to resolve this. Thanks in advance.

    Save your form before you run it, and save it to a directory without a space in the name.

  • Web Module: Flexible Browser Preview

    It would be really useful to be able to select different browser to preview web gallery output from within LR, rather than be stuck with the default browser popping up each time I click the "Preview in Browser" button in the Web Module.
    Different browsers can give different results, and I always feel the need to test how Firefox, Opera and the old IE X for Mac will handle output, as well as my default (Safari). Currently, this means going into Safari's Prefs to switch defaults, or exporting and using "Open with..." on the index.html file. Neither option is very efficient...
    Maybe an Alt + Click on the Preview in Browser button could give a choice of browser??

    Rick -
    I tried republishing it in a different output name and I
    still had the same issue.
    I'm pretty sure it has something to do with the click boxes
    because I erased the first project I did and started from
    scratching, thinking I might have corrupted the file. It worked
    fine until I inserted the click boxes. I also took another demo I
    created without the click boxes. Once I added the click box and
    tried to preview it in Web Browser mode it started to freeze after
    the first slide.
    I don't understand why others can view the published version
    on their computers but I can only view it in Captivate preview
    mode.
    I also tried reinstalling Captivate and that didn't help.
    Any other suggestions?
    Thanks so much!

  • JAAS + Sun Application Server 9 + Enterprise app Web Module

    Hi!
    I've got a little problem with JAAS in enterprise application (with web module): i've configured SAS 9.0 with my custom security realm. I've 2 classes - one extends AppservPasswordLoginModule and the other one extends AppservRealm. In app-server-domain-dir/config/login.conf i've configured my login module. In SAS -> configuration -> Security -> Realm i've added new entry for my realm (and provide it with my realm class name).
    In configuration of my enterprise application (sun-application.xml) i've a security realm and roles configured.
    Now: everything works fine, if the authentication to my application is done by a jsp file with:
    <form action="j_security_check">
    <input type="text" name="j_username">
    <input type="password" name="j_password">
    </form>
    But i need to implement authentication in a servlet, so i've done this (in servlet):
    LoginContext lc = new LoginContext( NAME, new WebCallbackHandler(username, password);
    lc.login();
    Problem is: if i specify NAME as a name form domain-dir/config/login.config it throws an exception: LoginException: No credentials.
    If i specify NAME as a name from SAS configuration -> security -> realm name, it throws an exception: LoginException: No LoginModules
    Now i'm really confused... anyone has an idea?
    Thanks!

    Hi!
    I've got a little problem with JAAS in enterprise application (with web module): i've configured SAS 9.0 with my custom security realm. I've 2 classes - one extends AppservPasswordLoginModule and the other one extends AppservRealm. In app-server-domain-dir/config/login.conf i've configured my login module. In SAS -> configuration -> Security -> Realm i've added new entry for my realm (and provide it with my realm class name).
    In configuration of my enterprise application (sun-application.xml) i've a security realm and roles configured.
    Now: everything works fine, if the authentication to my application is done by a jsp file with:
    <form action="j_security_check">
    <input type="text" name="j_username">
    <input type="password" name="j_password">
    </form>
    But i need to implement authentication in a servlet, so i've done this (in servlet):
    LoginContext lc = new LoginContext( NAME, new WebCallbackHandler(username, password);
    lc.login();
    Problem is: if i specify NAME as a name form domain-dir/config/login.config it throws an exception: LoginException: No credentials.
    If i specify NAME as a name from SAS configuration -> security -> realm name, it throws an exception: LoginException: No LoginModules
    Now i'm really confused... anyone has an idea?
    Thanks!

  • Web Module Deployment Problem with Weblogic [Deployer:149026]

    Dear Friends,
    I've been facing a problem during deploying an Web Module on Weblogic 8.1. The name of my webmodule is 'MyOraWebModule'.
    When I first developed, deployed and tested it in Weblogic 8.1, it was deployed and worked fine. But on the next day, when I tried to redeploy it, the deployment failed. This thing not just happens only once.. it is happeing always i.e. if I develop a new webmodule and deploy/redeploy it, it will work fine ONLY ON THE FIRST DAY (i.e. the day when the web module is created), but on the next day, it shows the following error if I try to redeploy it. The error is:
    Task 3 failed: [Deployer:149026]Deploy application MyOraWebModule on myserver.
    Deployment failed on Server myserver
    Exception:weblogic.management.ApplicationException: prepare failed for MyOraWebModule
    Module: MyOraWebModule Error: Context path 'MyOraWebModule' is already in use by the module: MyOraWebModule
    Any suggestion or, guideline from you will be highly appreciated.
    With Thanks,
    ... Chisty

    Not sure if you are still looking for the answer. I have a similar problem, I have a work around on it but still trying to identify what the issue is. I have deployed multiple web application modules on weblogic 8.1 and on the redeploy I was gettig the exception weblogic.management.ApplicationException: prepare failed for USER_DEFINED_MODULE_NAME
    Context path '/' is already in use by the module. when this exception is thrown I observed that the targets attribute of tag WebAppComponent is initialized to the server name. If I stop the server, make the value of the targets attribute to be empty string in config.xml and start the server, the server starts fine. And I could continue. Not sure why this is so since the targets attribute is used to identify on what servers the application needs to be deployed.
    Any input on why the weblogic 8.1 is behaving this way when the targets attribute is defined with a value would of great help.
    thanks,

  • Web Module / Collections?

    Is There anyway To Import Multiple Collections Seperated By the First Image In each Collection Show as its own section in the Web Module?
    Take the first Image Of the Collection? Than when you click on that Collection. It shows all the images within that collection?
    A Index Of the Images you want to show on the web?
    If anyone can help thanks.

    All I did was create a collection in Library by Create Collection and give it a name.
    Then drag the photos I want to that collection, then go to the Web module and they are not in the collection there, I need to do a Sort by Name or Sort by Kind and they then appear.

  • Web Module still referenced in App Server even though deleted

    I am trying to test a servlet.
    I created the servlet in the same module as my jsp.
    A previous web module that contained this servlet was unmounted, deleted and undeployed from the IDE/Appserver.
    But when I run the jsp, the address bar still shows the old module name and path for that servlet.
    How do I get rid of this problem?
    Thanks.

    If "the address bar still shows" means your browser
    probable reason is that information cached and you see old data.
    Try to clear browser's cache or/and restart application server.

Maybe you are looking for