Jake Hammer

Greenhorn
+ Follow
since Jul 30, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Jake Hammer

At around 40 seconds in the second video, you mention that the sample code uses the chip select 0 pin by default and you had to change it to 1 for the hercules. I found the setting for that in HalCoGen (version 03.08.00) on the MIBSPI1 Transfer Groups tab. In the upper right corner, there is a place to define the Default Chip Select. Currently it is set to 0xFF.

I'm not very well versed in Hex, or embedded coding in general for that matter...I assume this is where I need to make the change, but I'm not sure what to change it to.m

Any insight you could provide would be very helpful!!

Thanks!
7 years ago
Were you able to get this to work with the Hercules? Where did you change the default Chip select setting that you mention in the video?
7 years ago
The current directory '.'
11 years ago

Campbell Ritchie wrote:Also what the exact error messages are, please.



Most of the messages say:

Utils.java:### cannot find symbol
symbol : class WebUserInfo
location : class path.to.Utils
11 years ago

David Newton wrote:Without knowing anything about your directory/package hierarchy and where you're compiling it from, no.



Does this matter if everything is in the same directory?
11 years ago
Hello,

I have been struggling for some time with this. I have several .java files all in the same directory that I need to recompile for an upgrade project. One in particular is giving me some trouble...it is called Utils.java. This file accesses methods from another file called WebUserInfo. I have a file called WebUserInfo.java which I have successfully recompiled and I can see the .class file that was generated. When I try to compile Utils.java it throws several errors with regard to the methods contained in the WebUserInfo file...'cannot find symbol'. I have verified that the methods being called are indeed in the WebUserInfo file.

I've checked permissions and ownership on all the files and that is all in line. I am trying to run this on a linux system with the following command:


Can someone please help me out with this???

Thanks!!!
11 years ago
Ok, I got passed that problem...turns out I was missing mail.jar. I'm not sure why that didn't appear before.

Anyway, now I've gotten to a login page that try's to get credentials from the browser. The original version of this app uses kerberos authentication via pubcookie. Is anyone familiar with this at all?

Thanks in advance!

11 years ago
Thanks for the reply...I verified that the file size is the same as what is published on Oracle's website. Also I did find the 'oracle.jdbc.pool.OracleDataSource' class when I ran: .

Any other suggestions?

Thanks!!!
11 years ago
Hello,

I'm upgrading a legacy application to use an Oracle 11g database (moving from 9i) and I seem to be having some troubles connecting to the db. According to Oracle's documentation I need the 'ojdbc6.jar' file as described here: driver

So I downloaded that file and placed it into the $CATALINA_HOME/lib directory. I reloaded the app and now when I try to access it I get the following:



Does anyone have any suggestions or experience with this? Please keep in mind that I am relatively new to Tomcat and java applications.

BTW...I'm using tomcat 6.0.20 and JVM 1.6.0_10 with Oracle 11.1.0.6

Thanks in advance!
11 years ago
Are you on a *nix type system? If so I would create a script that looks something like this:



I didn't test this out or anything...just a quick and dirty example.

Good Luck!
As it turns out, the database table that the servlet obtains is content from was in a state in which it could not be read. This must have been preventing the page from being constructed properly. When I checked this at the very beginning I was using a privileged account that was able to read the table regardless of it's state which masked the problem and sent me on this wild goose chase.

</JAVA-TOMCAT CRASH COURSE>

After learning about this technology I've become quite fond of it's flexibility.

Thanks to all who have helped me with this!

~Jake
12 years ago
JSP
I understand that every implementation is different. I was simply hoping that since there seems to be some consistency with the jsp and WEB-INF directories that there may also be a common location for class source files.

Please remember that 3 days ago I learned of a new thing called Tomcat. ;)

I appreciate all the help I can get.
12 years ago
JSP
So just for the heck of it I tried to copy the QA version of the WebReportMain.class over to the prod directory (as it turns out MainMenu maps to WeReportMain later in the web.xml file)


Then I restarted the tomcat server. That didn't seem to help anything.

Can anyone tell me where the source for these class files are typically stored? So far what I've learned is that WEB-INF directories have a web.xml file that is used to configure many different things as well as a classes directory which is where I'll find the servlet class files. At the same level as the WEB-INF directory I can find a jsp directory that has all the .jsp pages in it. The servlet source directory still eludes me however. Any help in locating this would be greatly appreciated.

Thanks again!


12 years ago
JSP
BTW...in my web.xml file (assuming I'm looking at the correct one), the mainPage looks like it maps to the MainMenu servelet:

[code]
<servlet-mapping>
<servlet-name>MainMenu</servlet-name>
<url-pattern>/mainPage</url-pattern>
</servlet-mapping>
]/code]
12 years ago
JSP