Need mod_jk binary!!
I need a mod_jk.so binary for Apache 1.3, on Solaris 7. Please do not point me to the Jakarta-Tomcat web site. It is not there, I promise.
I need to connect Apache and Tomcat ASAP!!! Right now, I have to use Tomcat as a standalone on port 8080, which is not a good idea.
Thanks!
http://www.johnturner.com/howto/apache-tomcat-howto.html
Please check the following url, hope it will be useful
to you.
Good luck
greenidiot
Similar Messages
-
Help needed with binary data in xml (dtd,xml inside)
I am using the java xml sql utility. I am trying to load some info into a table.
my.dtd:
<!ELEMENT ROWSET (ROW*)>
<!ELEMENT ROW (ID,JPEGS?)>
<!ELEMENT ID (#PCDATA)>
<!ELEMENT DESCRIPTION EMPTY>
<!ATTLIST DESCRIPTION file ENTITY #REQUIRED>
<!NOTATION INFOFILE SYSTEM "Files with binary data inside">
<!ENTITY file1 SYSTEM "abc.jpg" NDATA INFOFILE>
xml file:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE ROWSET SYSTEM "MY.DTD">
<ROWSET>
<ROW>
<ID>1272</ID>
<DESCRIPTION file="file1"/>
</ROW>
</ROWSET>
I am using the insertXML method to do this. However, the only value that gets loaded is the ID. abc.jpg is in the same directory where I ran the java program.
Thanks in advance.Sorry! wrong dtd. It should read this instead:
my.dtd:
<!ELEMENT ROWSET (ROW*)>
<!ELEMENT ROW (ID,DESCRIPTION?)>
<!ELEMENT ID (#PCDATA)>
<!ELEMENT DESCRIPTION EMPTY>
<!ATTLIST DESCRIPTION file ENTITY #REQUIRED>
<!NOTATION INFOFILE SYSTEM "Files with binary data inside">
<!ENTITY file1 SYSTEM "abc.jpg" NDATA INFOFILE>
null -
Do older USB1 sound devices need Universal Binary drivers?
Or does UB not affect drivers?
UB affects everything! If the drivers are not built into the OS, then you require drivers.
jord -
Need Mini 110 BIOS (binary version)
Hi,
I'm hoping someone from HP is monitoring this forum and is willing to assist.
I'm attempting to repair a Mini 110 (VF704AV, mobo #579568-001) for a friend of mine who, after attempting to upgrade the machine, could no longer get past the HP logo. Like others I've found on various forums who have had this exact problem, this one refuses to go past POST and hangs on said logo, allowing no further input from the user (a brief AMI screen confirms "CMOS checksum error" before this occurs).
After hours of trying to get around this error, I've concluded a new BIOS chip to be the only solution. However, I need the binary (.ROM) version of the file as contained with HP's SP47135.exe package. I've found a few close renditions of this file on the 'net, but prefer to have the correct version before committing to have an IC flashed.
As an electronics/computer person who dates back to the Atari days (first job), I must say I've seen more robust upgrade processes. But being unable to extract the binary file is what pushed me over the edge here. I expect better from a company of your stature.
If someone at HP can e-mail this critical file to me, I would greatly appreciate it. Thank you.M-dog,
Thanks very much for taking the time to write. I had tried Winrar with no success, and just for yuks tried 7zip now. Same result: Both will expand the SP47135.exe file, but inside (along with a couple of .sys and .vxd files) is ANOTHER executable (308F0F19.exe) which cannot be decompressed.
As for what I've tried...everything I could find on the 'net. I had near success using a DOS-bootable USB flash drive containing a generic version of the binary file, renamed AMIBOOT.rom to supposedly trick the BIOS into some sort of "limp mode" using CTRL+Home upon power up. However, in each of 4 tries doing this, the BIOS file attempted to load and claimed to have done so successfully. But the promised "rebooting now" never occurs; rather, the fan speed goes into a gradual ramp up and nothing more. Next power cycle leads to the exact same HP logo and locked keyboard. (I've read of this scenario at least twice on other forums.)
Not caring and having nothing to lose at this point, I decided to pull the power midway through the 5th attempt at flashing in this manner. Well, that did it. I now have a totally black screen and can no longer access the flash drive. What this leads me to believe is that the others who have had this problem did not (necessarily) lose power during their failed flash attempt, hence my "less than robust" comment originally. I think the process is flawed and HP knows it.
A BIOS chip company on eBay will sell me the IC, but I have to provide the ROM data file in binary format, which is proving disgustingly difficult. Hence, my presence on this forum.
But again, thanks for your post. -
Need to create a function to receive binary files from Java WebDynpro
Hey,
I need to recieve files from java Webdynpro and save them as a file on the backend
system. After that, the file will be loaded to the documentum.
In a function module, I only can get the files as a String. Therefore (I think), I need the
binary file as base64 encoded. Otherwise I can´t get it as a string.
Now I need to decode it in the backend, but how? I know, there are HTTP-classes
in newer system, but not in the 4.6C System, I have here.
Any idea, how I can recieve the files in the function module and transfer it as binary
file to the backend system?
If I load a file from the gui with gui_upload, I get the binary file as an internal table
and can transfer it to the backend filesystem now. Maybe I can get the binary file
in this way in the function?
Thank You for Your help!
Arnehttp://jakarta.apache.org/commons/net/
-
Converting a hex number to binary
How do you convert a hexadecimal number to the actual 1's and 0's of binary? I am using labview 6i. Also I will eventually need the binary to be a string. Thanks.
Converting for numeric display is quite simple. All you do is on the control/indicator, show the radix, and set it to the desired setting.
Setting up to display the binary in text is a bit more tricky. You need to insert a "Format Value" function in and wire "%b" to the format string. This will cause the output to change to binary.
Good luck -
Installing Tomcat Connector (mod_jk)
I just upgraded to Leopard (not the server version, but this seemed the most logical place to post this), and I'm trying to get everything working that was working under Tiger. I have always kept the most recent version of mod_jk installed so I could serve jsp applications through Apache, and I've never had much trouble building and installing it on the PPC or Intel platform. (Well, the installer always put it in the wrong directory, but that was easy to fix.)
So last night I downloaded the latest version (1.2.26), built it, installed it, modified http.config to load it and ran the syntax check. apachectl said:
Cannot load /usr/libexec/apache2/mod_jk.so into server:
dlopen(/usr/libexec/apache2/mod_jk.so, 10): no suitable image found.
Did find:
/usr/libexec/apache2/mod_jk.so: mach-o, but wrong architecture
So I checked to see what the architecture of the file was. file said:
mod_jk.so: Mach-O bundle i386
So what's wrong with that? I checked a few other modules, and here's what file said about one of them:
mod_setenvif.so: Mach-O universal binary with 4 architectures
mod_setenvif.so (for architecture ppc7400): Mach-O bundle ppc
mod_setenvif.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
mod_setenvif.so (for architecture i386): Mach-O bundle i386
mod_setenvif.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
So I take it it's looking for x86_64? But why wouldn't the default architecture be the right one? I'm building it on the machine where I'm going to be using it. Not only that, but when I specify ./configure --with-apxs=/usr/sbin/apxs --with-arch-type x86_64 I get the same result.
Is there any way to build this thing, or can I get a binary somewhere?I found this in the BUILDING.txt file in the unzipped distribution.
Build for both Apache 1.3 and 2.0
If you want to build mod_jk for Apache 1.3 and 2.0, you should :
use configure and indicate Apache 1.3 apxs location (--with-apxs)
use make
copy the mod_jk binary to the apache modules location
make clean (to remove all previously compiled modules)
use configure and indicate Apache 2.0 apxs location,
then make.
./configure --with-apxs=/usr/sbin/apxs
make
cp ./apache-1.3/mod_jk.so /usr/lib/apache
make clean
./configure --with-apxs=/usr/sbin/apxs2
make
cp ./apache-2.0/mod_jk.so /usr/lib/apache2 -
Glassfish V3 on Apache using Connector mod_jk makes applications slow
Hi,
I have installed Oracle Glassfish V3.1 on CentOS 5.5 and I have Plesk Web Admin Panel.
Glassfish Administrative Control on port 4848 works fine but when I connect to my applications deployed on Virtual Servers and connect using port 80 the application becomes terribly slow. It takes several minutes for the response to come.I found this in the BUILDING.txt file in the unzipped distribution.
Build for both Apache 1.3 and 2.0
If you want to build mod_jk for Apache 1.3 and 2.0, you should :
use configure and indicate Apache 1.3 apxs location (--with-apxs)
use make
copy the mod_jk binary to the apache modules location
make clean (to remove all previously compiled modules)
use configure and indicate Apache 2.0 apxs location,
then make.
./configure --with-apxs=/usr/sbin/apxs
make
cp ./apache-1.3/mod_jk.so /usr/lib/apache
make clean
./configure --with-apxs=/usr/sbin/apxs2
make
cp ./apache-2.0/mod_jk.so /usr/lib/apache2 -
Hope this is the right group.
I have to port our software for X11-Recording to Solaris 10/ix86.
Therefor I need some binary, which i cannot find on the system nor on sunfreeware. Please help.
Cannot find system binary md5sum
Cannot find system binary mwm
Cannot find system binary xwdtopnm
Cannot find system binary pnmtopng
Cannot find system binary pnmscal
TX in AdvanceGCC 4.x is only available with Solaris 11.
Non-Oracle GCC 4 packages are available for example on the below websites :
- OpenCSW
- SunFreeware
- thewrittenword.com
But, you can also try to build it : https://blogs.oracle.com/timc/entry/building_gcc_4_x_on -
Binary tree for parsing algebraic expressions
hi all
i have a project to do.. i need to read in an algebraic expression, parse it and form a binary tree. later use that tree to evaluate the expressions when the actual value for those variables are passed..
can anyone tell me how to go about doing this.
im a beginner in java..
tksfirst of, your going to need three stacks. The implementation of a stack in JAVA is something that's easy to find, do a forum search. Your going to need a Binary Node as well. One stack will hold the operator elements of your algebraic expression, another will hold the numeric values, and the final will hold your binary nodes:
expression: 4 + 6 - (6 * 9)
now there are some rules that should be followed. Whenever a closing parenthesis is encountered ")", pop an operator, pop two numbers, and create the corresponding binary node.
order of operations:
push 4 onto numberStack
push + onto operatorStack
push 6 onto numberStack
push - onto operatorStack
push ( onto operator Stack
push 6 onto numberStack
push * onto operatorStack
push 9 onto numberStack
")" encountered
Now, your stacks look something like this:
operatorStack: [ +, -, (, *, ) ]
numberStack: [ 4, 6, 6, 9 ]
pop 9 and 6 from numberStack, pop * from operatorStack
build a binaryNode using these three elements
push this node onto the binaryNodeStack
I.E. using the expression above:
/ \ is the resulting binary node once the ")" is received.
6 9
etc.. there are some rules regarding when to pop and build binary nodes, it's been a while since i did this assignment and frankly my brain hurts, hope this gets you started, good luck. -
Passing binary files in webservices
I need send binary files in my webservice. And I need it can be used by non java clients. Can I do it? Do you have any example?
Thankss
http://www.hhdirecto.net
http://www.dechiste.comUmm.. have you tried it?
In order to send any file via a web server, the server maintains a list of MIME types that map document types (e.g. text/plain, image/jpg, video/quicktime, and many, many more).
Additionally, Mac OS X Server ships with an apache module, mime_magic which attempts to automatically determine mime types on more than just the filename suffix (which is the traditional way of doing it).
Therefore, the server should be able to automatically detect the file type, so just create a link for it on your page and click it. If it doesn't work, use Server Admin to check that modmimemagic is enabled, or add a specific mime type for your document. -
Dear All,
Has anyone experience convert excel to binary ?
For example, I have an excel file in my PC then I would like to set it as attachment in mail using CL_DOCUMENT_BCS. Attachment in this class only have two version, as text or as hexadecimal.
In order to create hexadecimal content I need a binary format, i will use function SCMS_BINARY_TO_XSTRING.
The problem is, how to convert excel to binary format.
Thanks in advance.
Rgds,
Denycode snippet .
data: xml_tab1 type solix_tab .
call function 'GUI_UPLOAD'
exporting
filename = filename
filetype = 'BIN'
has_field_separator = ' '
header_length = 0
importing
filelength = size
tables
data_tab = xml_tab1
exceptions
others = 1.
call method document->add_attachment
exporting
i_attachment_type = 'XLS'
i_attachment_subject = atta_sub
i_att_content_hex = xml_tab1. -
Hi,
I am desperately trying to store userCertificate or cACertificate attributes on an OpenLDAP server. I always end up with following exception:
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - cACertificate;binary: value #0 invalid per syntax]; remaining name 'cn=1234,�'
The code I am using looks like this:
Attributes attrs = new BasicAttributes(true);
Attribute objclass = new BasicAttribute("objectclass");
objclass.add("top");
objclass.add("applicationProcess");
objclass.add("pkiCA");
attrs.put(objclass);
byte[] certBuf = new byte[] {1,2,3,4,5};
BasicAttribute cert = new BasicAttribute("cACertificate;binary", certBuf);
attrs.put(cert);
Context result = _ctx.createSubcontext("cn=1234,�I assume I need the �;binary� option, as I get following exception if I don�t use it:
javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - cACertificate: requires ;binary transfer]; remaining name 'cn=234,�
The very strange thing is that I have tried to add a jpegPhoto (same dummy-data as the certificate )to the LDAP server and this works fine - without the �;binary� option:
BasicAttribute photo = new BasicAttribute("jpegPhoto", photoBuf);I don�t think that it is a matter of the JRE as I have tried version 1.4, 1.5 and 1.6. I am also not sure if it is OpenLDAPs fault because it is possible to add those Attributes by using a LDAP client (in my case LDAPStudio).
Does anybody know this issue?
Thanks for any help,
PhilcaCertificate has a well known syntax defined in X.509.
OpenLDAP does have support for these X.509 syntaxes and will verify that the certificate you are adding to the server is valid.
Clearly certBuf = new byte[] {1,2,3,4,5}; is not a valid certificate.
Regards,
Ludovic. -
How to get the binary content of embedded Images
Dear collegues,
since a few weeks I am trying very hard to parse the XML-string of an interactive form containing embedded images. We need the binary content of this JPG-image files to store them in a database - just to have the possibility to generate the forms again with additional values which are created during the process.
Using the ixml classes I am able to fetch the image string during parsing - but this is just a string and not a JPG-image. I converted the string to xstring - but the result is still no image format.
Is there a way to fetch the binary content of embedded images from PDF or XML? Any suggestion would be great.
Thanks In advance.
MarianaHello again,
the problem is solved. For collegues which are interested in the solution:
1. parse the image string with the ixml classes
2. convert the image-string to xstring using fm SSFC_BASE64_DECODE
3. save the xstring
4. pass the xstring to the form interface
Thats it.
Regards
Mariana -
can anybody help me to set up a simple cluster for web services in red hat. i prefer tomcat version 5 or later. thanks.
Below are the steps I took to set up an Apache/Tomcat cluster. Tomcat 5 comes witha balencer web app that you can you use if you don't want to use apache (see tomcat documentation) but the balencer does a HTTP redirect that may not be suitable for all applications (eg webservices)
1: Install two instances of tomcat.
2: Configure the tomcat instances to listen on seperate ports (if running on same host machine)
server.xml : <Server port="9006" shutdown="SHUTDOWN" debug="0">
3: Enable session replication by uncommenting the cluster section of the server.xml file
(tcpListenPort should be different for each tomcat instance if running on same host machine)
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
expireSessionsOnShutdown="true"
useDirtyFlag="true">
<Membership
className="org.apache.catalina.cluster.mcast.McastService"
mcastAddr="228.0.0.4"
mcastPort="45564"
mcastFrequency="500"
mcastDropTime="3000"/>
<Receiver
className="org.apache.catalina.cluster.tcp.ReplicationListener"
tcpListenAddress="127.0.0.1"
tcpListenPort="4002"
tcpSelectorTimeout="100"
tcpThreadCount="6"/>
<Sender
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
replicationMode="pooled"/>
<Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
</Cluster>
4: Install an instance of Apache 2.0 webserver
http://httpd.apache.org/download.cgi
5: DOwnload and install the mod_jk binaries for the OS that Apache 2.0 is installed on.
(Using mod_jk_1.2.6_2.0.50.dll on Windows)
http://mirrors.combose.com/apache/jakarta/tomcat-connectors/jk/binaries/
6: Install the mod_jk binary by placing the mod_jk.dll or mod_jk.so file in {Apache install}/modules directory.
(re-name file if neccessary)
7: Edit the {Apache install}/conf/httpd.conf file to load the mod_jk module.
Windows example:
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.dll <-- matches name in step 6
# Declare the module for <IfModule directive>
#AddModule mod_jk.c
# Where to find workers.properties
# Update this path to match your conf directory location (put workers.properties next to httpd.conf)
JkWorkersFile {Apache install}/conf/workers.properties
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to access_log)
JkLogFile {Apache install}/logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
#JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /examples/* loadbalancer <-- application to load/see workers.properties for loadbalancer
JkMount /olp/* loadbalancer
8: Create a {Apache install}/conf/worker.properties file
# Define workers using ajp13
worker.list=worker1,worker2,loadbalancer
# Set properties for loadbalancer (ajp13)
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=worker1,worker2
worker.loadbalancer.sticky_session=false
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=9009 <-- port must match value set in step 9
worker.worker1.lbfactor=50 <-- Controls how requests are allocated
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.reclycle_timeout=300
# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=10009 <-- port must match value set in step 9
worker.worker2.lbfactor=50 <-- Controls how requests are allocated
worker.worker2.cachesize=10
worker.worker2.cache_timeout=600
worker.worker2.socket_keepalive=1
worker.worker2.reclycle_timeout=300
9: Enable ajp13 connections in tomcat by uncommenting the Coyote/JK2 AJP 1.3 section of conf/sever.xml.
The port value must match the port value set in the Apache workers.properties file.
(if both instances of tomcat are running on the same host then the ports need to be different)
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector port="8010"
enableLookups="false" redirectPort="8443" debug="0"
protocol="AJP/1.3" />
RESOURCES :
http://raibledesigns.com/tomcat/
http://www.javaworld.com/javaworld/jw-12-2004/jw-1220-tomcat.html
NOTE : The tomcat balancer web app works by setting the HTTP re-direct META-TAG. This doesn't work for
SOAP based RPC calls. Also does not allow for "sticky session" routing, only "round robin" routing.
The mod_jk performs "round robin" routing by default. A combination "round robin"/"sticky session"
routing can be enabled by setting worker.loadbalancer.sticky_session=true.
Maybe you are looking for
-
Download Box Pops Up When Viewing Websites With Facebook Like Buttons
Whenever I visit websites that have the option to click the "like" button from facebook (cnn, tmz, etc.), the download box on my computer pops up and says "You have chosen to open like.php from www.facebook.com in Text Edit" or "You have chosen to op
-
I have created several folders under the Places on the sidebar, but they are all dead now. I cannt click them, remove them, or look the files under them. Please help!
-
Help me!!Micro Sim is not detected in BlackBerry 10 Alpha.
I am from Chonqing,China. My service is China Unicom
-
Hello, I am very new to programming, I have ruby on rails install on linux server, now I want to install flex, what all files require to run flex, where do I install flex? I am accessing my linux server from windows machine. I am confused, please hel
-
Skill Profile Under Career & Job in ESS ERP2004
Hi We are using ERP2004 & SAP EP sp14. Under Career & Job workset of ESS Buisness package(60.2 for ESS) when i click on the Skill Profile there are no content display.(a blank page) but when i run the SkillApplication under webdynpro content administ