How to create a collaboration room from EJB tier.
Hi.
I have created a EJB Stateless Session Beans, and I want to create a room using the API of KM.
I have used the code mentioned in this URL: http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.htm
It works fine it is called from Web Dynpro.
I have added in my application-j2ee-engine.xml of the J2EE Proyect.
<application-j2ee-engine>
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.km.application</reference-target>
</reference>
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.netweaver.coll.shared</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.security.api.sda</reference-target>
</reference>
<provider-name>sap.com</provider-name>
<fail-over-enable
mode="disable"/>
</application-j2ee-engine>
It was deployed correctly, but when I tried to call the method the server sent me this exception:
Caused by: javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSBean.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSBean.java:188)
at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.java:991)
... 25 more
javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
I hope that somebody can help me
Regards in advance.
Manuel Loayza
Living La Vida JAVA
Hi Sudha,
Bydefault sap provided four room categories and if you wish to create new room categories simply rename them and give meaningful names. If you want more info browse following links which are useful to resolve issue
1. default_category
2. category_1
3. category_2
4. category_3
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/50167b97c01193e10000000a155369/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/85/f58ece033b3349ae5509d2ea29e23b/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0c/b02cf332caa74b822def646a04529f/frameset.htm
Please reward points.
Cheers
dev
Similar Messages
-
How to create a collaboration room category?
Could someone tell me how to create a new room category?
Thanks,
Sudha.Hi Sudha,
Bydefault sap provided four room categories and if you wish to create new room categories simply rename them and give meaningful names. If you want more info browse following links which are useful to resolve issue
1. default_category
2. category_1
3. category_2
4. category_3
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/50167b97c01193e10000000a155369/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/85/f58ece033b3349ae5509d2ea29e23b/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0c/b02cf332caa74b822def646a04529f/frameset.htm
Please reward points.
Cheers
dev -
How to create a collaboration room of the SAP Portal from EJB tier.
Hi.
I have created a EJB Stateless Session Beans, and I want to create a room using the API of KM.
I have used the code mentioned in this URL: http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.htm
It works fine it is called from Web Dynpro.
I have added in my application-j2ee-engine.xml of the J2EE Proyect.
<application-j2ee-engine>
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.km.application</reference-target>
</reference>
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.netweaver.coll.shared</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.security.api.sda</reference-target>
</reference>
<provider-name>sap.com</provider-name>
<fail-over-enable
mode="disable"/>
</application-j2ee-engine>
It was deployed correctly, but when I tried to call the method the server sent me this exception:
Caused by: javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSBean.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSBean.java:188)
at com.hocplc.speed.business.ejb.facade.ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.crearCuartoColaboracion(ProcesarSolicitudDocumentoSSLocalLocalObjectImpl0_0.java:991)
... 25 more
javax.ejb.EJBException: nested exception is: com.hocplc.speed.exception.BaseException: com.sapportals.wcm.WcmException: Exception accessing CmSystem: com/sapportals/wcm/crt/CrtClassLoaderRegistry
I hope that somebody can help me
Regards in advance.
Manuel Loayza
Living La Vida JAVAAfter playing with WebDynPro and PDK - finally I have a simple list showing. This simple example has provided me with a good starting point - it is a pity that SAP do not provide such simple examples to allow you to get your head around the concepts.
I used the SAP NetWeaver Developer Studio to produce a version of my example using a WebDynPro and a JSPDynPage (PDK). Deployed to my EP6 server and then created iVews to show then in the appropriate theme.
My thoughts on this now are that both WebDynPro and PDK have merits - both achieve same end result with various affects. WebDynPro is clunky and PDK is not tighly integrated with the Studio (unlike the .NET one).
To use the PDK you need to understand the TAGs and the SAPDesignGuild website helps - but would be better if the Studio presented a graphical interface much like DreamWeaver does.
SAP's direction seems to be with WebDynPro and no longer PDK - wonder if this is truely the case ?. SAP does have a lot of work to do in my opinion to get both products up to scratch from a useability point of view. -
Creation of Collaboration Room from the backend.
Hi,
I need to create the collaboration room from the backend. When I tried to do so, its showing the error "Error in RFC Connection". I checked the RFC connection, its working fine.
Do i need to set any configuration properties either in portal or R/3 to enable the creation of collaboration room from the backend.
Kinldy provide your valuable inputs.
Thank you.
Regards,
EbenHi,
If ur talking abt creating rooms from backend in e-learning then thier is some configuration document for that
Please check..
Thanks and regards,
sarang -
How can i call a collaboration room from a iview ?
hi all,
i have a little problem: i want to call a collaboration room from a iview - but i can't find the way to do this.
can anybody help me ?
thanks
and regards
martinclick on the context menu of the collaboration room > send room link and you should receive the link in your inbox if your email is configured in Portal..
hope it helps -
How to Create a new column from two different result sets
How to Create a new column from two different result sets, both the result set uses the different date dimensions.
i got solutions for this is apply filters in column formula it self, based on the requirement.
-
How to create a new connection from SAPGUI to Test drive?
Hi,
I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
I entered the following values for my new connection entry
Description: SAP Netweaver
Application server: 192.168.1.160
Instance number: 01
System ID: DB2
SAProuter: /H/192.168.1.160/S/3201/H/
But it does not work. Any idea about the values needed for creating a new entry?
Thanks in advance,
Dariyoosh>
Dibya R Das wrote:
> Why are you entering a router string? Can't you reach a box directly from your machine?
>
> Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
>
> Remove the router string you wont need if the above works.
>
> - Regards, Dibya
Hello there,
Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
Kind Regards,
Dariyoosh -
How to create a PAR file from EAR file
Hi,
I have created an Web Dynpro Application . When i deploy it in Remote J2EE Engine, it will deploy as EAR file. It then runs as normal Web Application in Web browser. My requirement is to create an iView for my Web dynpro appn in EP. That is possible only by creating a PAR file. so How to create an PAR file from EAR in NWDS(NetWeaver Developer Studio).
How to access the EAR file in NWDS or J2EE ?
Thanks in Advance ,
By
SaravananHi,
To create a iview,
log on to portal, New iView and select SAP webdynpro iview.
It will ask for namespace which is usually , local/Project Name
and application name is the name of the application.
We dont have to create par file for this requirement -
How to create an XML document from a String.
Can anyone help,
In the Microsoft XML Document DOM there is a load function load(string) which will create an XML document, but now we are switching to Java and I do not know how to create and XML document from a string, this string �xml document� is passed to my program from a webservice and I need to read several xml elements form it in a web server.
This string is a well formatted XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Countries NumberOfRecords="1" LanguageID="en-us">
<Country>
<CountryCode>AU</CountryCode>
<CountryName>AUSTRALIA</CountryName>
</Country>
</Countries>Thanks PC!
I made it work using:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
factory.setIgnoringComments(true); // We want to ignore comments
// Now use the factory to create a DOM parser
DocumentBuilder parser = factory.newDocumentBuilder();
//TransformThisStringBuffer is a string buffer wich contain the 'XML document (String)'
InputStream in = new ByteArrayInputStream(TransformThisStringBuffer.toString().getBytes());
// Parse the InputStream and build the document
Document document = parser.parse(in);
But which one is faster InputSource or InputStream, were would you put the "new InputSource(new StringReader(yourString))" in the above code? -
How to create a pdf file from multiple images ?
Dear All,
I want to create a SINGLE page pdf file from two or more page size images that are combined to make a single page pdf. Again, this question is on pdfs that are made out of several, atleast two color images and a black-and-white mask for one of them.
I have such pdf files from an unknown source (the producer is edited out) whereby there are three tiff images, obtained using the well known pdfimages extractor.
When I want to make a pdf out of tiff or png or other image formats, I right click and tell Adobe Acrobat to make a pdf.
However, I dont know how I can give a command to select say, three tif images and specify which is the mask for which and then join them in a way that I get the pdf from the composite of the two color images and a mask for one of them.
Please help me out.
I am a little familiar with the pdf structure skeleton and when necessary, fixed xref tables in one of my favorite editors. A few years ago, I also wrote a bunch of javascripts to make some annotations and needed some automation and used some itext type libraries. However, I need your help in this problem as I am now rusty and forgot some of what I studied to solve my earlier problems. This is a new problem for me. Gentle hints from you would be very nice to help me in this problem. Please specify if necessary what manual and pages to read. in the pdfspec.
Best Regards
Disabled Veteran [physically handicapped]Hello Again.
On Fri, May 11, 2012 at 12:20 PM, lrosenth <[email protected]> wrote:
>
> Re: How to create a pdf file from multiple images ?
>
> created by lrosenth in PDF Language and Specifications - View the full
> discussion
> ________________________________
>
> No clue who Irving is…
>
I was hoping to have your first name so its easy for me to address you.
> I have no clue what OS platform, programming language, etc. you use so
> can’t really narrow things down.
I would gladly mention that I am working on windows platform, preferably XP.
I can also work on linux for free products that come with it.
> Also, as this is an Adobe forum, we only
> recommend Adobe products – so there may be other options that even my list
> wouldn’t include.
But adding other products, for the help of an adobe products user,
even if it outside adobe, shall add greater prestige to your company
and give impression of user-centeredness.
> If you read ISO 32000-1:2008 (aka the PDF standard), you will find the
> information about Images and Image Masks well described. I didn’t think I
> needed to repeat any of that information.
Well, just add the few pdf stanzas since you are proficient on it and
I am presently a little rusty as I mentioned. Just asking a little
extra yard, not even to go an extra mile.
> And, if you read that same document, you will see that there is NO SUCH
> THING as a “text only PDF”. All PDF documents are structured binary files.
Well, ascii format or uncompressed format that is human readable. I
know its a binary file, but human readable ascii version of it.
I hope you can give me some stanza and various other approaches
possible so I can select or combine things for myself. I see only a
miniscule number of posts claiming to have written masks in this forum
and then with no details.
Regards
Roger
Message was edited by: dying veteran
because the adobe posting system went crazy and truncated all except the first line ... dunno why -
How to create a .DLL file from a .C file ?
Hi everybody
I'm looking for a method how to create a .DLL file from a .C file .That Dll file will be used to perform a board to measure voice quality accoding to the international standard named PESQ (perceptual evaluation of speech qualty) P.862.
Can anyone help to start dealing with Dlls and give some advices to avoid errors ?
thx
Attachments:
source.zip 37 KBHi sinaps,
You mention that you want to create a DLL from a .C file. Just to clarify, are you using C (.c file) or C++ (.cpp) to write your code?
Also, if you are using C++, are you using Visual Studio? (The reason I ask is because this forum is geared towards Measurement Studio, which is an add on to Microsoft Visual Studio).
That being said,
If you are using C: National Instruments provides an ANSI C Application Development Environment called LabWindows/CVI which makes building dlls a snap. It has templates for DLLs and you can build them either as stdcall or cdecl dlls.
Developer Zone Tutorial: Building a DLL with LabWindows/CVI 8.5 for use with LabVIEW 8.5
If you are using Visual C++: Look at the link that Al provided earlier.
MSDN: Walkthrough: Creating and Using a Dynamic Link Library
If you aren't using CVI or Visual Studio, then really the best bet is to do a google search for "Create C DLL" or post or a forum for the appropriate environment that you are using.
Thanks!
Message Edited by Jervin_J on 03-14-2009 02:02 PM
Jervin Justin
NI TestStand Product Manager -
How to Create an XML document from XSQL servlet which follows a particular DTD struct
how to Create an XML document from XSQL servlet which follows a particular DTD structure.Could anyone send me a sample code for this.
You'll need to associate an XSLT transformation with your XSQL page that transforms the canonical result into your DTD-valid format.
For example, given an XSQL page like:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="rss.xsl" ?>
<xsql:query max-rows="3" connection="demo" xmlns:xsql="urn:oracle-xsql">
select title,id,description,url,to_char(timestamp,'Mon DD') timestamp
from site_entry
order by id desc
</xsql:query>and an "rss.xsl" stylesheet that looks like this:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes" doctype-system="rss-0.91.dtd"/>
<xsl:template match="/">
<xsl:for-each select="ROWSET/ROW">
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
<xsl:for-each select="ITEM">
<item>
<title><xsl:value-of select="TITLE"/></title>
<link><xsl:value-of select="URL"/></link>
<description><xsl:value-of select="DESCRIPTION"/></description>
</item>
</xsl:for-each>
</channel>
</rss>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>You produce DTD-valid output against the rss-0.91.dtd DTD that looks like:
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE rss SYSTEM "rss-0.91.dtd">
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
</channel>
</rss>
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
</channel>
</rss>
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
</channel>
</rss> -
How to create a standby redolog from rac to non rac ??
Hi,
How to create a standby redolog from rac to non rac DR setup..???
in rac we can create with specifying thread number for each instances..... but this will be replicating to standby ....so how this will act/create on single DR??
pls help854393 wrote:
Thanks Shivanandha,
(maximum number of logfiles for each thread + 1) * maximum number of threads
Using this equation reduces the likelihood that the primary instance's log writer (LGWR) process will be blocked because a standby redo log file cannot be allocated on the standby database. For example, if the primary database has 2 log files for each thread and 2 threads, then 6 standby redo log file groups are needed on the standby database.In maximum performance mode you can keep same number of redo logs but having one more redo log member for each thread is recommended and mandtory for other protection modes.
How to create a standby redolog from rac to non rac DR setup..???
in rac we can create with specifying thread number for each instances..... but this will be replicating to standby ....so how this will act/create on single DR??pls help
Yes, even your DR is RAC or non-RAC, you must have both threads, because each instance information exist on own thread, So to perform redo transition from both the instances, you must have both standby redo log threads even though if it is non an RAC DR.
Hope This helps. -
How to create a boot disc from Lion pre installed into my Macbook Pro 2011 ?
Hi guys,
I want to know how to create a boot disc from Lion pre installed into my New Macbook Pro ?
I want to re-install the Lion from zero. When I bougth it I´ve used the Migrant assitance and now I want to re-install the Lion. How can I do it ?
thanks.Read this about creating a lion recovery on an external drive or USB stick.
http://support.apple.com/kb/HT4848
/Dennis -
How to create a p7c format from a pem or der or cer
Hi,
Anybody knows how to create a p7c format from a pem or der or cer.
I have checked the URL http://edocs.bea.com/wlibc/docs70/admin/cvcerts.html and
other sites but didn't find anything useful.
Thanks & Regards,
SubodhOn Windows double click the der or cer certificate. This should open it in the
Certificate viewer.
Open the Details tab, click on the Copy to File button and select pkcs #7 format.
Pavel.
"Subodh" <[email protected]> wrote:
>
Hi,
Anybody knows how to create a p7c format from a pem or der or cer.
I have checked the URL http://edocs.bea.com/wlibc/docs70/admin/cvcerts.html
and
other sites but didn't find anything useful.
Thanks & Regards,
Subodh
Maybe you are looking for
-
How do I sync to one device but not my other ones?
I have multiple devices on my iTunes but I don't want everything synced to every device. How do I just choose certain things for the different devices?
-
How do I delete downloads in iTunes on ipad2
I have downloaded a corrupt file in iTunes on iPad can delete it or the download. What can I do?
-
Hi SAP experts , I am troubleshooting one system and I am kind of getting lost ... Let me explain the scenario: Posting period set up Posting date : 01-14-09 Sytem Date :01 -01-09 After checking all the information , I ran my period end closing .. I
-
B2B-50037: B2B inbound message processing error java.lang.NullPointerException
Can anyone help me with this problem. I'm new here. Oracle SOA Server version 11.1.1.6.0 Got this error message after I put Ignore Correlation true. diagnostic.log: [2013-08-12T14:05:26.668+02:00] [MS_KETEN_SOA_01] [NOTIFICATION] [] [oracle.soa.b2b.e
-
SOAP Parameters: Ugly name, can that be changed for something more friendly
Hi, Everyone, I follow examples here: http://www.oracle-base.com/articles/11g/NativeOracleXmlDbWebServices_11gR1.php ( ours is 11GR2 but the differences are almost none) and created a test procedure and it automatically pubishes it as a SOAP service,