Rene Larsen

Ranch Hand
+ Follow
since Oct 12, 2001
Rene likes ...
Mac OS X Eclipse IDE
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rene Larsen

You expect the input format to be mm/dd - but this is not what you expect in your Date code.

You start with finding the date delimiter '/', then you try to find the month, but is is the day you select (spot + 2) - and then you try to find the day, but also here you select the wrong one, you select the month (spot -1)
11 years ago
If you click on the "Search" button in "Install JRE", Eclipse will find all installed Java versions on your Mac.

If you want to add the path to Java your self - then you can open a Terminal and navigate to the Java version of choice, where you then can copy the whole path to Ecipse. The new .jdk is just a packed folder, which you in e.g. Finder can right click on, and then choose "Show Package Contents" to see the Contents, and here you'll have the same folder structure as before.
11 years ago
You can here read about how to do it: iPhone Configuration Utility

Choose "iPhone Configuration Utility Help=>Installing Provisioning Profiles and Apps=>Distributing Configuration Profiles by Email" - and you'll get the below text

Distributing Configuration Profiles by Email

You can distribute configuration profiles by email. Users receive the message on their device, and then tap the attachment to install the profile.

To email a configuration profile:

Click the Share button in the iPhone Configuration Utility toolbar.

In the dialog that appears, select a security option:

None: A plain text .mobileconfig file is created. It can be installed on any device. Some content in the file is obfuscated to prevent casual snooping if the file is examined.

Sign Configuration Profile: The .mobileconfig file is signed and can be installed by any device, as long as the profile hasn’t been altered. Once installed, the profile can be updated only by a profile that has the same identifier and is signed by the same copy of iPhone Configuration Utility.

Create and Sign Encrypted Configuration Profile For Each Selected Device: This option signs the profile so it cannot be altered, and encrypts all of the content so the profile cannot be examined and can be installed only on a specific device. Use this option if the profile contains passwords. Separate .mobileconfig files are created for each of the devices you select from the Devices list. If a device doesn’t appear in the list, either it hasn’t been previously connected to the computer so that the encryption key can be obtained, or it hasn’t been upgraded to iOS 3.0 or later.

Click Share, and a new Outlook message opens with the profiles added as uncompressed attachments. The files must remain uncompressed, so that the device can recognize and install the profile.

12 years ago
An alternative to the OS X Terminal.app is the better replacement terminal iTerm - http://www.iterm2.com/

BUT - I don't know if it will work with OS X 10.2
12 years ago
If you execute the start script from inside a Dos Prompt - which errors do you get ??
12 years ago
As role(s) in in "tomcat-users.xml" you are using one of these (new roles starting with Tomcat 6) ??

* manager-gui - allows access to the HTML GUI and the status pages.
* manager-script - allows access to the text interface and the status pages.
* manager-jmx - allows access to the JMX proxy and the status pages.
* manager-status - allows access to the status pages only.
* admin-gui - allows access to the host-manager HTML console.
* admin-script - allows access to the host-manager text interface.



My setup on my OS X Snow Leopard - and now Lion is this one:
12 years ago
Without knowing the exact OutOfMemoryError message, we can only guess..

My guess is that you need to add the -XX:PermSize=256m and -XX:MaxPermSize=256m to your java options.

By default, MaxPermSize will be 32mb for -client and 64mb for -server.
12 years ago

vinoth Robert wrote:


ya I got it and its working when i call "http://mysite.com/ " in my local system. But its not working in LAN.




What to do to work in LAN?


How do you call your server from another machine ??

Is there a local firewall that blocks port 80 on you server ??
12 years ago

vinoth Robert wrote:hi

i created a host in server.xml as you said.

i have created the dir "www" then i placed the mysite.com.war file in www.
mysite.com dir is created automatically.

then i created Root dir in "mysite.com".

but its not working when i call "http://mysite.com/ ".

is it correct? if wrong how to call it in browser?



When you use a WAR file like mysite.com.war, then the name of the application will be mysite.com - this means that it should be called like this: http://sitename/mysite.com

What I wrote is that you put a ROOT (in uppercase) folder in (depending on what you've written in Host->appBase) www/sitename.com, and this ROOT folder will act as your web application available at /.

The only thing you do with this configuration is to mirror the default webapps folder, where you also have a ROOT folder available at /, and then can install additional web application next to the ROOT folder.
12 years ago

Mahi Ranga wrote:if you don't mine can you please tell me JAVA_HOME configuration.



https://coderanch.com/how-to/java/how-to-create-java-program#SettingJavahomeAndPath
13 years ago
Have you enabled port 8080 in your firewall ?? if not then do it.
13 years ago
Do you mean inserting a String into a CLOB field in the DB ?? or what do you mean ??

If that is the case, then just use the JDBC setString method on the CLOB.