To access template from webapp path using velocity
hi,
i have 5 velocity template files(template1.vm files, etc..) in webapp path (for eg. com/abc/ab)
when i placed those templates in system specific path, i couls access those files using the below syntax..
final String CONFIG_DIR = "D:\\oc4j\\j2ee\\home\\";
Velocity.setProperty( Velocity.FILE_RESOURCE_LOADER_PATH, CONFIG_DIR );
Velocity.getTemplate("template1.vm");
i need to place the files in the appl path and access it.
i need to know where to place the files in the appl and the syntax to access those files.
Thanks
I realize how old this question is, but it is relevant to my interests.
First: SAP does not seem to allow the nuSOAP proxy method:
$proxy = $soap->getProxy();
You have to instead use nuSOAP's SOAP client call method:
$result = $sapClient->call('function',$param);
I'm having trouble passing in parameters though. I'm consistently getting an error that I'm not passing in a certain parameter, when I certainly am. I have success using PHP's SOAP extension, but that option is not available to me at this time. As of now, nuSOAP is my only option with the current web hosting server I'm working with, and passing parameters does not seem to be as simple as with the built in php SOAP extension.
This is the error message I'm getting:
array(3) {
["faultcode"]=>
string(15) "soap-env:Server"
["faultstring"]=>
array(2) {
["!xml:lang"]=>
string(2) "en"
["!"]=>
string(86) "CX_ST_GROUP_MISSING_CASE:XSLT exception.Element 'PurchaseRequestSelectionByID' missing"
Does anybody know why this keeps happening? Also, is it just me or is consuming web services from SAP services very slow?
Similar Messages
-
Is there a way to exclude files from source paths using patterns
Hi
Does anyone know of any way to exclude files from source paths using patters rather than individually selecting the files? UI doesn't allow to specify any pattern. But if you look at the jpr file there are other places where patterns are allowed. Can the same pattern be copied and applied to excluded files?
PatDrag the files, or press Option when pasting them; this accesses the Move To function.
(124070) -
Opening template from external path
Hi, I am learning how to use document templates in CRM. I use web services and the 'template designer' to design the templates. Is it possible to save the templates to a file system outside the SAP/CRM? (And then retrieve the template from the file system when the user wants to display the template?)
Thanks!
Best regards EvaThe reason for wanting to take it out of the forum is because ultimately, I want to find a consultant I can pay to help me cut to the chase more quickly in deciding on an efficient design. We would also be open to paying for development if this is the direction we go. I think this will necessitate conversations by phone and probably remote computer access. Document assembly is a pretty heavy subject to try to cover in a chat box. This is not the same as creating simple PDF forms. We already have robust document assembly in place, and we want to extend its capabilities to integrate with existing PDF forms.
-
can I get this 5 license server - 2012, and me from home or road or artist from home or road got to an ip addy and have access to our 1.2 tb of customer files to edit after hours or fix or pull for meeting, do I need a real servr or can u use a computer
with 1tb had drive and a 2tb plug in dive to access files from anywhere on mac or pc and network all y shop and pull files from anywhere so I don't need a wlan but have an all time go to place to get files-- it will be on 24/7 with battery backup- I need to
get up to date and tonite had to drive to work to pull a file I could have I think gotten with this software-- can anyone help or explain am I getting right thing and will it work its 3 am and I am just back from work, I could have been done at 9 if I have
a server access--THANKS IS ADVANCE--TECH LEVEL- COMPARED TO YOU GUYS A 1- IN GENERAL A 3-4
THANKSHi,
I'm not very clear about the exact requirement.
I assume you would like to:
1. Able to access a share in company from anywhere.
2. Above to use a server from anywhere.
3. Above to use a server in your company from anywhere.
If I'm correct, the solution is Could products or Remote Desktop Service with VPN.
Please refer to Windows Azure to see if a cloud server could help in this situation.
http://azure.microsoft.com/
Also you can use OneDrive to store files on cloud side and you can access it from anywhere.
And for VPN please refer to this article:
Configure a Remote Access VPN Server
http://technet.microsoft.com/en-us/library/cc725734(v=ws.10).aspx
Let us know the one you prefer and we could discuss it more.
If you have any feedback on our support, please send to [email protected] -
Accessing photos from hard drive using photoshop starter edition 3.2
Hi, I have recently bought an external hard drive and have now copied all my photos from my c drive to my external hard drive. I would now like to access my photos directly from the external hard drive as well as download photos from my camera directly onto the external hard drive, can someone please help? I am currently using Adobe Photoshop Starter Edition 3.2 and running Microsoft XP. I read somewhere that I will need to change something in the Organizer, is this possible for Adobe Starter Edition 3.2?
Thanks in advance for your help.
Christina FletcherHi Christina,
The only thing you will encounter in doing is you might have to repeat
the process of bringing the images back into PSA SE because unlike the
Elements Family, it does not have the ability to move things.
I would suggest trying two things:
1. Begin by moving the images and then (AFTER YOU MOVE THE IMAGES) click
on File>Reconnect all files. The problem with this method is you have
reconnect EACH file separately. Not a very pleasant option.
2. (Recommended) If you are not worried about tagging as much, then
simply click on Get Photos>From Folder and then pick the External Drive.
It might force you to pick a certain folder, so I do recommend keeping
them in something like My Picture Ext so that it is easier for you, but
it will do it.
Cheers -
Access resource from other application using JAAS
i use JAAS for autenticate and autorizate in my web application, but i need access a resource from the other application , but this application don�t use JAAS.
How can i acces this resource from other application?
i know need send the parameters JSESSIONID, but , always redirecto the login page.
thank you for your helpyour signon url is consists of the following url http://server.domain.com:port/site/signon.html
Can you ping server.domain.com from your client?
If you can ping it, then make sure your port is added as a rule in the firewall of the server.
Also make sure that the proxy setting of the client have an exception to server.domain.com.
If you cannot ping it, make sure the server and the client are conneted to the same network and make sure the hosts file on the client reflects the ipaddress and the hostname of the server.
Hakan -
Accessing Data from Stored Procedure using CallableStatement
I have created a Stored Procedure as shown , IS it possible to access these data inside my JDBC Program ??
CREATE or replace PROCEDURE getEmpName(EMP_NUM IN NUMBER)
is
CURSOR C1 is select from emp ;*
C2 c1%rowtype;
BEGIN
open c1;
loop
fetch c1 into c2;
exit when c1%NOTFOuND;
end loop;
END ;
*CallableStatement cs = conn.prepareCall("{call getEmpName(?)}");*What do you mean by :
IS it possible to access these data inside my JDBC Program ??JDBC provide/helps to execute a stored proc. when we say executing a proc, it actually executes on DB. So if a proc is written which has in and out parameter. and if does some work based on in parameter and returns the result in out parameter. Here if you mean, like can i read the out parameter and check what it has returned, then yes you can access this data from JDBC.
CREATE or replace PROCEDURE getEmpName(EMP_NUM IN NUMBER)
is
CURSOR C1 is select from emp ;*
C2 c1%rowtype;
BEGIN
open c1;
loop
fetch c1 into c2;
exit when c1%NOTFOuND;
end loop;
END ;
/But in your above proc it has only in parameter, no out parameter and has only select. so you could execute the proc using JDBC. -
Accessing data from schema when using ftp adapter
Hi all,
Below is an example of the data i receive from my ftp adapter, i read the entire file into my schema:
<Header>
<batch_filler1>*BATCH</batch_filler1>
<batch_number>08110</batch_number>
<batch_date>20090417</batch_date>
<batch_extra>KW1310</batch_extra>
</Header>
-<Detail>
<cost_centre_comment>W1310</cost_centre_comment>
<cost_centre_code_comment>01310</cost_centre_code_comment>
<amount>-3000.00</amount>
<filler1/>
<payment_method>T</payment_method>
<description>TSHWANE MULTI SKILL FEATURE CONTRACTORS</description>
<receipt_number>338516</receipt_number>
<date_comment>20090417</date_comment>
<bill_to_cust_id>11748885</bill_to_cust_id>
<ref_value>999999</ref_value>
<detail_extra/>
*</Detail>*
-<Detail>
<cost_centre_comment>W1310</cost_centre_comment>
<cost_centre_code_comment>01310</cost_centre_code_comment>
<amount>-1870.00</amount>
<filler1/>
<payment_method>T</payment_method>
<description>UNIVERSITY OF SOUTH UNIVERSITY SOOUTH AF</description>
<receipt_number>338517</receipt_number>
<date_comment>20090417</date_comment>
<bill_to_cust_id>10414916</bill_to_cust_id>
<ref_value>048630</ref_value>
<detail_extra/>
*</Detail>*
-<Detail>
<cost_centre_comment>W1310</cost_centre_comment>
<cost_centre_code_comment>01310</cost_centre_code_comment>
<amount>-300.00</amount>
<filler1/>
<payment_method>T</payment_method>
<description>VET & AGRIC CONSULTA RB JACKSON</description>
<receipt_number>338549</receipt_number>
<date_comment>20090417</date_comment>
<bill_to_cust_id>11462639</bill_to_cust_id>
<ref_value>048893</ref_value>
<detail_extra/>
*</Detail>*
-<Trailer>
<cost_centre>W801408014</cost_centre>
<amount>18467.13</amount>
<trailer_extra>GROOTTOTAAL VIR W8014/8014 OP 20090417 BONDEL 08110 08110 20090417</trailer_extra>
</Trailer>
As you can see i have multiple data for Detail, i need to loop through my schema for Detail and take the values and pass it on. How do you reference a particular Detail in bpel ?
An example would be if i want the 2nd Detail amount which is -300.00, do i reference it with a [1] as in arrays ?
Thanksit depends on what you want to do. Generally waht people do is map to a partner link, e.g. another service. In most situations the same structure is required for the target.
The transform activity is the best way to many multi nodes. You have the choose / if conditions that allow you to test conditions, if they match then you perform the map.
One thing that catches people out is the use of the for-each, if this is not specified only one row is mapped.
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28987/phase6.htm#sthref405
cheers
James -
Access Oracle from SQL Server using Oracle Provider for OLE DB
Using
- SQL Server 2000 SP4
- Oracle 10g
- Oracle10g Provider for OLE DB Version 10.1.0.4.0
- Oracle 10g client
Able to create linked server in SQL server to Oracle 10g and display list of tables in Oracle. However, when execute query, it gives
Server: Msg 7320, Level 16, State 2, Line 1
Could not execute query against OLE DB provider 'OraOLEDB.Oracle'.
OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' ICommandText::Execute returned 0x80040155].
Any idea what is the problem ?I'm having the same error message...But I'm connecting to a Oracle 8i DB......
I think this has to do with SP4 for SQL....I will test this tonight.... -
Accessing dataprovider from mxml component.
Hi,
I have a dataprovider and would like to access the data from mxml component.
Basically I have
Actionscript:
Bindable]
private var dp:ArrayCollection;
private
function dp_handler(e:ResultEvent):void
dp = e.result as ArrayCollection;
I wanted to access dp from mxml component using
<mx:script>
<![CDATA[
mx.core.Application;
lbl.text = Application.application.dp.getItemAt(0).fieldname;
]]>
<mx:Label
id="lbl" x="51" y="136" />
It keeps telling me dp is unknow property. Any idea what am I doing wrong?Thanks Greg. That fixed it!
-
Dear all,
As stated in the question, what does {tag_image_value} from webapps return when no image has been uploaded by users. I understand that there is an OnError function that can be called if there isn't any image. However it does not do so.
I am creating a program which will check to see if {tag_image_value} contains an image. If it does not, the error will call an external javascript to remove the div such that it removes any subsequent codes in the later parts of the codes. Below is part of the program:
I have tried to compare the value to NULL, 0, -1 and "" using if-else functions but they do not work. The slideshow wrapper is part of the code from the following theme: 2027 E Colfax Ave Denver
The theme will cycle through the pictures, my purpose is to remove the pictures if the images are not present.
<!------------------------------------------------ Remove picture if not uploaded ------------------------------------------------>
<script language="JavaScript">
function noimg1() {
$( "#shownpicture1" ).remove();
return;
function noimg2() {
$( "#shownpicture2" ).remove();
return;
function noimg3() {
$( "#shownpicture3" ).remove();
return;
function noimg4() {
$( "#shownpicture4" ).remove();
return;
</script>
<!------------------------------------------------ End of remove picture if not uploaded ------------------------------------------------>
<div class="slideshow-wrapper slider">
<div class="preloader"></div>
<ul data-orbit="data-orbit" data-options="bullets:false;animation:fade;">
<div style="display: block;" id="shownpicture1">
<li class="active" style="z-index: 4; margin-left: 0%; opacity: 1;"><img alt="{tag_name_nolink}" onerror="noimg1()" src="{tag_image 1_value}" /></li>
</div>
<div style="display: block;" id="shownpicture2">
<li style="z-index: 2; margin-left: 100%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg2()" src="{tag_image 2_value}" /></li>
</div>
<div style="display: block;" id="shownpicture3">
<li style="z-index: 2; margin-left: 0%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg3()" src="{tag_image 3_value}" /></li>
</div>
<div style="display: block;" id="shownpicture4">
<li style="z-index: 2; margin-left: 0%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg4()" src="{tag_image 4_value}" /></li>
</div>
</ul>
</div>
<!-- //.slideshow-wrapper -->When I put in the code it doesnt work. I went into the page to check and it seems that the preloader changes some elements of the code :
<div class="slideshow-wrapper slider">
<div class="preloader"></div>
<div class="orbit-container">
<ul class="orbit-slides-container" data-orbit="data-orbit" data-options="bullets:false;animation:fade;" style="height: 26px;">
<li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;">
<img alt="{tag_name_nolink}" onerror="noimg1()" src="">
</img>
</li>
<li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;">
<img alt="{tag_name_nolink}" onerror="noimg2()" src=""></img>
</li>
<li class="active" style="z-index: 4; margin-left: 0%; opacity: 1;">
<img alt="{tag_name_nolink}" onerror="noimg3()" src=""></img>
</li>
<li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;"></li>
</ul>
<a class="orbit-prev">
<span></span>
</a>
<a class="orbit-next">
<span></span>
</a>
<div class="orbit-timer paused">
<span></span>
<div class="orbit-progress" style="width: 0%;"></div>
</div>
<div class="orbit-slide-number">
<span></span>
of
<span></span>
</div>
</div>
</div>
I tried putting this into the top of my template layout before the code starts:
<script>
$('.slideshow-wrapper slider .orbit-container ul li img').each(function(){
if( $(this).attr('src') == "" ){
$(this).parent.remove();
$('.slideshow-wrapper slider ul li img').each(function(){
if( $(this).attr('src') === '' ){
$(this).parent.remove();
$('.slideshow-wrapper slider ul li img').each(function(){
if( $(this).attr('src') == '' ){
$(this).parent.remove();
</script>
All 3 variants cannot work. Is there something wrong with the way I do the scripting? -
Accessing COM from Java using JCOM
When I tried to access a simple COM component with the com2java generated files,
I got the following error. Can someone help me with this?
<Nov 8, 2001 3:37:24 PM CST> <Error> <HTTP> <[WebAppServletContext(366665,Defaul
tWebApp,/DefaultWebApp)] Servlet failed with IOException
AutomationException: 0x80070005 - General access denied error
at com.bea.jcom.bm.b(bm.java)
at com.bea.jcom.Rpc.a(Rpc.java)
at com.bea.jcom.bf.a(bf.java)
at com.bea.jcom.Dispatch.createDispatch(Dispatch.java)
at com.bea.jcom.Dispatch.<init>(Dispatch.java)
at com.ak.jcomtest._JComTestProxy.<init>(_JComTestProxy.java:33)
at com.ak.jcomtest.JComTest.<init>(JComTest.java:105)
at com.ak.jcomtest.JComTest.<init>(JComTest.java:77)
at jsp_servlet.__jcom._jspService(__jcom.java:91)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>I did everything earlier except the second point you mentioned. Everything started
working as soon as I added a line to call com.bea.jcom.AuthInfo.setDefault() method.
I didn't think this was necessary since I already gave permissions to that user
using DCOMCNFG. Thanks for you help.
"BEA jCOM Support" <[email protected]> wrote:
>
Your jcom.log indicates you are trying to access the COM object with
Authentication
"BXDOMAIN/akumar". Add this user to the default access/launch permissions
(using
DCOMCNFG) on the machine hosting the COM object.
Also, make sure you put this in your Java code:
com.bea.jcom.AuthInfo.setDefault("BXDOMAIN", "akumar", "<password>");
"Anil Kumar" <[email protected]> wrote:
Here's the log
jCOM checkconfig 6.1 Beta - Copyright (C) 2001 BEA Systems, Inc. Copyright
(C)
1999-2001 Linar Ltd. and Intrinsyc Software, Inc. http://www.bea.com/jcom/
--- Checking OS ---
Microsoft Windows NT 5.0 (Build: 2195) Service Pack 2
--- Checking Time ---
Time: 15:20:49
Date: 11/13/01
--- opening typelib: JComTestProject.exe ---
Class Name = JComTest
Class Id = 742db055-77df-404a-a579-e0cbfd3007a7
Class Name = JComTestProject.JComTest
AppID = {742DB055-77DF-404A-A579-E0CBFD3007A7}
{742DB055-77DF-404A-A579-E0CBFD3007A7} = JComTestProject.JComTest
Implemented Categories = no value(259)
{40FC6ED5-2438-11CF-A3DB-080036F12502} = no value(259)
LocalServer32 = D:\Program Files\Microsoft Visual Studio\VB98\Projects\JCom\JComTestProject.exe
("D:\Program Files\Microsoft Visual Studio\VB98\Projects\JCom\JComTestProject.exe"
file exists)
ProgID = JComTestProject.JComTest
Programmable = no value(259)
TypeLib = {E0BF28D6-6347-4017-8D2E-52B145CE47DA}
VERSION = 2.0
--- Checking Username ---
USER:WARANGAL\akumar
GROUP:WARANGAL\None
GROUP:\Everyone
ALIAS:WARANGAL\ORA_DBA
ALIAS:BUILTIN\Administrators
ALIAS:BUILTIN\Users
ALIAS:BUILTIN\Power Users
GROUP:\LOCAL
GROUP:NT AUTHORITY\INTERACTIVE
GROUP:NT AUTHORITY\Authenticated Users
--- Checking DCOM settings ---
DCOM version supports accessing Java from COM
EnableDCOM = Y
DefaultLaunchPermission:
Access enabled for NT AUTHORITY\SYSTEM
Access enabled for NT AUTHORITY\INTERACTIVE
Access enabled for BUILTIN\Administrators
--- Connecting to SCM ---
Connecting to SCM on localhost
Connect successful
--- IP configuration ---
Hostname = warangal.bxsys.com
Address 0 = 172.18.32.102
Connecting to SCM on 172.18.32.102
Connect successful
Address 1 = 169.254.25.129
Connecting to SCM on 169.254.25.129
Connect successful
--- Winsock Information ---
Version: 202
Description: WinSock 2.0
--- Environment Variables ---
ALLUSERSPROFILE=C:\WINNT\Profiles\All Users
APPDATA=C:\WINNT\Profiles\anil\Application Data
BOOKSHELF=D:\ifor\WIN\BIN\EN_US
CLASSPATH=.;d:\mystuff\javastuff\jarz;d:\weblogic\lib\weblogic510sp6boot.jar;d:/jdk122/javamail112/mail.jar;d:/jdk122/jaf-1.0.1/activation.jar;d:/jdk122/jsdk2.1/server.jar;d:/jdk122/jsdk2.1/servlet.jar;D:\WebLogicCommerceServer3.2\classes;D:\Oracle\Ora81\jdbc\lib\classes111.zip;D:\weblogic\lib\WebLogic_RDBMS.jar;D:\Oracle\Ora81\orb\classes\yoj.jar;D:\Oracle\Ora81\orb\classes\share.zip
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=WARANGAL
ComSpec=C:\WINNT\system32\cmd.exe
HELP=D:\IBMVJava3.0\eab\;D:\IBMVJava20\eab\;D:\ifor\WIN\BIN
HOMEDRIVE=C:
HOMEPATH=\
I4_INSTALL_DRIVE=D:
I4_LANG=EN_US
IPF_PATH32=D:\ifor\WIN\BIN\EN_US
J2EE_CLASSPATH=D:\j2ee121\lib\cloudscape\cloudspace.jar;
JAVA_HOME=d:\jdk13
LOGONSERVER=\\WARANGAL
NLSPATH=D:\ifor\LS\MSG\%L\%N
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=d:\jdk13\bin;D:\Oracle\Ora81\bin;D:\Oracle\Ora81\orb\bin;C:\WINNT;C:\WINNT\system32;C:\WINNT\system32\WBEM;d:\jdk13\bin;D:\CVS;D:\ifor\WIN\BIN;D:\ifor\WIN\BIN\EN_US;D:\JavaStuff\jakarta-ant-1.3\bin;D:\BEA\wlserver6.1\jcom\bin;D:\WebGain\VisualCafe\Java2\Bin;C:\Program
Files\Common Files\WebGain Shared;D:\WebGain\VisualCafe\Bin;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0803
ProgramFiles=C:\Program Files
PROMPT=$P$G
StarTeam=D:\StarTeam 4.0\StarTeam.ini
StarTeamApp=D:\StarTeam 4.0
STLicense=D:\StarTeam 4.0
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=D:\TEMP
TMP=D:\TEMP
USERDOMAIN=WARANGAL
USERNAME=akumar
USERPROFILE=C:\WINNT\Profiles\anil
windir=C:\WINNT
WorkstationID=D:\StarTeam 4.0\ConnectionManager.ini
"Damon Hon" <[email protected]> wrote:
hi anil,
can you run the checkconfig tool as well
checkconfig /typelib <path to tlb> config.log
and post the log
thanks
damon
"Anil Kumar" <[email protected]> wrote in message
news:[email protected]...
Hi Damon,
I am just calling the default constructor of the com2Java generatedclass(in this
case, it is JComTest.class) from a simple JSP. I am not calling anymethods on
this component. Here are the contents of the log file.
jCOM version 6.1 Beta logger started in immediate mode at Tue Nov
13
12:32:41
CST 2001 at level 3 (VERBOSE)
License:
Classloader is bootstrap
java.version is 1.3.1
java.vendor is Sun Microsystems Inc.
java.class.path is..;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;D:\BEA\wlserver6.1\jcom\lib\jcom.
jar;D:\Projects\JCom\src
java.library.path isD:\BEA\jdk131\bin;.;C:\WINNT\System32;C:\WINNT;.\bin;d:\jdk13\bin;D:\Oracle\
Ora81\bin;D:\Oracle\Ora81\orb\bin;C:\WINNT;C:\WINNT\system32;C:\WINNT\system
32\WBEM;d:\jdk13\bin;D:\CVS;D:\ifor\WIN\BIN;D:\ifor\WIN\BIN\EN_US;D:\JavaStu
ff\jakarta-ant-1.3\bin;D:\BEA\wlserver6.1\jcom\bin;D:\WebGain\VisualCafe\Jav
a2\Bin;C:\Program
Files\Common Files\WebGain Shared;D:\WebGain\VisualCafe\Bin;
os.name/os.arch/os.version is Windows 2000/x86/5.0
1005676361251 +: New RemOxidResolver initialised for Net={{ 0x7,127.0.0.1[135]}}
Sec={}
1005676361271 +: Looking for free connection handler to 127.0.0.1[135]for
BXDOMAIN/akumar
1005676361311 : OXID Resolver started. Listening on port 3895
1005676361321 : Object Exporter binding is Net={{ 0x7,172.18.32.102[3896]},
{ 0x7, 169.254.25.129[3896]}} Sec={{ 0xa, 0xffff, }, { 0x0, 0x0,
OXID
is 1005676361311
1005676361331 +: Opening a TCP/IP connection to 127.0.0.1[135] withauth
BXDOMAIN/akumar
1005676361361 : Sending RemoteActivation request to Net={{ 0x7,127.0.0.1[135]}}
Sec={} to activate cls/iid742db055-77df-404a-a579-e0cbfd3007a7/fbcd1246-3557-4b95-8046-cfec093310b5
1005676361832 : Sending IRemoteActivation::RemoteActivation request,with
RPC
call id 2 on ipid null
1005676361892 : Received the response toIRemoteActivation::RemoteActivation
request, with RPC call id 2
1005676361902 +: Remote server's version: 5.1
1005676361942 *: Error activating742db055-77df-404a-a579-e0cbfd3007a7/fbcd1246-3557-4b95-8046-cfec093310b5:
AutomationException: 0x80070005 - General access denied error
"Damon Hon" <[email protected]> wrote:
hi anil,
can you post the snippet of java code that is calling the methods
from your COM object and post the following logs
jcom.log
- In your java code, add the following line to the start of your
initialization code.
com.bea.jcom.Log.logImmediately(3, "c:\\temp\\jcom.log");
config.log
- Run the checkconfig utility to generate this log
checkconfig /typelib <path to tlb> config.log
thanks
damon
"Anil Kumar" <[email protected]> wrote in message
news:[email protected]...
Thanks for the info. I had already done this before. I checked
everything
a dozen
times. I am not sure why this is happening. Please let me know,
if
there
are any
other ideas.
"Damon Hon" <[email protected]> wrote:
hi anil,
The exception you are getting, indicates that your java client
does
not
have
sufficient permissions to access your com component.
if you are running your java code and com component on the same
machine,
- make sure that your jcom/bin directory is in your path environment
variable
- run the DCOMCNFG tool to configure accesss for the interactiveuser
or the
user you are logged in as.
if you are not running your java code under windows, add this
call
in
your
java code:
com.bea.jcom.AuthInfo.setDefault("nt domain", "user", "password");
- use the DCOMCNFG tool to configure has dcom access to the
com
component for this user
let me know if this helps
damon
"Anil Kumar" <[email protected]> wrote in message
news:[email protected]...
When I tried to access a simple COM component with the com2java
generated
files,
I got the following error. Can someone help me with this?
<Nov 8, 2001 3:37:24 PM CST> <Error> <HTTP><[WebAppServletContext(366665,Defaul
tWebApp,/DefaultWebApp)] Servlet failed with IOException
AutomationException: 0x80070005 - General access denied error
at com.bea.jcom.bm.b(bm.java)
at com.bea.jcom.Rpc.a(Rpc.java)
at com.bea.jcom.bf.a(bf.java)
at com.bea.jcom.Dispatch.createDispatch(Dispatch.java)
at com.bea.jcom.Dispatch.<init>(Dispatch.java)
at
com.ak.jcomtest._JComTestProxy.<init>(_JComTestProxy.java:33)
at com.ak.jcomtest.JComTest.<init>(JComTest.java:105)
at com.ak.jcomtest.JComTest.<init>(JComTest.java:77)
at jsp_servlet.__jcom._jspService(__jcom.java:91)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> -
[Dynamic Tabs UI Shell Template] Access AM from main page
Hi
I am using JDeveloper 11.1.2.1
I have a doubt about UI Shell Template. I'm using this template and this user data map implementation to store user preferences:
http://andrejusb.blogspot.com.es/2012/05/solution-for-sharing-global-user-data.html
I use this solution because I need to share the user language in the view layer and the BC layer (some viewObjects depend of language)
I have a use case where I need to change the user data map from a managed bean (the user changes your favorite language from UI). Because I use the UI Shell template with several BTF in ADF libraries I don't know how can I access the application modules of these BTFs or the DataControls from the managed bean in the main project that contain the home page based on the UI Shell Template.
Any suggestion will be appreciated.
Thank youHi User,
you need to look for customizing the UI shell template.
here are few articles may help you to customize the default UI shell template.
Techie gossip: ADF talk: customize the logo inside Dynamic Tab UI Shell
Andrejus Baranovskis's Blog: Building Custom UI Shell with ADF 11g R2 -
Access, execute mof from pull server using release management
I have created a DSC pull server and deployed a mof to this server.
I could access the mof from pull server using below script and it executed successfully from powershell ISE.
1.
Configuration
C_Pull_Webserver
2.
3.
LocalConfigurationManager
4.
5.
AllowModuleOverwrite=$true;
6.
ConfigurationID
= "db00cf80-cb0e-4537-8344-90e3906e0b34";
7.
RefreshMode
= "Pull";
8.
DownloadManagerName
= "WebDownloadManager";
9.
RefreshFrequencyMins
= 15;
10.
ConfigurationModeFrequencyMins
= 30;
11.
ConfigurationMode
= "ApplyAndAutoCorrect";
12.
DownloadManagerCustomData
= @{
13.
ServerUrl
= "http://myserver:8080/PSDSCPullServer/PSDSCPullServer.svc";
14.
AllowUnsecureConnection
= "TRUE" }
15.
16.
17.
#Create MOF to push
18.
C_Pull_Webserver
19.
#push the MOF: this will engage pull mode
20.
$FilePath
= (Get-Location
-PSProvider FileSystem).Path
+ "\C_Pull_Webserver"
21.
Set-DscLocalConfigurationManager
-ComputerName "CHN-AERO-VM13"
-Path $FilePath
-Verbose
I removed the below lines from the above script
19.
#push the MOF: this will engage pull mode
20.
$FilePath
= (Get-Location
-PSProvider FileSystem).Path
+ "\C_Pull_Webserver"
21.
Set-DscLocalConfigurationManager
-ComputerName "CHN-AERO-VM13"
-Path $FilePath
-Verbose
andand tried to access it from release management and i get the below error
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> Microsoft.TeamFoundation.Release.Common.Helpers.OperationFailedException:
Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
Failed to apply configuration in the DSC script to the computer. Consult the Logs below for details of the error.
System.Management.Automation.RemoteException: Unable to find the mof file. Make sure you are generating the MOF in the DSC script in the current directory.
at System.Management.Automation.PowerShell.CoreInvokeRemoteHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)Don't know. How did you generate the MOF?
When I run this it works just fine:
Configuration C_Pull_Webserver{
LocalConfigurationManager{
AllowModuleOverwrite=$true;
ConfigurationID = "db00cf80-cb0e-4537-8344-90e3906e0b34";
RefreshMode = "Pull";
DownloadManagerName = "WebDownloadManager";
RefreshFrequencyMins = 15;
ConfigurationModeFrequencyMins = 30;
ConfigurationMode = "ApplyAndAutoCorrect";
DownloadManagerCustomData = @{
ServerUrl = "http://myserver:8080/PSDSCPullServer/PSDSCPullServer.svc";
AllowUnsecureConnection = "TRUE"
C_Pull_Webserver
¯\_(ツ)_/¯ -
How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.
Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.
Maybe you are looking for
-
Unresponsive Ipod Nano 2nd generation
Hi, I was interested in listening to my ipod through my car's cassette player so one day at Walmart I seen a product that makes this possible. I picked one up and hooked it all up. I don't think I had it connected for 2 minutes, I never got to the po
-
I bought my ipod mini in june, and by mid july, the click wheel all of a sudden was at an angle, i mean the wheel itself was slanting to the left, towards the back track button. I never put much, or any force on my ipod mini click wheel, especially s
-
Create a Table Dynamically in WEB Dynpro Java with diferent type of column
Hi everyone, I have a question if is possible to create a table dynamically in Web Dynpro Java?, depending of the RFC consults create the rows dynamically, ,this table must have diferent type of columns, for example link column (when the user click t
-
FCS showing desktop background images
I recently purchased and installed FCS, I'm running into an issue where the timeline, viewer, browser, and etc are showing the desktop background and cannot figure out what's going on.
-
Hello, Can anyone out there recommend any good third party software that would make large PDF small and retain decent quality? I am unable to achieve what I am looking for with the PDF optimizer and was wondering if there are any other programs out t