Coldfusion 9 and Tomcat 7 on Mac 10.6.7 using jsvc
I'm trying to upgrade our environment to the latest and greatest versions of the above applications.
When Coldfusion is deployed in this environment and tomcat jsvc is started using a launch daemon, I get the following error in the catalina.out log:
04/27 13:12:43 Information [Thread-2] - Starting xmlrpc...
04/27 13:12:44 Information [Thread-2] - Starting graphing...
04/27 13:12:44 Information [Thread-2] - Starting verity...
04/27 13:12:44 Information [Thread-2] - Starting solr...
04/27 13:12:44 Information [Thread-2] - Starting archive...
04/27 13:12:44 Information [Thread-2] - Starting document...
_NSJVMLoadLibrary: NSAddLibrary failed for /libjawt.dylib
JavaVM FATAL: lookup of function JAWT_GetAWT failed. Exit
Service exit with a return value of 255
And tomcat never launches.
If, however, I execute the same tomcat startup script manually from the terminal I get this error:
04/27 13:29:49 Information [Thread-2] - Starting xmlrpc...
04/27 13:29:49 Information [Thread-2] - Starting graphing...
04/27 13:29:50 Information [Thread-2] - Starting verity...
04/27 13:29:50 Information [Thread-2] - Starting solr...
04/27 13:29:50 Information [Thread-2] - Starting archive...
04/27 13:29:50 Information [Thread-2] - Starting document...
JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
AWT not found
04/27 13:29:50 Information [Thread-2] - Starting eventgateway...
This time tomcat and coldfusion both load fine.
has anyone seen anything like this?
Thanks for any help
KR/David
http://wolfpaulus.com/journal/mac/tomcat7/
Similar Messages
-
PowerMac G5 Image across single, dual, and quad Processor Macs
Good Day,
Our organization is preparing to roll out Tiger. To streamline
this process we have decided to create images for each Mac family in
use. I know I need to find the newest possible model to create the
image but what is the rule for single, dual, and quad processor macs?
Can we use an image created on a quad processor PowerMac on the
dual/single processor PowerMacs?
ThanksMacs of different models and vintages may take different restore disks. The disk image method of doing this kind of work may or may not work. Use the original disks when faced with different releases or different models. See this article:
http://docs.info.apple.com/article.html?artnum=25784
So a dual-single processor transfer will not necessarily work.
In addition, there are license agreement considerations.
I would not do it unless you know you are in the clear on both accounts. -
Email from iphoto always starts mail app and wants ,mac info - i dont use
I am trying to send photos from iphoto however it always defaults to mail and wants a .mac logon however i use entourage via exchange for my email. Please help as i have to manually find the pic and attach to entourage i am sure their is a better way.
In iPhoto preferences, the General (default) tab has a menu near the bottom "Email pictures using" and "Mail" is the default. You can change that to Entourage, and it will then default to Entourage.
-
How to install Java and Tomcat on my VPS
Hello,
I am new in Java.
I would like to install Java and Tomcat on my VPS server.
Do you know which doc or info i should read?
Thanks a lot.
GilThe free Perian will do it for you automatically.
Additional free new machine setup stuff:
Install and update your Flash here
http://get.adobe.com/flashplayer/
Install Perian (addiitonal Quicktime codecs)
http://perian.org/
Install the Unarchiver (uncompress software)
http://wakaba.c3.cx/s/apps/unarchiver.html
Flip for Mac (for Windows media in Quicktime)
http://www.telestream.net/flip4mac-wmv/overview.htm
VLC (plays anything just about)
http://www.videolan.org/
Easy Find (finds everything on a Mac)
http://www.devon-technologies.com/download/index.html
OnyX (maintenance, cleanup, repair utility)
http://www.titanium.free.fr/ -
Building a best practice web application using ColdFusion and Jave EE
I've been tasked with rewriting a software using ColdFusion. I cannot seem to find a lot of information on best practice development in ColdFusion. I am an experience Java developer who has never used ColdFusion before. I want to build this application using a synergy of ColdFusion and Java EE technologies. Can someone recommend me a book that outlines how to developer in ColdFusion? Ideally this book assumes the reader is an experienced developer with no exposure to ColdFusion. Ideally the methods outlined in the book are still "best practice" methods.
jaisheela wrote:
Hello Friends,
I am also in the same situation.
I am a building a new web application using JSF and AJAX.
Requirement is I need to use IBM version of DOJO and JSF but I need to develop the whole application using Eclipse 3.3,2 and Tomcat 5.5.
With IBM version of DOJO and JSF, will Eclipse and Tomcat help to speed up the development or do you suggest me to go for Rational Application Developer and WebSphere Application Server.
If I need to go with RAD and WAS, then I am new to RAD and WAS, is it easy to use RAD and WAS for this kind of application and implement web applicaiton fast.
Any feedback will be great help.Those don't sound like requirements of the system to me. They sound more like someone wants to improve their CV/resume
From what I've read recently, if it's just fast you want, look at Ruby on Rails -
Adobe Dreamweaver CS3 with ASP coldfusion and PHP search?
I am working through Adobe Dreamweaver CS3 with ASP
coldfusion and PHP with the intent of creating a data base site
that primarily requires a search engine on the index page. The
search page in the book uses specific search criteria ensuring that
there will always be a match to the data base but I need to create
an input text field search engine. My Q, if there is no data within
the data base that match the variable, will it return with an error
requiring an argument in the code to respond to no matching data.
Hopefully there are comprehensive online recourses for these search
engines as they are so common. I am a complete newby to all aspects
of web development and code so it will need to be a thorough
explanation, an idiots guide. ANY HELP GREATLY APPRECIATEDRob,
Let me try to answer your questions, understanding that my
answers are laced with my experience and therefore my bias.
1. For the most part the SQL that you write for Access, MS
SQL or MySQL is going to be the same. I won't make that claim about
Oracle or PostgreSQL because I have limited or no experience in
those areas. To be sure when you head down the road with any DBMS
there are finer points on 'value added' features (to over simplify
things like MS SQL's Transact SQL), but for the most part when you
are pulling out, inserting or deleting records the SQL that you
write will be the same. In fact, I don't think I had to make any of
the SQL in the book different to deal with the back end db.
2. As for your host steering you away from MySQL, I don't
know why that would be. It is MUCH more stable and robust than
Access for web development. My research showed that you can use
MySQL just fine with ASP though that clearly wouldn't be
Microsoft's first choice.
3. A quick aside, the fact that you are building ASP on a Mac
would seem to indicate that you are developing on your production
server. That's never a good idea. Go local if you can. If you have
a newer Intel Mac you can use VM Fusion, Parallels or even Boot
Camp to run Windows in a virtual environment and develop there,
only moving your code to production when you are happy with it.
There is of course the fact that they two environments would not be
identical and you may need to change a few references, but it is
still a better practice than developing on your live site. Some web
hosts give you the ability to set up a subdomain. If yours does,
you could set one up with a duplicate of your site and develop
there.
4. Let me try to pull your 'rant-let' apart into two issue. I
begin with a question. I'm not sure what the Mac part has to do
with it. The primary language I work in at my day job is
ColdFusion. The majority of the most serious developers I know in
the CF world work on Macs. I am forced into the PC world because of
a cultural bias at the business school where I work. Having said
that, the only time I have felt there was ANY difference in the
tools, resources, choices I had was in any way affected by platform
was when Adobe still had not released Flex Builder 2 for the Mac.
Now that is behind us as well. This reaction of mine may be based
on the fact that Access never comes into play in the work that I
do. I regularly work with MS SQL and MySQL. (OK, so SQL Enterprise
Manager, the MS tool of choice to talk to MS SQL is Windows only,
but I only use that at the day job. But even there you can find
cross-platform, free tools like Aqua Data Studio to talk from a Mac
to MS SQL.) If I'm missing your point on the Mac, please let me
know. Since the advent of the Intel Mac I think it is hands-down
the best choice for a web developer. You can have Mac, Windows and
Unix all on one machine. It doesn't get any better (providing you
have the RAM :-)).
As for the security question, it is somewhat analogous to the
war on viruses and spyware. As the defenses get better, so do the
attacks. Most languages have developed functions for vetting user
input variables and best practices for building these things. It is
mainly a user education issue. When I took over the book you are
working out of, the one thing Jeffrey told me it needed was more
security. I did my best to put more in under the constraints of the
publisher. They didn't want the book to be any longer than the
previous version. I did my best to modify the code used to include
"string safe" functions and to add verbiage about the importance of
security. It was clear that I could not add as much as was needed
and I said so in the book. Much more is needed for a serious
treatment of the subject and not acknowledging that would have been
a disservice to the readers. I've been working as a developer for
over a decade and I don't know all there is to know about it. It's
a constantly changing field, just like all of web development. In
fact next week I'm going through a 2-day SANS Web Application
Security workshop in hopes of learning more. So at the risk of
sounding like an industry apologist, I don't think it's a
shortcoming of the development community. It is, as they say, "a
developing situation".
HTH,
Bob
http://bobflynn.info/ -
Installing coldfusion on tomcat 5.5
Hi,
I'm trying to do a project involving coldfusion and j2ee (is
this a good idea, btw?), and i've encountered some problems on
installing coldfusion.
i've installed apache (tested and works well with a j2ee
project), jdk 1.5.0.6 - tested with a few projects and works fine,
and a plugin for eclipse (cfeclipse i think)
next i've installed "coldfusion-702-win.exe" (dowloaded from
macromedia, developer version - it said there it's supposed to work
with j2ee).
the installer made 2 directories: CFusionMX7 and
ColdFusionSearchService. in the first one there is the
"cfusion.war" file which i copied in the tomcat webapps directory
(along with the "CFIDE.war" file).
then i started the apache server and it created (all by
itself ;) ) a couple of directories in the webapps dir: CFIDE and
cfusion (which contain more subdirectories and files)
next i created the "setenv.bat" file, as instructed on this
website (which contains the paths to coldfusion directories, the
paths written there all corect) and placed it in the "bin" dir of
tomcat (next to the "tomcat5.exe" file). restarted server etc etc.
(set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06\
set CF_HOME=C:\Program Files\Apache Software
Foundation\Tomcat 5.5\webapps\cfusion\
set CF_WEB_INF=%CF_HOME%/WEB-INF) etc...
my question is: what do i do next, to make it work ? :)
i started tomcat and i tried typing "
http://127.0.0.1:8080/cfusion/CFIDE/administrator/
" but i get "The page cannot be displayed" error.
help.nevermind, i got it.
the tutorial on macromedia's site is outdated. this is were
you can find correct information:
http://www.librarywebchic.net/wordpress/2005/11/18/tomcat-and-coldfusion/ -
When I start up Bridge CC I get a error message instructing me to purge cache in preferences which I do but it doesn't work and freezes my mac. I cannot curretnly use Bridge CC. PLease help as this is costing me time and money - thank you in advance....
Hold down the Option key as you launch Bridge, keep it down until you see a dialog box, then click all three options in the re-set box that comes up.
If you don't see that re-set box, you're doing it wrong, i.e., you're not holding the Option key down fast enough. -
How do you get Voice Memos off the iPhone and onto my Mac???
Is this yet another iPhone dead end??
I used the Voice Memo app that comes with the iPhone to record some rehearsals and now I want to move them to my Mac, edit them, make CDs, share online.
I can't find any way to get them off the iPhone, unless I click the "Share" button, which means I can email them. But, it won't let me email the longer ones. I don't know how large the files are, but it just won't do it. I don't see any other facility for moving these files to my Mac. What is up with that???? iTunes provides no access to these files.
Is there some proprietary utility for the Mac that will allow me to access these files and move them to my Mac??? It would be nice if the iPhone would show up as a mounted volume which I could then browse for files, but that would make too much sense and be contrary to the control freak nature of Apple and it's iPhones/iPod Touches. I would call it another lousy user experience, but it's just a user non-experience, a complete dead end.
Is there any way to get these Voice Memo files off of the iPhone besides emailing them??Thank you for replying!
That kb article refers to the iPod Nano and not the iPhone nor the iPod Touch.
The Synchronizing section you pointed to does not work. I have a big bunch of voice memos on the iPhone. I tried the sync. Three of them were moved to the Mac, the rest were ignored. Four others were moved to iTunes Music/Music/Unknown with numbered names (i had given several of the voice memos names with the Custom label on the iPhone). For the synch I selected "Include voice memos."
After a sync, or several syncs, none of the other voice memos were moved to the Voice Memo playlist, nor are they in the iTunes Music library.
How do you get them to sync? I need to move them off of the iPhone and onto my Mac! -
MS ACCESS, ColdFusion and Image Problems
I have done this before using PHP and Mysql and it was pretty
simple. I now need to do this in ColdFusion and MS Access 2003.
I want to store logos in a database. After reading up on it,
I found that you store images in Access using the OLE Object
Datatype - done. Now the real fun part starts.
I am trying now to display these logos from the MS Access
2003 database onto a webpage using Coldfusion. I have looked into
it, and one article suggested using the BLOB type - which is what
you do in MySQL, but in MS Access that option is not available. So
I looked into it somemore, and it seems that there are three
functions that you need to use, and they are in Visual Basic -
provided in part by Microsoft, but it seems EXTREMELY way too
complicated for simply displaying an image staored in a Database.
Has anyone been able to store and display images using MS
Access and Coldfusion before? If so, could you guide me?The reason for storing the image in the database is that our
company wants it that way for portability reasons. Filenames
change, directories get lost when moving from one system to
another. Databases are easier to backup and are more efficient when
it comes to searching metadata. We have over 300 logos we must
store for our different organizations - having a directory for each
is complicated.
Has anyone had issues like this with Coldfusion and MS
Access? If so could you guide me?
-Thanks -
My MacPro's HD seems to be failing. None of the tests I run indicate that, but I get constant spinning balls and everything takes a long time. I bought a 2nd HDD and installed it in the 2nd bayou my Early 2009 Mac Pro. I formatted it and want to install Yosemite and have the Mac boot off the new drive. It is currently running OS X 10.9.5. When I go to update to Yosemite it begins to download. Will it give me the option of which drive to install on? Or will it just upgrade the original Mac's HD?
A Samsung 850 EVO 128GB SSD $75 now and makes a huge improvement. But get the 250GB which is $99. 500GB $199
Wish you asked us first Awesome prices and performance.
Output from Etrecheck is an easy "quick check" of what your system is carrying around and what baggage it has.
Move data to a 'data and media library" drive.
Use CCC to skip the user data folders except ~/Library and clone to SSD
And might want to save the installer .ESD package for use as clean installer and to be able to boot from. -
Communication problem between NetBeans and Tomcat
hi!
i got a quite mysterious problem. here is what happens:
- i start NetBeans 5.5.1 (the first time)
- i want to debug my JSF-Project, the Debugger starts
- After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
- Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
okay.
when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
But the story goes on:
When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
thanks,
flo.
some system-info:
- windows vista business 32-bit
- no firewall is running
- AntiVir Personal Edition IS running
- Yahoo Widgets Engine IS running
- no other software is running
and finally the tomcat-log:
Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
Listening for transport dt_shmem at address: tomcat_shared_memory_id
21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1862 ms
21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
21.09.2007 18:27:54 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3626 msAs i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
I hope this help you -
Problem launching a jsp page with eclipse and tomcat
Hi,
I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
HTTP Status 404 -/
type Status report
message /_
description The requested resource (-) is not available
Apache Tomcat/5.5.17
I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
Hope someone can help.
Thanks.http://www-128.ibm.com/developerworks/library/os-ectom/
-
JNI and Tomcat running on Linux
Hi all!
I have a small problem with calling a native library from my Tomcat running on a linux.
The code is simple enough
System.loadLibrary(myLibrary);I know that when libmyLibrary.so isn't in the java.library.path I get an error at this line. When it is in the path it goes past this line with out problems but on the next line
myFunction(); that is a function within myLibrary i get something like
java.lang.UnsatisfiedLinkError: myFunction()The thing is. This exact code when either executed in a standalone java application or from a Tomcat running on windows works with out problem. Tomcat on linux doesn't.
myLibrary uses other libraries on a different path and my guess is that tomcat for some reason won't allow access to those. The security manager however doesn't give me any errors, nor does tomcat itself other than the UnsatisfiedLinkError.
Anyone running Tomcat on linux and using native libraries or perhaps just knows alot about this?
Please help. Thanks!Are you sure you are not running into a class loader issue? Does this occur the very first LoadLibrary call or after the first successfull call?
It could be that your JNI or bridge has already been loaded by another class loader in the tomcat class loader hierarchy and this would result in the UnsatisfiedLinkError.
Check out: http://www.onjava.com/pub/a/onjava/2004/06/30/classloader2.html -
Problem with Xalan and JDK and Tomcat
hi all,
i have a webapplication under Apache Tomcat 4.1.30/Linux which use an XML/XSL transformation.
I got the following error:
org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property!
at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1048)
at
Any suggestion ?
Cheers.
StefanoHere is an anwser for you
http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/4a9bc2a8f684237f85256e63006f9ad4?OpenDocument
JDK 1.4 and above, I believe, is packaged with an old version of Xalan jar. So sometimes, like when trying to run XSLTC, you have to override the JDK 1.4 Xalan version with the newer Xalan.jar. Or else your newer Xalan.jar classes are not looked at. You do this by putting your Xalan.jar in the /lib/endorsed directory. or /common/endorsed in this case.
http://xml.apache.org/xalan-j/faq.html#faq-N100CC
Hope this helps
Maybe you are looking for
-
No start-up after installing 10.2
Hello All: I cannot get my iMac to start up after installing OS 10.2 This - one of the last iMac CRT's - is my old computer which I have erased so I may give it to my niece for Christmas. The machine was running OS 10.2; it has 256MB, a 40 gig HD; it
-
Cannont update E70 nad bug with phone code after b...
launch NokiaSoftwareUpdate v1.4.39pl accept and start update to software 3.0633.09.04 ( using USB cable) time remaning 15 mintes ... nokia have white screen , during proceed to 9 minutes , and e70 is reset after reset , on e70 screen show : AFE_TEST_
-
Email information in my language.
I signed up for email newsletters but they are in Dutch. I am English living in Holland. Is there a way to change this? I have opted out of the newsletters and the link to opt out was in English? You are not the first> My itunes page is in Dutch and
-
Dolby Digital in QuickTime?
Now that Apple TV can handle Dolby Digital surroundsound, will it work in QuickTime player too? Anyone tried this yet? It would be nice to be able to export a movie as a QuickTime with AC3 audio in it.
-
Itunes tutorials-no longer accessible from iTunes Help iTunes tutorial
the path shown in question title takes me to some advertising-style videos and large font screens. I recall some months ago seeing tutorials at this location that assumed the user was not already familiar with itunes. Anyone able to point me toward