Non web Resources having classes and lib folders

Hi experts ,
After going through this link
http://help.sap.com/saphelp_nw70/helpdata/EN/bb/1bb8428e05c86ae10000000a155106/content.htm?frameset=/EN/ea/73b8424605b611e10000000a155106/frameset.htm&current_toc=/en/1f/4554426dd13555e10000000a1550b0/plain.htm&node_id=15&show_children=false
we have Portal INF folder -> having classes and lib folder and these folders are again repeated in the private folder .
can any one please tell me if jsp under pagelet is not avaialbe via http request directly , in that case how can we access that page via url .
Regards
Govardan

Yes Tomcat should pick up WEB-INF/classes automagically.
The issue here is in your host config.
Try it like this:
<Host name="www.test.com" debug="1" appBase="C:\CVS" unpackWARs="true"> 
            <Logger className="org.apache.catalina.logger.FileLogger" directory="logs"
                  prefix="projects." suffix=".txt" timestamp="true"/> 
            <Context path="" docBase="WebTest" debug="1" reloadable="true" crossContext="true" /> 
            <Alias>test.com</Alias>
      </Host>The appBase is the directory that Tomcat will scan for WAR files, and files directories that contain web apps.
The [context entry|http://tomcat.apache.org/tomcat-5.5-doc/config/context.html] defines one webapp. In this case specifying a path of "" makes it the "default" web app. You then tell it to use "WebTest" as the root of the default web application.
To deploy another web application within this instance of Tomcat, you just need to put a WAR file in the c:\cvs directory, or create a directory under c:\cvs - and that will be the new web application. However it will need to be referenced by context name.
Hope this helps,
evnafets

Similar Messages

  • Is it possible to create web services for classes and bol objects?

    i am new to crm web channel,can any one  please ,help me....
    thank u in advance,
    kiran.

    Hi Kiran,
    Here, when you are talking about classes and BOL objects together, I assume you are talking about the BOL layer for CRM. If that is the case, and you have no dependency on WCEM for these objects, I would suggest you use the NW gateway to expose Odata web services from the CRM box itself. If you would like to expose the Odata web services from WCEM, please have a look at Ch 7 Dev & Extension Guide available in help.sap.com/wec301.
    Good luck!
    Regards
    Pranshu

  • Version control (lvcompare and lvmerge) for projects, classes and libs?

    Hi everyone
    Version control for classes, projects and libs (not just a plain .vi) - can it be done with lvcompare and lvmerge?
    I've tried a simple "LVCompare.exe project1.lvproj project2.lvproj" and it only returns an error (lvcompare.exe vi1.vi vi2.vi works). So this is maybe a dead end.
    How do you guys version control more complex projects? E.g. projects which use classes, libs, labview projects (.lvproj)?
    Best regards
    Jonascj

    Thank you for your reply. You are right, .lvclass, .lvproj and .lvlib are all just xml files - I've just figured that out my self when I accidentally called GIT's default diff on a lvclass
    I've also just spoken to National Instruments. The person I spoke to (from the one of the danish offices) told me that no tools exist at this time (2013-04-08) which will compare those LabView file types, but that there was an internal (National Instruments themselves)  feature request for such tools.
    He also told me another interesting thing which I did not know. The lvcompare.exe (located in National Instruments/Shared/LabVIEW Compare/ on Windows) is actually the not developed by National Instruments, but is either a "fork" of LVDiff (http://meta-diff.sourceforge.net/) or LVDiff renamed. So one could simply obtain the source code from http://meta-diff.sourceforge.net/ (at the bottom of the page "Win32 binary w/source") and add a few property nodes to do comparision of lvclass attributes etc.

  • Failed to consume web service having datetime and date fields

    Hi everyone,
    We are trying to consume .net webservices which are exposed in SAP. But while cretaing proxy we having issues which is showing error shown below
    XSD date doesnot exactly corresponds to the ABAP type DATS
    XSD type dateTime does not exactly correspond to the ABAP type String.
    cheers
    ram

    Below is the code to add security header.
    public List<String> lookup(String lenderid, String url, String user, String pw) throws SOAPException { 
          SOAPHeader header = message.getSOAPHeader();
               if (header == null) {
                     header = envelope.addHeader();
                SOAPElement headerElement = createSecurityHeader(uName, pWord);
                soapHeader.addChildElement(headerElement);.................
    private static SOAPElement createSecurityHeader(String uName,String pWord) throws SOAPException {
           SOAPElement UsernameToken = null;
           SOAPFactory sFactory = SOAPFactory.newInstance();
           UsernameToken = sFactory.createElement("wsse:UsernameToken", "", WS);
           SOAPElement Username = sFactory.createElement("wsse:Username","", WS);
           Username.setValue(uName);
           UsernameToken.addChildElement(Username);
           SOAPElement Password = sFactory.createElement("wsse:Password","",WS);
           Password.setValue(pWord);
           QName qname = new QName("","Type");
           Password.addAttribute(qname,"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText");
           UsernameToken.addChildElement(Password);
           SOAPElement wsseSecurity = sFactory.createElement("wsse:Security","",WS);
           wsseSecurity.addChildElement(UsernameToken);
          return wsseSecurity;

  • Portal Eventing between Web DynPro Java iView and non-Web DynPro iView

    Dear Experts,
    I have 1 Web DynPro Java iView and 1 non-Web DynPro (using JSPDynPage and JSP) iView, both attached to a page. When Web DynPro Java iView fire a portal raise event, the portal iView did not execute the javascript function tied to the event subscribed.
    Here is the code snippet which reside in the Web DynPro Java iView that is used to fire the event
    String param = "test";
    WPortalEventing.fire("urn:com.company.Test1", "TestEvent", param);
    This the code snippet that is in the jsp page
    function notifyTest(param)
         // Code to print param value here
    EPCM.subscribeEvent("urn:com.company.Test1", "TestEvent", notifyTest);
    Note:
    1. When Web DynPro Java iView fire the portal event the entire page is refreshed, including the non-WDP iView.
    2. When EPCM is replaced with window.top.EPCM, the page is refreshed, it is totally hanged with progress bar.
    Can anyone help to solve this problem?

    hi
    Please write the below code snippet in ur jsp for notifyTestjavascriptfunction
    function notifyTest( eventObj ) {
         eventParameter=eventObj.dataObject;
         // code to print the parameter "eventParameter"
    Thanks
    Harsimran

  • Non labor Resource - Expenditure Types

    Hi,
    when i was doing the Project Types setup > Billing Information > Non Labor Section. I don't want to track the Expenditure type - Non labor resources usage cost and so I haven't attached the Expenditure type classes of usages to the the Expenditure Types. As i don't want to track those usage expenditure type, i have not created any rate schedule for Non labor.but, It is mandatory to enter the Non labor Bill Rate Schedule in that window.
    What shall i do, i need to create a dummy rate schedule and close it or any other way for this?
    Thanks,
    Lavanya

    Hi Lavanya,
    By default, its a mandatory for the contract project types to have the labor and non-labor billing information filled in while creating the Project Types.
    But if you have not associated the usage class , then it is fine that it will not use the non-labor bill rate schedule you are attaching to the project type. But if you have the expenditure type class of 'Miscellaneous Transaction' for any expenditure type it will use that Non labor schedule information attached to the project type.
    But you can always override these values at the template level/project level.
    Thanks,
    Sathish Raju

  • Hi, I have a PPC Running OSX 10.5.4 and I want to delete the User "Guest"and "Shared"Folders on my HD, they won't let me change the permissions and I keep getting errors that say the permissions should be 0 and are 501 and having files i can't delete that

    Hi, I have a PPC Running OSX 10.5.4 and I want to delete the User "Guest"and "Shared"Folders on my HD, they won't let me change the permissions and I keep getting errors that say the permissions should be 0 and are 501 and having files i can't delete that go on and on ad infinitum... I think it's a virus or a corruption? Can anyone tell me or help me and let me know what I'm dealing with here or wether I'm mistaken and should leave it alone?
    I'd appreciate it.
    Thanks,
    Matt

    mattmakesvidiots wrote:
    Hi, I have a PPC Running OSX 10.5.4 and I want to delete the User "Guest"and "Shared"Folders on my HD
    Why do you want to delete those?  What have you done so far to do that?
    I doubt that Mac has a virus.  On the other hand, your attempts to deleted those folders may have caused corruption.
    Two other comments:
    1) Is there a reason that Mac hasn't been updated to OS X 10.5.8?
    2) You've been misled by the poor field labeling on this Web site into trying to type your entire post into the "subject" field.  In the future, just put a short summary of your post into that field.

  • Problem with Oracle Web Service Proxies reusing classes and exceptions

    We have an application that have many web services and we're having a really hard time working with Oracle Web Service Proxy. We have many web services that share the same classes for parameters and exceptions. When we generate de proxy classes, it generates a lot of _LiteralSerializer classes. Because I'm reusing the same classes and exceptions it generates the same _LiteralSerializer classes for this classes and they get replaced. For Example
    I have classes A and B and Web Services X and Y that use this classes. When I generate the 2 proxies it generates A_LiteralSerializer and B_LiteralSerializer on the 2 proxies and they get replaced and I get "No serlalizers for A class or B class". This problems repeats a lot of times and this problem is a huge risk for our project. We're using JDeveloper 10.1.3.4.
    Is there a way to avoid this with Oracle Web Service Proxies?
    Regards,
    Néstor

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

  • TREX Installation, Error in phase - Install TREX web resources and finalize

    Hello,
    Platforms:
    SO - Win 2008 (R2) X64
    During the last phase "Install TREX web resources and finalize instance" in installation process of TREX 7.1, it show me a weird error...
    It seems that was some problem during the creation of sap start service of this new instance... but that is weird because I checked at services.msc and that service SAPTSM_02 and nothing seems wrong with it, it seems that was well created and it is in Started mode!... I checked firewall settings (all of them are in OFF status), I also checked CUA settings (is stopped)...
    I searched for this error and I found the following SDN forum:
    SAPNW EHP1 SR1
    I already press the retry button but it always show me the same error.
    During this phase the SAPInst window show some information and in there I see this two:
    creating sap start service of instance TSM/TRX02...
    service not correcttly installed.
    It is very weird thing!
    I will post some log files such as sapstartsrv.exe and sapinst.log.
    sapstartsrv.exe:
    Test call to Service failed: 80080005
    CO_E_SERVER_EXEC_FAILURE: Server execution failed
    Service not correctly installed
    sapinst.log:
    INFO 2012-01-20 16:29:24.446
    Creating file C:Program Filessapinst_instdirNW702STANDALONETREXCIsapstartsrv.exe.log.
    INFO 2012-01-20 16:29:24.457
    Output of F:usrsapTSMTRX02exesapstartsrv.exe -stdin is written to the logfile sapstartsrv.exe.log.
    WARNING 2012-01-20 16:31:41.182
    Execution of the command "F:usrsapTSMTRX02exesapstartsrv.exe -stdin" finished with return code -1. Output:
    Test call to Service failed: 80080005
    CO_E_SERVER_EXEC_FAILURE: Server execution failed
    Service not correctly installed.
    ERROR 2012-01-20 16:31:41.380
    MOS-01011  'F:/usr/sap/TSM/TRX02/exe/sapstartsrv.exe' returned with '-1'.
    ERROR 2012-01-20 16:31:41.381
    MOS-01011  'F:/usr/sap/TSM/TRX02/exe/sapstartsrv.exe' returned with '-1'.
    ERROR 2012-01-20 16:31:41.470
    FCO-00011  The step createService with step key |TREX_NW_CI_MAIN|ind|ind|TREX|ind|0|0|TREX_MAIN|ind|ind|TREX|ind|0|0|createService was executed with status ERROR ( Last error reported by the step :'F:/usr/sap/TSM/TRX02/exe/sapstartsrv.exe' returned with '-1'.).
    Can you help me please, how can I solve this?
    Kind regards,
    JDimas

    Hello Arjun Venkateswarlu,
    1).Is your Windows Firwall is enabled ? Disable the windows Firewall and also restart SAPinst
    - As I said the windows firewall is disable (OFF)
    2). Make sure that <sid>adm belongs to the local admins or Better provide the domain admin rights to the id which you are using for installation if it is domain installation.
    - All the created users during this installation belongs to local admins. This isn´t a domain installation!
    3). Try Restarting the installation by stopping and starting Windows and restart SAPINST and coninue Old Installation again.
    - I already did that... but it continues to show me the same error!
    Any other tip?
    Kind regards,
    JDimas

  • Change Height of Web Resource to Get Rid Of Blank and Scroll Bar

    Hi, I am a junior CRM developer. I'm using CRM online.
    I wrote a HTML web resources. In Web Resource Properties, I set the Number of Rows as 20.
    But the problem is: If the form window are maximized, there will be blank under web resource; if the form windows become smaller, there will be a scroll bar on the side.
    I want get rid of blank and scroll bar, automatically change height according to the size of the window.
    I tried checkbox "Automatically expand to use available space", but it didn't work.
    I don't think add CSS to my HTML will work, because CSS in HTML will change the html height, not the container in CRM.
    Thank you in advance.

    You most likely have a malware infection. Run and update the following scanners. (Not all programs detect the same infection.)
    1. [http://www.safer-networking.org/]
    2. [http://www.malwarebytes.org/]
    3. [http://www.spywareterminator.com/]
    4. [http://www.microsoft.com/security/malwareremove/default.aspx]
    If those programs do not do the trick, try to post in the following forum:
    1. [http://www.bleepingcomputer.com[
    Other spyware removal forums can be found in a search.
    Does the issue occur in [[Safe Mode]]?

  • Common class resource for loaded and loading swf

    hi,
    i have built a video player, and now i'm working on (sort-of) video editor.  both of them use a singleton class 'DataRepository', which - as it name implies - serves as a repository for all the data needed to play the video and/or edit it.
    now i want to add to the editor a preview functionality, so i simply load the player.swf into the editor.swf.  before doing so, i set a variable in the data repository to the id of the video i want to preview.  i found out that when i load the player using a relative path, it uses the same singleton instance of the data repository as the editor does, thus reading the video id variable and previewing it correctly.  however, when i load the player using absolute path it creates its own copy of the data repository, thus unable to read the video id and preview it.
    since the player and editor will eventually be on 2 different servers, using relative path is not an option.
    is there any way i can make sure the player uses the same instance of the data repository as the editor does?
    thanks in advance,
    eRez
    ps - in case it matters, the 'allowscriptaccess' property in the editor's html page is set to 'always'.

    This is how I eventually did this:
    Created 2 layers.
    Layer 1 has my existing image which I put a stop action to in the 1st frame.
    Layer 2 has a link to the external swf file with this action: loadMovieNum("top2.swf", 2); in the 1st frame.
    So the initial image stays up until the top2.swf is fully loaded. This is for people with dialup. A lot of the clients who will look at this particular web site are rural and only have dialup access to the internet. The animation loads quickly for high speed.
    Here's the web site if you wish to view the result.
    http://www.watertonbiosphere.com

  • Can a Merge Publication have (2 different types of subscribers) a web subscriber and a non-web subscriber ?

    Can a Merge Publication have (2 different types of subscribers) a web subscriber and a non-web subscriber ?
    Ranga

    Yes, in fact some people will apply the snapshot when they are in the office and then change the parameters on their merge agent to do web synchronizations from then on.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Non-Web Server Publishing Rule for Internal and External

    Hi there,
    I have a problem with my TMG and publishing SSH for Internal and External users to an internal Server.
    Network:
    Internal Network
    SSH Server, 10.10.10.25
    Internal DNS record "ssh.domain.com" pointing to 10.10.10.254
    TMG Server, 10.10.10.254/192.168.0.254
    External Network
    External DNS record "ssh.domain.com pointing to 192.168.0.254
    I want my users (internal AND external) using their SSH client to connect to ssh.domain.com and TMG to forward the request to the SSH server. Note that internal clients and the SSH server are in the same network.
    I have created a custom "SSH Server" protocol with inbound TCP for port 22 and created a Non-Web Server publishing rule.
    Traffic Tab: SSH Server Protocol
    From Tab: Internal, External
    To Tab: 10.10.10.25, original client
    Networks Tabs: Internal, External
    External users cann connect without a problem, all fine here. Internal users get a timout. The TMG Log says: Denied Connection (Default Rule,
    The policy rules do not allow the user request) and doesn´t recognize this is an inbound request. The log gives me dest IP 10.10.10.254 and protocol SSH and not 10.10.10.25 and SSH Server.
    I read a lot of networking rules and NAT/Routing, tried a bit but never got a success.
    Can you help me fix or working around this and tell me whats going on there and if there a limitations in TMG I don´t know yet?
    Regards,
    Sascha

    Hi,
    According to your description, it seems that request was denied by the TMG rules so the request from the internal users
    could not be forwarded to the SSH server. I would appreciate it if you can post the logs to us and the results of running ipconfig/all on the TMG server.
    In addition, maybe you can change the firewall policy only from
    External and add another firewall policy for the internal user to see if the issue persists.
    More information:
    Creating and using a server protocol
    TMG
    Back to Basics - Part 1: Server Publishing Rules
    Best regards,
    Susie

  • In my Thunderbird I have 2 inboxes and deleted folders, 1 set in local folders 1 set above. How do I get back to only having one inbox and one deleted folders.

    I have one account in my Thunderbird mail. Some days ago I discovered I had two inboxes and two deleted folders. One set appears in the list at the lefthandside above local folders and the other set is under local folders. My outbox also appears under local folders.
    I have deleted or moved all the mail entris in the inbox which appears under local folders.
    How do I delete the superfluous inbox and deleted folders? How do I move the outbox so it appears above the local folders in the list? Many thanks for your help.

    Surely as I only have one account, I should only have one inbox. How does my POP mail decide into which inbox to put my incoming mail? The two inbox icons have the downward pointing arrow. One inbox is the first entry in the list (below my email address) and the second is the first entry below local folders.

  • Abstract class and interface having same method

    Hello,
    Here is my problem. Suppose we have one abstarct class and one interface.Here is code-
    //Abstarct class
    abstract class X{
    abstract void myMethod();
    //Interface
    public interface Y{
    abstract void myMethod(){}
    Now i have a class which extends both abstarct class X and interface Y.
    If i call myMethod() from this class. Whose myMethod would be called.Will it be of abstract class or interface?
    Many Thanks

    Hello,
    Here is my problem. Suppose we have one abstarct class
    and one interface.Here is code-
    //Abstarct class
    abstract class X{
    abstract void myMethod();
    }OK, so far...
    //Interface
    public interface Y{
    abstract void myMethod(){}
    }An interface cannot have code (the {} part), so this won't work.
    Lets pretend though, it read
    //Interface
    public interface Y{
    abstract void myMethod();
    However, the abstract class above can have code;
    If you extended X and implemented Y (with no code in it), you would have to have a myMethod() implementation in your code. That's the one that would run.
    Now, let's pretend the abstract class above did have code in it.
    //Abstract class
    abstract class X {
    abstract void myMethod() { System.out.println("Hello"); }
    Then, you wouldn't have to have a myMethod() implementation in your class which extends X and implements Y (it's defined in X). If you didn't have one, the method in X would run. If you defined your own myMethod() implementation in your class (which extends X and implements Y), then your own implementation would run.

Maybe you are looking for