Deploying servlet OUTSIDE of Portal/irj directory
Hi all ,
we have a EP6 NW04 Portal running on UNIX . We wish to deploy some servlets to the SAP J2EE engine but outside of the portal/irj directories . These servlets are non-Portal related general servlets that are looking for a J2EE server to run on .
How do we deploy these servlets to the SAP J2EE engine outside of the portal/irj ?
Regards
Daniel
Daniel,
You can try deploying them through SDM.
Ketul Shah
Similar Messages
-
Servlet filter in portal irj?
Hi,
I am trying to create and deploy a servlet filter in portal irj.
Here is what I have done:
1. Created filter class(TestFilter.java).
2. Created a jar file for the above TestFilter.class.
3. Copied the jar file to C:\usr\sap\DW1\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\lib folder
4. Modified the web.xml file under C:\usr\sap\DW1\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF folder with the following lines:
<filter>
<filter-name>TestFilter</filter-name>
<display-name>TestFilter</display-name>
<description>
</description>
<filter-class>com.test.TestFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>TestFilter</filter-name>
<url-pattern>/irj/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>TestFilter</filter-name>
<servlet-name>prt</servlet-name>
</filter-mapping>
5. Restarted the engine.
But still my filter doesnot get called. Am I missing something?i am trying out the sample filter and did the same steps as you mentioned above.
I get the following exception. Looks like the irj didn't recognize the .jar file placed inside the lib.
I am using EP 6.0.
Stack Trace
===========
Cannot load filter < com.test.TestFilter > The error is: java.lang.ClassNotFoundException: com.test.TestFilter
Any additional steps to be done for irj to recognize this library. The exception also shows the other libraries used during loading the application. I didn't find mine in the list.
Appreciate ur help
Message was edited by:
Anant -
Can't deploy content.jar on Portal 8.1 SP4 with DB2
Greetings,
Have installed WebLogic Portal 8.1 SP4 with DB2 8.1.8. While deplying content.jar which contains BEA's classes relatives to the content management, the following exception is raised:
<Oct 19, 2005 2:54:32 PM MEST> <Error> <EJB> <BEA-011076> <Unable to deploy the EJB 'ValueBean' because the database table 'CMV_VALUE' is not accessible. Please ensure that this table exists and is accessible.>
Of course, the CMV_VALUE table exists and it has records inside. Every thing seems to be okay from the point of view of connection pools, data sources and JNDI names. The deployment works properly with Oracle and PointBase.
The JDBC driver I'm using is com.ibm.db2.jcc.Db2Driver.
Many thanks in advance for any help.
Kind regards,
Nicolas DUMINILHello,
More information is required to help you, and as James suggested, the best option would be to move to EclipseLink instead of TopLink Essentials as EclipseLink is actively being developed and is the JPA 2 RI.
Running it on the latest EclipseLink ensures that you are not hitting an issue that has already been fixed, and both are based off TopLink.
Are you deploying an Ear or an exploded directory? If the later, can you try using an Ear?
Best Regards,
Chris -
Need to replicate Portal /irj security setting
Hi Folks,
I am working on a Portal 6 - Web AS 6.40 SPS 21
I have strange proprietary application (I guess aspx) handling user authentication in the production Portal: whenever a user points the browser to the production portal public URL (say https://portal.customer.com), a reverse proxy forward the request to the custom auth app; the user enters his domain credentials and, if successful, he's redirected over the Portal, in an authenticated session (if I look at the browser cookies I can see the SAPSSO2).
Now the problem: I would like my web module project (I am writing a very simple JSP using Web Module Project and Ent. App. project to deploy) to behave exactly as /irj does from a security perspective.
Question 1: how do I have to set up security in my xml descriptors (web.xml and web-j2ee-engine.xml) in NWDS to achieve this?
Question 2: do I need to change the auth template in the Security Provider in Visual Adiministrator for my app, or just leave it with the "basic" auth module it originally comes? I am confused about this because I would expect a "ticket" template with its 5 modules stack to be more appropriate then "basic", but if I look at how irj is configured in the Security Proivider, I see only "basic" used...
Finally: I am (try to be) a strict-RTFM-observer as much as I can, but I really need your help here guys.
Hope someone can shed some light on this foggy topic.
Thanks in advance.
Cheers,
AlexOk guys, fixed it myself, luckily.
See /people/alessandro.guarneri/blog/2010/06/05/http-header-variable-authentication-in-sap-portal -
How to deploy.sca file in portal?
Hi
I am new to portal..can any one explain step by step process to deploy .SCA File into portal using SDM.
Thanks
RahulRahul,
Refer to this article.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0df0afb-44fb-2b10-46b1-c026264bcbc4
Hope this helps.
Cheers!
Sandeep Tudumu -
How to deploy WebDynpro application from Portal
Hi Friends,
when we develop WebDynpro applications, we deploy and run the applications from IDE NWDS studio..
Is there any way to deploy it from portal?Hi,
Wat do you mean by deploying it from the portal?
It is possible to integrate webdynpro apps in Portal
Follow this link
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/2fffe990-0201-0010-aab0-e61c3250bcf3
Regards,
Santhosh -
Deploying servlets (not in jar/war/ear!) to OC4J?
I must be missing some very tiny but crucial issue....
For over 2 days now (shame) I have been trying but not
succeeding to deploy servlets to OC4J behind Apache. The 'behind
Apache'-part is easy. Just set up a proxy. This is because
Apache configuration is easy and well documented. But here is my
real problem. I am using JDev 3.2 (9i too large) and this is
what I want:
I want to code a servlet in Jdeveloper, compile it to a class-
file, not a jar, war, ear or whatever-r. Then I want to set up
OC4J in such a way that I can access my servlets from the
directory where the class files are. I do NOT want to use the
default-web-app subdirectory for obvious reasons. Please, how do
I set up OC4J to just look in my own classes-directory with my
own servlets???? No jar, no war, no ear.
I have been reading all sorts of information on this and tried
everything, but am not succeeding and getting all sorts of
error/not found messages.
Extra info:
I am using OC4J on windows. To start I use java -jar orion.jar,
to restart I use ^C and repeat the start command. Is that ok or
do I need to restart in a different way? I tried to setup OC4J
as a service but the link to runexecsvc went astray to judosoft
Any help will be greatly appreciated!Avi,
Thanks for your swift reply. I have indeed read the docs, but
the exploded directory format does not seem to work for one
reason or another (got some error messages on file not found or
something). Have you succeeded in deployment using exploded
directories? If so, I would be greatly interested in your xml-
files and directory structure!
But, please do not spend too much time on this, because I have
now decided that I will deploy using a war. I have written a
small script to make a war out of my whole project and copy it
to de OC4J file system. This works and everybody is happy.
Thanks again,
Martijn -
JDeveloper 3.2 Documentation for deploying servlets says the generated files should be placed in webserver and the classpath is to be set.
I am using Apache HTTP web server. In which folder should I place the generated files and what should be the class path?
Later what should be the URL to access the servlet from the browser?
How can access this deployed Servlet from a JSP?
Thanks in advance,
Regards.
Kavita.
nullKavita,
You should first check the Apache documentation for specific information about Apache.
In general, you should place the servlet in a directory that is under the root directory for the server. For Apache, I believe it is htdocs under the installation directory (usually Apache/Apache/).
You would then add this directory to the jserv.properties file as a wrapper.classpath entry. This will then point Apache to that directory.
To access the servlet from a browser the general format is htttp://webserver:port/YourDirectoryName/servletName
This should get you started. -
Hi,
I have Oracle 9i installed. It comes bundled with Apache web server minus documentation. Can I deploy Servlets/ EJBs. on this. Where can i get hold of documentation.
ArunAre you using the SunONE portal server in your architecture? If your question is related to the Application server, you would find a greater chance of obtaining a solution through the web/app server forum.
-
Error in deploying VC iView on Portal
hi all,
i have created an applicaton which will fetch data from SAP R/3 and will be shown in an iView which is made in VC.
when i try to deploy that iView in Portal , i get an compilation error ,
the error is
"Error in executing a process for compilation, .\GUIMachine_Business_Packages\testbi_21811\com.autogen.guimachine.testbi.iView_TestBI\src.core\Iview_testbi_ctl.java:62: cannot resolve symbol
symbol : constructor BWQueryFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iview_testbi_ctl,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
location: class com.sap.portal.guimachine.bikit.runtime.BWQueryFunction
BWQueryFunction BWQGQR = new BWQueryFunction ("BWQGQR", this, profile.getProperty("System1"), "/sap/bw/xml/soap/queryview", "ZVC_CUBE", "VCQUERY1", "", 2, 500,"KEY");
^
1 error
how could i solve this problem.
please help me to solve this error
Regards
Naveen GuptaHi,
If you are using Ep 6.0 Sp 15 then you have to deploy the BIKIT for Sp 13 on the portal using SDM.
This will solve Your problem.
Regards,
Naveen Gupta -
Hi,
I need to integrate BI reports in portals.How to deploy Bex reports in portal.Please can u able to help me out in this issue.
Regards,
Laxmi.Hi Laxmi,
It can be done by two ways using URL of the query and displaying the query, and using the technical name of the query and assigning to different rooms in the portal. Then schedule the query which automatically generate queries similar to process chain loading timely based.
Also check these links:
http://help.sap.com/saphelp_nw04/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/92dceb49fd25e5e10000000a1553f7/frameset.htm
Hope this helps.
Rgs,
I.R.K -
Unable to see the portal content directory in content adminstration
Hi,
I am unable to see the portal content directory in the content administration. I am not the super administrator.I have been assigned content admin role. But, I am unable to see the PCD.I see from previous blogs that permission has to be set for my role.
Can any one help me in telling the procedure to set the permission.If permission is not the issue then do tell me the solution for it.
SuganyaHi Suganya,
The content admin role normally is sufficient to see / read the portal content catalogue (as far as the standard settings are concerned). But maybe they have been restricted on your implementation by some administrator.
Some with sufficient permissions on the portal content catalogue has to right-click on the root (portal_content) object, "open", "permissions", and has to provide at least administrative "read" permission to you, some role (content admin for example) which is assigned to you or some group you belong to.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
Unable to see the portal content directory in content administration role
Hi,
I am unable to see the portal content directory in the content administration. I am not the super administrator, i have been assigned other roles. But, I am unable to see the PCD. Please help me how this can be sorted out.
Thanks much in advance,
Sunitha.SHi Sunita,
Contact your systen admin people , he/she will assign the Read/Write or Full controls to content_admin_role in the system administration -> Permissions -> select portal content folder and right click the select open Permissions , There he/she has to add content_admin_role in Assigned Permissions category and under Administrator category select Full Control and select End user check box and save the changes.
Then you can see the Portal Content and you can create /change the portal contents.
Thanks and Regards,
Hari -
Redirection of deployment.user.cachedir to Windows Temp-directory
Hello,
I have a problem with the configuration of the cache-directory on a Windows Terminal-Server.
On a Windows Terminal-Server each registered user gets a Windows temp-directory, which can be seen in variable %TEMP% and looks like "D:\temp\1" or "D:\temp\2" and so on.
Now I want to redirect the cache-directory, set in file deployment.properties, property deployment.user.cachedir, to that temp-directory for the user.
How can I configure JavaWS correctly ?
Please help !! Thanks in advance
AchimThank you for your response. I am using jdk1.3.1 and
jre 1.4.2_01 which I just downloaded the other day.
The properties did indeed list out in the console, but
I will check a previous jre to see if they are there
as well. I agree that if the property is available,
then it should return the value.5. What system properties can be read by applets, and how?
In both Java-enabled browsers and the appletviewer, applets can read these system properties by invoking System.getProperty(String key):
key meaning
java.version Java version number
java.vendor Java vendor-specific string
java.vendor.url Java vendor URL
java.class.version Java class version number
os.name Operating system name
os.arch Operating system architecture
os.version Operating system version
file.separator File separator (eg, "/")
path.separator Path separator (eg, ":")
line.separator Line separator
Applets are prevented from reading these system properties:
key meaning
java.home Java installation directory
java.class.path Java classpath
user.name User account name
user.home User home directory
user.dir User's current working directory
To read a system property from within an applet, simply invoke System.getProperty(key) on the property you are interested in.
(http://java.sun.com/sfaq/#hideProps)
Br - Johan -
hiye guys,
Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
needed help asap
from
kennethHi Kenneth,
I'd recommend the developers simply deploy locally and copy the files over to your server.
Have they tried this? Have you run into any problems?
Is it a DBServlet? If so, have you seen the following documentation?:
CHoose Help | Help Topics
Then navigate to
User Guides
--Developing Applications
----Developing Web Applications
------Developing Java Servlets
--------Deploying Java Servlets
----------Deploying a Database Servlet to OAS
Hope this helps.
Best,
Avrom
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kenken64:
hiye guys,
Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
needed help asap
from
kenneth<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Filenames getting truncated in Save for Web AppleScript
Hey all, running CS4 on an Apple Macbook Pro (using OS X 10.5.6). I am creating an AppleScript that saves out a number of files with different filenames using save for web. The problem is that Photoshop CS4 is truncating the filename, and using a sho
-
How do I switch to 'fly by' view in iOS 6 Maps in cities that support it?
Curious how to switch to this fly by mode in cities that support it in the new Maps app. Thanks Harry
-
Error on Startup any project (New or Saved)
Guys, Please, i need a help. Everey time i try to open any project or create a new project the premere returns this message: http://prntscr.com/5mtx3d "Premiere Pro has encountered an error [c:\cloudroom\releases\2014.09\shared\adobe\mediacore\mediaf
-
Idoc status 51 while loading from R/3 to PSA
hi experts, I am loading from R/3 to BW (fiar data), the request is in yellow status and running for long time and showing zero(0) records. i have checked that some of the idocs are not posted. when i try to push through BD87 still the status is show
-
Document on XML support in Oracle 8i
Hi. I am looking for a brief document about Oracle 8i's support of XML. I am aware of the whole book on XML under Online Documentation, but want a more concise one. Could anyone help? Regards, Rahul