Help debugging an Apache module compile
Has anyone every had any experience adding in modules to apache that use openssl?
We have had great luck installing this module in particular "mod_cosign" with Apache 1.3 standalone but we are having a heck of a time compiling it with OHS.
The module we are using is from:
http://webapps.itcs.umich.edu/cosign/index.php/Cosign_Wiki:Test_install_HOWTO#Compilation_and_Installation
We are compiling this with openssl-0.9.7e
And here is the error we get when we try to start apache
.../Apache/Apache/bin/apachectl startssl: execing httpd
Syntax error on line 245 of .../Apache/Apache/conf/httpd.conf:
Cannot load .../Apache/Apache/libexec/mod_cosign.so into server: ld.so.1: .../Apac
he/Apache/bin/httpd: fatal: relocation error: file .../Apache/Apache/libexec/mod_cosign.so: symbol RAND_bytes: referenc
ed symbol not found
I'm not sure what it is truly missing and why the "RAND_bytes" is missing. I know this is specific issue but I was hoping maybe somebody has some experience with other modules being compiled and help debugging them.
Thanks,
Justin
You should try with the latest apache 1.3.x version rather than with the 2.x version. The mobile server module that has been shipped has been tested with 1.3.x version. Hi! Summit,
Thanks for your good observation.
I already figured that and tried on
apache_1.3.27
I went through all te trouble to compile a EAPI enabled
Apache to fix the 'Symbol resolving problem'
Now I have the EAPI enabled ( pretty much ssl enabled ) Apache_1.3.27
Now when I load the module 'libwtgapach.so'
I get the following log ERRO entry in Apache and it never comes up.
Here is my ewrror log says.
OUCH: nested memory code, to 1 levels.
OUCH: nested memory code, to 1 levels.
OUCH: nested memory code, to 1 levels.
[Thu Nov 7 16:15:41 2002] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations
[Thu Nov 7 16:15:41 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Nov 7 16:16:07 2002] [notice] caught SIGTERM, shutting down
OUCH: nested memory code, to 1 levels.
OUCH: nested memory code, to 1 levels.
OUCH: nested memory code, to 1 levels.
This could still be due to a problem in the Shared Object 'libwtgapach.so' as without it the EAPI enaled Apache works fine.
This is very criutical for me to get the 'Mobile' project we are researching on to get going.
Any help is deeply appreciated, I am trying ORACLE with not much help.
One thing strange though, the olite_50200_linux.cpio distribution from ORACLE download page installation documentation does not even mention about the Apache Module Configuration detalis.
I presume it is implied as trivial.
OR
IS IT REALY SUPPORTED ?
-- ajith
Similar Messages
-
How to DEBUG a function module running in background mode? Please help!
Hi Experts,
I am calling a function module in my ABAP code in background module using the following syntax:
CALL FUNCTION 'YBBC2_CREATE_SNAPSHOT' IN BACKGROUND TASK
TABLES
itab_std_format_inv = itab_std_format_inv
itab_snapshot_inv = itab_snapshot_inv.
COMMIT WORK.
If I put the breakpoint in the CALL FUNCTION line and execute the program, the debugger does not take me to the valled function module. This may be because I am running the function module as background task.
I cannot comment this "IN BACKGROUND TASK" statement as well since i am debugging in Quality system where I don't have change access.
So how to DEBUG a function module running in background mode? Please help!
Thanks
GopalHi,
You could try to use the following trick:
(1) Put an endless loop into the coding of your function module where you want to start debugging, e.g.
DATA:
lx_exit_loop(1) TYPE c.
lx_exit_loop = ' '.
DO.
IF ( lx_exit_loop = 'X' ).
EXIT.
ENDIF.
ENDDO.
(2) Call your function module in background task
(3) Call transaction SM50 and search for the background process.
(3) Choose from menu Program/Mode -> Program -> Debugging
Now you the debugger should bring you right to your endless loop. Set lx_loop_exit = 'X' in the debugger and continue (F5 or F6).
<b>Reward points</b>
Regards -
How can I debug a Function Module used by smartforms
Hello everyone,
i have a problem with the function module /1BCDWB/SF00000040.
It's a module executed from a smartforms form. I need to debug this
function module while printing an invoice. While printing it should jump
to the place of the function module.
Would be grateful if someone could help me.
Best regards
F. HoppeThis is exactly what i have done last time.
The problem is that the breakpoint does not stay at the same place
when i activate it in the module itself.
Isn't there a transaction you can put breakpoints specific to a FM? -
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. -
Hw to debug outbound function module
Hi,
I know how to debug inbound idoc using WE19 can sum1 tell how can i debug outbound function module.
i want to debug to see as to why certain segments are not being updated in IDOC PORDCR1.PORDCR102.
even though i put an external break-point it does't trigger .
Regards,
Jayaram Maganti>
JAYARAM MAGANTI wrote:
> Hi,
>
> I know how to debug inbound idoc using WE19 can sum1 tell how can i debug outbound function module.
> i want to debug to see as to why certain segments are not being updated in IDOC PORDCR1.PORDCR102.
> even though i put an external break-point it does't trigger .
>
>
> Regards,
> Jayaram Maganti
Hi
See this link this is helpful for you.[debug outbound function module|Re: Cannot debug outbound queue; -
VMWare Server 2 Module compilation Module error 2.6.30-ARCH x86_64
Hello,
i completely changed my envoirenment to arch linux, including my homeserver.
most things are absolutely cool with arch, but now i have a problem with installing VMWare Server 2.
When running the installer vmware-config.pl i got following output:
bash~./vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines failed
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent failed
Stopping VMware services:
VMware Authentication Daemon done
Virtual machine monitor done
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] yes
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.30-ARCH/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.30-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:31:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:67: note: previous declaration of 'poll_initwait' was here
In file included from /tmp/vmware-config2/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:99:
/tmp/vmware-config2/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:103,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:37,
from /tmp/vmware-config2/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config2/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:101:
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:460:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:551:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:640:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:729:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:816:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:903:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:986:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1069:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1313:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_atomic.h:1796:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config2/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/vmware-config2/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:103:
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config2/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:103:
/tmp/vmware-config2/vmmon-only/./include/vm_asm_x86_64.h:56:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:119:
/tmp/vmware-config2/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/tmp/vmware-config2/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function'
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/vmware-config2/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'euid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'fsuid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'egid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'fsgid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config2/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function'
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".
Execution aborted.
so iam a beginner and can not figure out where the problem is.
i looked around the internet and on the arch wiki but didnt find a sollution - there are often problems with module compilation with newer kernels, therefore there a patches, but not for my kernel.
some people say, that VMWare Server 2 modules compiling fine with the 2.6.30 kernel.. maybe i have another problem.
is this path correct for kernel headers?
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.30-ARCH/build/include]
I hope someone can help me.cool, i found a patch and installation works fine now !
vmware-server.2.0.1_x64-modules-2.6.30-fix.sh
and
vmware-server.2.0.1_x64-modules-2.6.30-fix.patch
what i did:
wget both files to /tmp
#cd /tmp
#vi vmware-server.2.0.1_x64-modules-2.6.30-fix.sh
and change the VMMODDIR variable to my fits (cause i installed vmware server somewhere else)
#./vmware-server.2.0.1_x64-modules-2.6.30-fix.sh
#cd vmwareserverdir/bin/
#./vmware-config.pl
source: http://communities.vmware.com/message/1286903
Last edited by crabmeat (2009-08-18 13:18:47) -
Hi:
Can someone help me debug and correct following program?
The error message I receive is Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
String index out of range: 1
at java.lang.String.charAt(String.java, Compiled Code)
at RemoveDuplicates.key(RemoveDuplicates.java, Compiled Code)
at RemoveDuplicates.main(RemoveDuplicates.java:12)
The code is as follows:
class RemoveDuplicates
public static void main(String args[])
String keyword = args[0];
System.out.println(key(keyword));
public static String key(String keyword)
{String temp = "";
for(int i = keyword.length()-1; i > -1 ; i--)
if(i == keyword.indexOf(keyword.charAt(i)))
temp = keyword.charAt(i)+ temp;
keyword = temp;
return keyword;
If I change the code as follows it will run without error but I need to put the code in a method as part of a larger program.
class RemoveDuplicates
public static void main(String args[])
String temp = "";
String keyword = args[0];
for(int i = keyword.length()-1; i > -1 ; i--)
if(i == keyword.indexOf(keyword.charAt(i)))
temp = keyword.charAt(i)+temp;
keyword = temp;
System.out.println(keyword);
Here's your method corrected - albeit with some renamed variables, a variable addition and some reformatting...
public static String removeDuplicates(String s)
String temp = "";
for(int i = s.length()-1; i >= 0 ; i--)
char c = s.charAt(i);
if(i == s.indexOf(c))
temp = c + temp;
return temp;
}The only functional change is the removal of the line in the if statement body of "s = temp"... This would cause the StringIndexOutOfBounds and would also lose the as yet unprocessed characters.
Here also is a version which trades off a higher memory usage to avoid creating a lot of Strings and rescanning the original String...
public static String removeDuplicates(String s)
boolean[] foundChars = new boolean[Character.MAX_VALUE+1];
StringBuffer sb = new StringBuffer(s.length());
for(int i = 0, j = s.length(); i < j; i++)
char c = s.charAt(i);
if(!foundChars[c])
foundChars[c] = true;
sb.append(c);
return sb.toString();
}Hopefully these both work...
Talden
PS: Don't forget those dukes...
Here's your method corrected - albeit with some renamed variables, a variable addition and some reformatting...
public static String removeDuplicates(String s)
String temp = "";
for(int i = s.length()-1; i >= 0 ; i--)
char c = s.charAt(i);
if(i == s.indexOf(c))
temp = c + temp;
return temp;
}The only functional change is the removal of the line in the if statement body of "s = temp"... This would cause the StringIndexOutOfBounds and would also lose the as yet unprocessed characters.
Here also is a version which trades off a higher memory usage to avoid creating a lot of Strings and rescanning the original String...
public static String removeDuplicates(String s)
boolean[] foundChars = new boolean[Character.MAX_VALUE+1];
StringBuffer sb = new StringBuffer(s.length());
for(int i = 0, j = s.length(); i < j; i++)
char c = s.charAt(i);
if(!foundChars[c])
foundChars[c] = true;
sb.append(c);
return sb.toString();
}Hopefully these both work...
Talden
PS: Don't forget those dukes...
How to debug a form module (Oracle 11G Forms) through URL
How to debug a form module (Oracle 11G Forms) through URL.
My server OS is Unix. So i could not able to do the Debug Forms from the Form Developer.
It is displaying a message that "Cannot find the module". Becuase the system is trying find out the module in Unix system instead of ma local system(Windows).
I need to debug ma module through URL.
I can place the fmb and fmx in predefined form path in Server.
Please help me out to solve this issue..
This is a little unclear. If your goal is to use the Forms Builder Debugger while running your form on a Unix machine, this can be done. However, the form must first be in running order. So before trying to attach the debugger you must first be able to start it without the debugger. For example:
http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX
Once this is properly running you can turn on debugging. If your form won't even start, then using the Debugger isn't going to help you because it is designed to troubleshoot coding problems and not configuration problems.
So, do this to use the Debugger:
http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX&debug=yes
This will display a dialog box with some information. Do not click on OK yet as you will need this information to enter into the Forms Builder. Now, open the Forms Builder and click on Debug > Attach Debug. You will be asked for the information displayed in the dialog where you attempted to start the form. Enter it here (in the Builder) then click on ok in both places. To display the Debugger (in the Builder), click on Debug > Debug Console. Then from its toolbar click on the buttons related to what you want to monitor. Including a break point in your application code is often a more helpful way to use the debugger.
Most of this information is explained in the Forms Builder Online Help
Forgot to mention...
To debug runtime issues, refer to the Forms Deployment Guide here (this assumes you are using 11.1.2):
http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/appa.htm
Edited by: Michael Ferrante (Oracle) on Feb 21, 2013 1:45 PM
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 ?
Hi,
We have implemented custom login module, all the required steps are done in VA and Configtool. What is the better way to debug custom login module? Please advise.
Thanks,
Dileep
Hi Vijay,
I already deployed my login module. I am not getting any error, it lets me login without any problems. I want to debug this and add more logic to it based on debug results.
FYI for all, this is not logon par file, this is custom login module implemented as outlined in this link, http://help.sap.com/saphelp_nw70/helpdata/en/2b/65fa40ee14f26fe10000000a1550b0/content.htm
Thanks,
Dileep
Please help me resolve this JSP compilation error
Hi,
We have deployed our web app in Sun one web server 7.0 running on Sun os, and with JRE 5.0.
Until recently, every thing was running fine, but since a few days, I am unable to get a JSP file compiled.
This file, has a <%@include file= .. > to another file, and both these used to work fine earlier.
This is the error message I am getting:
<!-- org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:604)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:792)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:472)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
at com.bt.bmsnet.shared.BMSServletBase.forward(BMSServletBase.java:126)
at com.bt.gma.web.AccountServlet.actionUpdateAccount(AccountServlet.java:2704)
at com.bt.gma.web.AccountServlet.doGet(AccountServlet.java:5049)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
Caused by: java.io.IOException: tmpFile.renameTo(classFile) failed
at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:208)
at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:131)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:336)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:595)
... 23 more
-->
The line "Caused by: java.io.IOException: tmpFile.renameTo(classFile) failed" suggests that the JSP file isn't getting compiled into the corresponding servlet.
Can some one please help?
Yes I have done that. Simple JSP pages are compiling well. But I have about 5 jsps which call some partial jsp using
<%@ include file="somefile.jsp" %>
And all these files are showing this error.
I have a feeling that this is probably due to some kind of restriction on file sizes of compiled jsps in the server. Is there any such restriction?
How to debug a function module
hi,
Please Tell me how to debug an Function module
Thanks in advance
ajay
Hi,
In SE37 while executing the FM there is an option to execute the same in Debugging mode. If you want to debug the FM as a stand alone code you can make use of this functionality. Provide the necessary input values and run the FM in debugging mode.
If you intend to debug the FM from another program wherein it is called you can always set a breakpoint inside the FM and execute the code in the calling program. The control will stop for you at the point where you have set the break point inside the FM automatically.
Hope you have a clear picture now.
Reward if helpful.
Volunteer needed to help debug a Boost library in Sun Studio
Hello,
I've recently added a new Boost library called Boost.Flyweight to this project's
internal repository
[http://svn.boost.org/svn/boost/trunk/libs/flyweight/doc/index.html]
and found out that Sun Studio (versions 5.7 thru 5.9) have runtime problems with
a particular library test, as described in
[http://lists.boost.org/boost-testing/2008/12/6048.php]
My requests for help at the Boost mailing lists have met no response, so I'm
looking here for volunteers to help debug this problem. Basically I need someone
with access to Sun Studio and some C++ fluency (and familiarity with
Boost is a plus, too). I'd be trying to provide as much support as possible
during the process. In return the kind volunteer will receive my eternal gratitude
and an entry in the lib's acknowledgements section.
If you're interested please drop me an email to joaquin at tid.es
Thank you very much,
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
The problem has been identified as a compiler bug, and bug number 6782987 has been filed for it.
The bug report will be visible at bugs.sun.com in a day or two.
Compiler versions earlier than 5.9 (Sun Studio 12) are not very good a compiling BOOST, but this particular bug exists in the latest development compiler. One of our engineers is looking for a workaround, and he will post something here if he finds one.
A fix for this bug should show up in a future patch to Sun Studio 12. If you have a service contract with Sun, you can escalate this bug for faster service, and get a pre-release version of the compiler patch.
Hi,
Could you please tell me how to debug the function module.
Thanks,
Subha.
In SE37 while executing the FM there is an option to execute the same in Debugging mode. If you want to debug the FM as a stand alone code you can make use of this functionality. Provide the necessary input values and run the FM in debugging mode.
If you intend to debug the FM from another program wherein it is called you can always set a breakpoint inside the FM and execute the code in the calling program. The control will stop for you at the point where you have set the break point inside the FM automatically.
check this link also
http://help.sap.com/saphelp_nw04s/helpdata/en/d1/801f36454211d189710000e8322d00/content.htm
Folks - hopefully someone can help with this one -
I have an EJB module which has a dependency with an external .JAR file for some utility classes. After correctly mouting the JAR in the project's filesystem, I am able to properly compile all the individual EJB source files. However, when I do a "Compile All' from the package level (and consequently attempt the EJB module compilation), the EJB module can not properly compile.
The error message I get looks like this -
com/idealsystems/entityBeans/EntityPKSelectorImpl.java [0:0] No file named com/idealsystems/entityBeans/EntityPKSelectorImpl.java exists on disk in idealEntityBeans.jar.
Therefore it may not be compiled with an external compiler.
You may need to check it out from version control or save some changes to it.
com/jschmitt/smss/entityBeans/SMSS_EntityBeans.ejbmodule [0:0] Problem compiling class: "com/idealsystems/entityBeans/EntityPKSelectorImpl" reason: Compile failed
Called From: com/jschmitt/smss/entityBeans/StockBean
Errors compiling com.
Now if I mount the actual directories where this jar file was created from - I have no problem - but I do not know why it does not like the jar file itself!
If I use the JAR file to compile the source code all is fine!
It looks like it is having a problem building the specialized CMP PM class that inheirts from the base CMP Bean class that I built -
Any ideas on how to get this to work with the JAR file vs. mounting the actual source directory (for the jar)?
Thanks -
John Schmitt
Unfortunately, I do not think this helps -
the post you referenced talks about Sun Java Studio 5 not SJSE6!
I halce all the lastest available patches downloaded via the website - and I am still having this issue. Any other ideas?
Thanks -
John Schmitt
Maybe you are looking for
-
Acrobat Reader DC - won't print
I upgraded Acrobat Reader DC from Adobe Reader XI last week. When I tried to print any PDF. document, I get the error message "The document could not be printed. There were no pages selected to print". What went wrong? I did Repair installation, but
-
Cust Exit variable- refresh option is not working
Hi Experts, My requirement is: I am passing a value from manual i/p variable to cust exit variable based on certain condition. The functionality is working fine. But when I changed the value of my manual i/p variable using change variable value optio
-
I would like to use Substitution String in url, I defined Substitution String Name => #APPSERVERNAME# and its value as => 100.77.33.22 and URL link as http://&APPSERVERNAME.:7777/pls/apex/f?p=108:72:&SESSION.::::: but the like is like http://:7777/pl
-
Dear all, is one week that I'm playing with my new E72 but I'm little bit puzzled about the usage of wlan connection. At home I have an unprotected wlan then I have configured with the wlan wizard the internet access point of my wlan and I have inclu
-
How to compare values in resultset
i am having problem in comparing result set values. Actually my store proc returns me the following resultset: Month | Year | Deductible | Troop | TDC | ReasonCode ------------|-----------|-----------------|------------|-------------|----------------