Install new Apache module - mod-auth-token?
Hello
Can someone assist with directing me to a good tutorial for adding a new module to Apple's Apache install under OSX 10.5.8 Server.
Looking to install and use the mod-auth-token module and not to sure how to install this to Apple's Apache.
Thanks,
Tim
I have the same problem like you??? You already know the solution?
Similar Messages
-
After installing new memory modules cannot boot windows
I have a G60-458DX with 4GB of RAM; (two 2GB modules) running Vista. Spec's say that I can install up to 8GB.
After I installed two 4GB modules Windows Vista would not boot. The power light was on but the software would not boot. Could not turn off the power until I uplugged power cord and pulled the battery. Put the battery and the two 2GB modules back in and had no problem with booting up the software. The modules I tried to install were new (never used) and the same specifications as the 2GB modules. Is there any way I can check the new modules?Hi,
If you check Page 52 of your Maintenance & Service Guide this would also indicate a maximum of 4Gb as the largest modules specified are 2GB for each slot.
Definetely worth checking further, but I have a feeling that this apparent 4Gb limit is the problem.
All the best,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
After installing new RAM module macbook will not wake without re-start
Im having a little problem with my macbook. It operates normally and the new RAM appears to function as normal except when the computer is in sleep mode, it appears to sleep as normal but when the lid is raised or the power button depressed to wake the system up it will not do so without a full re-start. Any help is much appreciated. I have tried re-setting the PRAM and performing the usual maintenance functions from OnyX.
Thank you.Did replacing the RAM fix the problem? I am also experiencing the same issue. The RAM works great when the computer is running but occasionally I cannot get the computer out of sleep mode and must reset the entire machine. Is the only cause of this a bad stick of RAM?
-
How to install Apache module mod_rewrite
Kindly tell me, how to install Apache module mod_rewrite which is a standard module in the Oracle HTTP Server (OHS).. I have installed OAS(10.1.2) but mod_rewrite module is missing..
Edited by: SrinivasanSeniorDBA on 26 Feb, 2010 2:42 PMGot it
-
Trying to install new upgrade to my iphone 4 and it put the phone in recovery mode. How do I get it out?
i have this problem too! have you fixed yours yet?
-
I have new memory modules, 2x2 2GB DDR2 --800 SODIMM MAC to install into I-Mac early2008 ,currently with 1 GB DDR2 SDRAM. How do I find the memory slots ? I have the 4GB replacement modules from Crucial and general instr's., not specific to I-Mac.
https://www.ifixit.com/Guide/iMac+Intel+24-Inch+EMC+2111+RAM+Replacement/5196
-
What steps are required to install and load a new STREAMS module?
I have a new STREAM module based on sample code from the STREAMS Programming Guide. Everything compiles correctly but modload is failing. I get the error "can't load module: No such file or directory" everytime. I've tried fully qualifing the path, coping my module to the /kernel and /kernel/strmod directories, with and without the -p option. Nothing is working.
The only thing I can think of is that additional steps must be necessary to make the module available to the system. Can anyone give me some pointers here?
I am running Solaris 10 on an amd64 system.I've tried copying it to /kernel, /kernel/strmod, /kernel/strmod/amd64 and the corresponding /usr directories with no luck.
I found a reference in one of the forums about unresolved externals causing the same issue, but I can not find any log entries to indicate why modload is failing.
Is add_drv required for a STREAMS module? From the doucmentation it looks like this is only required for device drivers. My module is a straight STREAM (modlstrmod) module. -
PowerMac G4 having problems with new RAM modules!
dear all,
I’ve recently got 2 512 MB Ram module from a British eBay dealer, to be used on 2 different but very similar PowerMac G4 AGP Graphichs 400 MHz machines.
I installed the first module in my father’s Mac, and it works fine, no problems of any sort. Then, a few days later, I installed the other module in my PowerMac, and immediately it started behaving very erratically: some programs didn’t open at all and others crashed with no warning, I tried to run Rember but it soon get stuck. I assumed the Ram module was faulty, emailed the dealer (who’s been very helpful) and then sent it back to get a replacement. The new module arrived yesterday, I installed it... and it was even worse: as some programs didn’t open as soon as the new module was installed, I rebooted the PowerMac but it hasn’t been able even to load the OS anymore, it just stopped at the blue screen forever, once came out a black screen and a Darwin login, but nothing else. As soon as I removed the Ram module the PowerMac started to work perfectly again.I'd assume again there's something wrong in the Ram module, but isn't it too much unlucky to get 2 faulty modules one after the other, or maybe the problem could somewhere else, in my PowerMac?!?
Unfortunately I can't test the new module in my father's machine, as we live 700 kms apart.
My hardware details are:
Power Mac G4
Model: PowerMac3,3
CPU: PowerPC G4 (2.9)
1 CPU
CPU Speed: 400 MHz
L2 Cache (per CPU): 1 MB
Memory: 896 MB
Bus speed: 100 MHz
Boot ROM Version: 4.2.8f1
thanks!ok, I've now tried every possible combination... but with no success
First, taking out one of the "old" 128 MB I realized it was one of the High density DIMMs (chips on one side only) Japamac was mentioning, in total 2 of the 128 modules were like this. However, taking out one or both of them, or even having only the "new" 512 MB module in, hasn't changed much, sometimes the OS booted, sometimes not but there were always some programs not opening/crashing and Rember got stuck with an error message. With just the "new" module the booting stopped at the blue screen (only blue, no apple splash screen in the centre).
With the new module plus one of the old 128 MB modules (the one with chips on both sides) Rember got stuck very soon, and the error message was:
Memtest version 4.2 (32-bit)
Copyright (C) 2004 Charles Cazabon
Copyright (C) 2004, 2005, 2006 Tony Scaminaci (Macintosh ports)
Licensed under the GNU General Public License version 2 only
Mac OS X 10.4.11 (8S165) running in multiuser mode
Memory Page Size: 4096
System has 1 PPC processor(s) with Altivec
Requested memory: 434MB (455589888 bytes)
Available memory: 434MB (455589888 bytes)
Allocated memory: 434MB (455589888 bytes) at local address 0x02008000
Attempting memory lock... locked successfully
Partitioning memory into 2 comparison buffers...
Buffer A: 217MB (227794944 bytes) starts at local address 0x02008000
Buffer B: 217MB (227794944 bytes) starts at local address 0x0f946000
Running 1 test sequence... (CTRL-C to quit)
Test sequence 1 of 1:
Running tests on full 434MB region...
Stuck Address : setting 1 of 16testing 1 of 16setting 2 of 16testing 2 of 16
I guess all this confirm the "new" module is faulty, I'll soon email the dealer
Thanks to everybody for the help! -
Hi, all,
I am setting up an Https connection over apache and try to use mod_ssl.so to
bridge with weblogic.
I can make apache(modssl)-weblogic work(proxy all request:http/https to
weblogic 7001 port). No problem.
But i can't get info of my certificate in https connection at my weblogic
server end. I am wondering if I should install mod_wl_ssl.so module instead
of regular mod_wl.so. But I can't find any document of its install
instructment.
Or alternatively, is there any way I can get those ssl relative properties
in apache-weblogic bridge?
Or is it possible to get mod_wl.so source code?
Many thanks in advance!
XiaodanNot, not, I CAN get the certificate in weblogic alone. The servlet works
correctly.
My problem is when I access the same servlet via apache proxy, I CAN'T get
the certificate. That's the problem!
Michael Girdley <[email protected]> wrote in message
news:[email protected]..
>
>
We do have the FAQ on this question. It shows you how to get the
certificate out of the requests inside of your WebLogicapplication --check
the documentation for more information.
Michael Girdley
BEA Systems Inc
"Xiaodan Zhu" <[email protected]> wrote in message
news:[email protected]..
Hi, all,
I am setting up an Https connection over apache and try to use
mod_ssl.so
to
bridge with weblogic.
I can make apache(modssl)-weblogic work(proxy all request:http/https to
weblogic 7001 port). No problem.
But i can't get info of my certificate in https connection at my
weblogic
server end. I am wondering if I should install mod_wl_ssl.so moduleinstead
of regular mod_wl.so. But I can't find any document of its install
instructment.
Or alternatively, is there any way I can get those ssl relative
properties
in apache-weblogic bridge?
Or is it possible to get mod_wl.so source code?
Many thanks in advance!
Xiaodan -
Oracle 9i Lite Mobile Server deploye Problem As Apache Module
I am trying to get the Oracle9i Lite Mobile Server run as a Module under Apache.
my platform is Linux 7.2, which of course is documented as an option.
I managed to install the mobile server and the following document is
the latest from ORACLE site. and is very useful.
http://technet.oracle.com/docs/products/lite/doc_library/release501/readme.htm#new
I have one problem to overcome the module to load in Apache
'libwtgapach.so'
is the required shared library.
This does not load due to following error,
Cannot load /var/ORACLE/mobile/server/bin/libwtgapach.so into server:
/var/ORACLE/mobile/server/bin/libwtgapach.so: undefined symbol:
ap_global_ctx
All the libraries can be resolved here is the ldd ( link map )
ldd libwtgapach.so
liborafc.so => /var/ORACLE/mobile/server/bin/liborafc.so (0x40007000)
libjvm.so => /var/ORACLE/jdk/jre/lib/i386/classic/libjvm.so
(0x4002a000) libhpi.so =>
/var/ORACLE/jdk/jre/lib/i386/green_threads/libhpi.so (0x400bd000)
libdl.so.2 => /lib/libdl.so.2 (0x400dd000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400e1000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2
(0x400f7000)
libm.so.6 => /lib/i686/libm.so.6 (0x40139000)
libc.so.6 => /lib/i686/libc.so.6 (0x4015c000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40297000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
I found this post explaining to recompile Apache
This actually means you installed mod_ssl as a DSO, but
. without rebuilding Apache with EAPI. Because EAPI is a
requirement for mod_ssl, you need an extra patched Apache
(containing the EAPI patches) and you have to build this
Apache with EAPI enabled (explicitly specify --enable-rule=EAPI
at the APACI command line).I recompiled apache with the following
./configure --prefix=/usr/local/ssl-apache/httpd-2.0.39
--enable-rule=EAPI ; make ; make install
I still get the same error when I try to load the module.Am I missing
something?
Any help is deeply appreciated.
-- ajithScott, I have yet to get WTG server to work as an NT service when loaded as an Apache module.
We've had to load it into a non-service based Apache server (one that runs from the command line in a MS-DOS prompt window). This is on XP Pro.
We've switched to running our WTG server on Linux. -
Installing the Apache HTTP Server Plug-In as a Dynamic Shared Object
My environment is: Windows 2000 Server SP3 + Apache 2.0.45 + WebLogic 7.0 SP2
I followed the install guide.
1. Locate the shared object file for your platform. >>> No problem
2. Enable the shared object. >>> No problem
3. Install the Apache HTTP Server Plug-In in the Apache server with a support
program called apxs (APache eXtenSion) that builds DSO-based modules outside of
the Apache source tree, and adds the following line to the httpd.conf file:
>>> I don't know how to do this. where can I find apxs,
>>> and should I add "AddModule mod_so.c" in httpd.conf
>>> I did it, but Apache -t tell me:
>>> Syntax error on line 173 of D:/Program/Apache/Apache2/conf/httpd.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not incl
uded in the server configuration
I don't understand the 4th step, where can I find 'perl' and how to use it?
thanks.For Apache 2.x I think you use LoadModule instead of AddModule. That's what
the docs say anyway.
"muli" <[email protected]> wrote in message
news:3ed558aa$[email protected]..
>
My environment is: Windows 2000 Server SP3 + Apache 2.0.45 + WebLogic 7.0SP2
>
I followed the install guide.
1. Locate the shared object file for your platform. >>> No problem
2. Enable the shared object. >>> No problem
3. Install the Apache HTTP Server Plug-In in the Apache server with asupport
program called apxs (APache eXtenSion) that builds DSO-based modulesoutside of
the Apache source tree, and adds the following line to the httpd.conffile:
I don't know how to do this. where can I find apxs,
and should I add "AddModule mod_so.c" in httpd.conf
I did it, but Apache -t tell me:
Syntax error on line 173 ofD:/Program/Apache/Apache2/conf/httpd.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a modulenot incl
uded in the server configuration
I don't understand the 4th step, where can I find 'perl' and how to useit?
>
thanks. -
Exception when starting flex apache module
Hi all,
I'm trying to install the flex apache module on a server but
I get an exception when I start apache.
This are the info relating to my system:
[root@reilabs-www adobe]# uname -a
Linux server 2.6.20-1.2952.fc6 #1 SMP Wed May 16 17:59:13 EDT
2007 i686 i686 i386 GNU/Linux
[root@server adobe]# java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode,
sharing)
[root@rserver adobe]# /opt/adobe/flex_sdk_3/bin/mxmlc
-version
Version 3.0.0 build 477
I get this when I start apache with: service httpd start:
[root@server]# Exception in thread "main"
java.lang.StringIndexOutOfBoundsException: String index out of
range: -1
at java.lang.String.substring(Unknown Source)
at flex2.tools.apache.RemoteApplication.initRequest(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native
Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
Source)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
flex2.tools.apache.RemoteApplication_Stub.initRequest(Unknown
Source)
at flex2.tools.apache.LocalApplication.compile(Unknown
Source)
at flex2.tools.apache.Client.main(Unknown Source)
I followed instruction and I installed the flex_sdk_3 in
/opt/adobe/flex_sdk_3, installed the flex apache module in the same
dir, then I edited the compiler.sh file setting the correct path to
the flex home dir, then I placed in /etc/httpd/conf/htttpd.conf
these lines:
LoadModule flex_module
/opt/adobe/flex_sdk_3/modules/apache/linux/22/mod_flex.so
AddHandler flex .mxml
Can you hint about a possible solution to this problem?
Many thanks in advance, best regards.I am facing the same problem too... Do we have any solution to the problem while apache module for flex falis while it starts with the StringIndexOutofBoundsException ?
-
Error message trying to install new search engines
I am running Firefox 19.0.2 installed yesterday on a new desktop PC at the office. (Old PC failed to boot on Monday.) I have completed most of my customization without difficulty. However, when I try to install new search engines, it doesn't seem to matter which one, I get a pop-up error message:
"Sorry, you need a Mozilla-based browser (such as Firefox) to install a search plug-in."
I had no problems installing new search engines under Firefox 16 3rd quarter of last year when I started this job. Why am I unable to install search engines in FF 19?Hello lafritz65, '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
thank you -
Calling New Function Module from JAVA ISA b2b
I need to call a new function module which accepts some parameters as input and
returns some result parameters back as output.
These returned value needs to be displayed on the JSP pages of ISA B2B applications.
Can someone please guide me and provide code snippet on how to do this?
Thanks in advance.
Points will be awarded for all relevant and helpful answers.Stride,
I did this on CRM ISA 4.0... I used the dev and extension guide as a basis - I think the ISA 5.0 guide has the examples and tutorials in a separate document that can also be downloaded from service.sap.com.
Heres some info on how to do it although I can't guarantee this is the full solution or that it will work the same for ISA 5.0, and I will probably forget a lot of stuff as its been a few years since I did it! I also cant guarantee it is the correct way to do it but it worked! Basically, we built a link into the order overview page to display urls to order tracking websites using an RFC on the backend CRM system. Hope it helps anyway.
1. Create RFC enabled function module in backend.
2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
[code] <backendobject
xmlns:isa="com.sapmarkets.isa.core.config"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<configs>
<!-- customer changes in backendobject-config should be done here by extending/overwriting the base configuration-->
<xi:include
href="$
Template for backend object in customer projects
Concrete implementation of a backend object
This implemenation demonstrates how a backend object
is used to communicate with the CRM system
@see com.ao.isa.backend.boi.Z_AOFuncBackend#getOrderDeliveryTrackingData(java.lang.String)
Interface used to communicate with a backend object
The purpose of this interface is to hide backend implementation details
from the business objects
Returns a vector of Z_OrderDeliverTracking objects containing data to link
to external delivery tracking websites
@param orderNo The sales order document number
@return A vector of order tracking objects
@return
@return
@return
@return
@return
@param string
@param string
@param string
@param string
@param string
/modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
<!-- This is an example customer extension. A new Backend Object is registered in the framework using XCM extension mechanism. -->
<!-- If you write customer extensions you should register your backend objects in the same way. -->
<!-- Please make sure that you use the correct base configuration (e.g. crmdefault for CRM or r3default, r3pidefault for R/3) -->
<config
isa:extends="../config[@id='crmdefault']">
<businessObject
type="Z_AO_Custom"
name="Z_AO_Custom"
className="com.ao.isa.backend.crm.Z_AOFuncCRM"
connectionFactoryName="JCO"
defaultConnectionName="ISAStateless"/>
</config>
</configs>
</backendobject>
[/code]
File com.ao.isa.backend.crm.Z_AOFuncCRM.java looks like this :-
[code] package com.ao.isa.backend.crm;
//jco imports
import java.util.Vector;
import com.ao.isa.backend.boi.Z_AOFuncBackend;
import com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem;
import com.sap.mw.jco.JCO;
import com.sap.mw.jco.JCO.ParameterList;
import com.sapmarkets.isa.core.eai.BackendException;
import com.sapmarkets.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP;
import com.sapmarkets.isa.core.logging.IsaLocation;
public class Z_AOFuncCRM
extends BackendBusinessObjectBaseSAP
implements Z_AOFuncBackend
// initialize logging
private static IsaLocation log =
IsaLocation.getInstance(Z_AOFuncCRM.class.getName());
/* (non-Javadoc)
public Vector getOrderDeliveryTrackingData(String orderNo)
Vector urlData = new Vector();
try
// get Java representation of function module
JCO.Function func =
getDefaultJCoConnection().getJCoFunction(
"Z_BAPI_CRM_ORDER_TRACKING_URLS");
// provide export parameters
ParameterList params = func.getImportParameterList();
params.setValue(orderNo, "ORDER_NO");
func.setExportParameterList(params);
// execute function
getDefaultJCoConnection().execute(func);
// get result table
JCO.Table table =
func.getTableParameterList().getTable("TRACKING_DATA");
int numRows = table.getNumRows();
for (int i = 0; i < numRows; i++)
// get row
table.setRow(i);
// create a new Z_orderdeliverytracking object
Z_OrderDeliveryTrackingItem trackItem =
new Z_OrderDeliveryTrackingItem(
table.getString(0),
table.getString(1),
table.getString(2),
table.getString(3),
table.getString(4));
urlData.addElement(trackItem);
trackItem = new Z_OrderDeliveryTrackingItem();
return urlData;
catch (BackendException bex)
// The following key has to be added to WEB-INF/classes/ISAResources.properties
// in order to see the exception correctly
log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
return null;
[/code]
And file com.ao.isa.backend.boi.Z_AOFuncBackend.java looks like this:-
[code] package com.ao.isa.backend.boi;
//package java.ao.com.ao.isa.backend.boi;
import java.util.Vector;
import com.sapmarkets.isa.core.eai.sp.jco.JCoConnectionEventListener;
public interface Z_AOFuncBackend
public Vector getOrderDeliveryTrackingData(String orderNo);
[/code]
Whilst file com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem.java looks like this:-
[code]
package com.ao.isa.businessobject.order;
// Referenced classes of package com.sapmarkets.isa.businessobject.order:
// PaymentType
public class Z_OrderDeliveryTrackingItem // extends SalesDocument implements OrderData
private String deliveryDocNo;
private String goodsIssuedDate;
private String consignmentNo;
private String status;
private String url;
public Z_OrderDeliveryTrackingItem()
public Z_OrderDeliveryTrackingItem(
String delDocNo,
String GIDate,
String consNo,
String status,
String url)
this.setDeliveryDocNo(delDocNo);
this.setGoodsIssuedDate(GIDate);
this.setConsignmentNo(consNo);
this.setStatus(status);
this.setUrl(url);
public String getConsignmentNo()
return consignmentNo;
public String getDeliveryDocNo()
return deliveryDocNo;
public String getGoodsIssuedDate()
return goodsIssuedDate;
public String getStatus()
return status;
public String getUrl()
return url;
public void setConsignmentNo(String string)
consignmentNo = string;
public void setDeliveryDocNo(String string)
deliveryDocNo = string;
public void setGoodsIssuedDate(String string)
goodsIssuedDate = string;
public void setStatus(String string)
status = string;
public void setUrl(String string)
url = string;
[/code]
3. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification :-
[code] <BusinessObjectManagers
xmlns:isa="com.sapmarkets.isa.core.config"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<!-- customer changes in bom-config should be done here by extending/overwriting the base configuration-->
<xi:include
href="$/modification/bom-config.xml#xpointer(BusinessObjectManagers/*)"/>
<!-- This is an example Business Object Manager. It can act as template for customer written Business Object Managers -->
<BusinessObjectManager
name="Z_AO-BOM"
className="com.ao.isa.businessobject.Z_AOBusinessObjectManager"
/>
</BusinessObjectManagers>
[/code]
File com.ao.isa.businessobject.Z_AOBusinessObjectManager.java looks like this:-
[code] package com.ao.isa.businessobject;
// Internet Sales imports
import com.sapmarkets.isa.core.businessobject.management.BOManager;
import com.sapmarkets.isa.core.businessobject.management.DefaultBusinessObjectManager;
import com.sapmarkets.isa.core.businessobject.BackendAware;
Template for a custom BusinessObjectManager in customer projects
public class Z_AOBusinessObjectManager
extends DefaultBusinessObjectManager
implements BOManager, BackendAware {
// key used for the backend object in customer version of backendobject-config.xml
public static final String CUSTOM_BOM = "Z_AO-BOM";
// reference to backend object
private Z_AOFunc mCustomBasket;
constructor
public Z_AOBusinessObjectManager() {
Method is called by the framework before the session is invalidated.
The implemenation of this method should free any allocated resources
public void release() {
Returns custom business object
public Z_AOFunc getCustomBasket() {
if (mCustomBasket == null) {
mCustomBasket = new Z_AOFunc();
assignBackendObjectManager(mCustomBasket);
return mCustomBasket;
[/code]
And uses file com.ao.isa.businessobject.Z_AOFunc.java which looks like this:-
[code]
package com.ao.isa.businessobject;
// Internet Sales imports
import com.sapmarkets.isa.core.businessobject.BOBase;
import com.sapmarkets.isa.core.businessobject.BackendAware;
import com.sapmarkets.isa.core.eai.BackendObjectManager;
import com.sapmarkets.isa.core.eai.BackendException;
import com.sapmarkets.isa.core.logging.IsaLocation;
// custom imports
import com.ao.isa.backend.boi.Z_AOFuncBackend;
import java.util.Vector;
Template for business object in customer projects
public class Z_AOFunc extends BOBase implements BackendAware
// initialize logging
private static IsaLocation log =
IsaLocation.getInstance(Z_AOFunc.class.getName());
private BackendObjectManager bem;
private Z_AOFuncBackend backendAOBasket;
Returns a reference to the backend object. The backend object
is instantiated by the framework.
@return a reference to the backend object
private Z_AOFuncBackend getCustomBasketBackend()
if (backendAOBasket == null)
//create new backend object
try
backendAOBasket =
(Z_AOFuncBackend) bem.createBackendBusinessObject(
"Z_AO_Custom");
// the backend object is registered in customer version
// of backendobject-config.xml using the 'Z_AO_Custom' type
catch (BackendException bex)
// The following key has to be added to WEB-INF/classes/ISAResources.properties
// in order to see the exception correctly
log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
return backendAOBasket;
This method is needed when a business object has a corresponding
backend object.
public void setBackendObjectManager(BackendObjectManager bem)
this.bem = bem;
Returns a vector of url links for tracking
@return vector of urls
public Vector getOrderDeliveryTrackingData(String orderNo)
// the call is delegated to the CRM aware backend object
return getCustomBasketBackend().getOrderDeliveryTrackingData(orderNo);
[/code]
4. Edit file config.xml in folder project_root\b2b_z\WEB-INF to add custom actions (the section below is just the custom stuff added at the end of the file the Z_orderTracking is the relevant one) :-
[code] <!-- Begin of custom AO action definitions -->
<action path="/b2b/Z_orderTracking" type="com.ao.isa.order.actions.Z_OrderTrackingAction">
<forward name="success" path="/b2b/order/Z_orderTracking.jsp"/>
</action>
<action path="/catalog/Z_displaySVGPage" type="com.ao.isa.catalog.actions.Z_SVGPageAction">
<forward name="success" path="/catalog/Z_SVG_fs.jsp"/>
</action> [/code]
Which points at Java file com.ao.isa.order.actions.Z_OrderTrackingAction.java which looks like this :-
[code] package com.ao.isa.order.actions;
// internet sales imports
import com.sapmarkets.isa.core.BaseAction;
import com.sapmarkets.isa.core.UserSessionData;
// struts imports
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
// servlet imports
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
// Internet Sales imports
import com.ao.isa.businessobject.Z_AOBusinessObjectManager;
import java.util.Vector;
This action acts as a template for customer extensions
public class Z_OrderTrackingAction extends BaseAction
This method is called by the ISA Framework when the
action is executed
public ActionForward doPerform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException
// get user session data object
UserSessionData userSessionData =
UserSessionData.getUserSessionData(request.getSession());
// gettting custom BOM
Z_AOBusinessObjectManager myBOM =
(Z_AOBusinessObjectManager) userSessionData.getBOM(
Z_AOBusinessObjectManager.CUSTOM_BOM);
// get the order number being processed
String orderDocNumber = request.getParameter("orderNo");
// pass the order number back to the page
request.setAttribute("orderNo", orderDocNumber);
if (orderDocNumber != null)
// Get a vector of delivery tracking objects from lower layers (Business Object layer =>
// Business Logic Service Layer)
Vector trackingTable =
myBOM.getCustomBasket().getOrderDeliveryTrackingData(
orderDocNumber);
String error = "";
if (trackingTable != null)
if (trackingTable.size() == 0)
error = "true";
else
error = "false";
else
error = "true";
request.setAttribute("errorMessage", error);
request.setAttribute("trackingTable", trackingTable);
return mapping.findForward("success");
[/code]
5. I added the call to the function module for page orderstatusdetail.jsp in folder project_root\b2b_z\b2b\order to display a custom page Z_orderTracking.jsp in the same folder. To do this I added a link into the HTML to call a JavaScript function that passed the current order number to the /b2b/Z_orderTracking.do actionhandler mapped in the config.xml file.
So, in summary! Create an RFC; define business managers for it in the XML files; create a new Strut action and supporting Java class; create all the Java class for the managers.
I hope this makes some sense!
Gareth. -
Install new fonts in adobe workbench designer 10
I wanted to have the Helvetica and MS Sans sheriff fonts to be listed in designer. Can you please help out it guiding me How to install new fonts in adobe workbench designer 10?
Adobe document services require access to fonts that are installed with the Font Manager Module. This module contains a number of Adobe bundled fonts installed in /usr/sap/<SID>/J<xx>/j2ee/os_libs/adssap/FontManagerService/fonts/adobe.
Create a subdirectory called fonts below the
/usr/sap/<SID>/SYS/global/AdobeDocumentServices/FontManagerServicedirectory
Create a subdirectory called customer below the fonts directory created in the previous step
Copy your font file(s) into the customer directory
Restart the "Document Services Font Manager" for the changes to take effect.Use Visual Admin on the Adobe Document server
i. Expand "Server à Services "
ii. Restart the Document Services Font Manager
Also restart the application com.adobe/AdobeDocumentServices
Expand "Server à Services à Deploy"
Select the "Applications" button at the bottom of the screen
Stop and start the com.adobe/AdobeDocumentServices application
Maybe you are looking for
-
Iphone 3GS has "169..." IP address after replacing old Airport Express
My 3GS is no longer connecting to my home network after replacing my old airport express. Previously my old G5 iMac would have problems connecting to the old airport express, BUT my iPhone 3GS would reliably connect. After installing this new airport
-
How can i get rid of any personas that has been uploaded without my knowledge?
I have updated my firefox to 3.6.10 And it came back in a page showing the personnas.As i did not know what was all about i started touching the icons and found that my toolbar was changing colors. I did not like any of them so i tried to restore my
-
I have a project with stereo music and mono announce track "left filled" onto the right also. After encoding to DVD, some of the music sections seem to dissapear. All the music is softer than it should be. any ideas??? thanks
-
since update yesterday, says no connection to server
-
Can't download i os 6 to my iPad 3g whats up ??!!
can't download i os 6 to my iPad 3g whats up ??!!