Adrian Perry

Ranch Hand
+ Follow
since Jul 21, 2005
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 Adrian Perry

Hello

I am not sure if I can post this question here, if it is not then kindly move it to its desired forum.

I am building an e-learning portal. I would like to list some of the basic and rudimentary requirements

1. Details of various courses on main page.
2. Registering for a course and making payments via a gateway.
3. Virtual class room facility (VCF). This would mean online lectures would be held and students all over would join in. The student ui and professor ui would be different with different features. In short the professor can start the session, add students to a session, share docs with students publicly or privately, chat publicly or privately, pull up a remote video of students, logout a student from a session, activity tracker and so on and so forth. The student can request a session with the prof, make av contact, chat and share docs with prof privately or publicly, log the activities of the student and sent it to the server at the end of session
4. Offline lecture facility where by a student who has missed the online lecture can watch the recorded version offline. The student will coordinate with the administrator and request for an offline copy. The offline copy will be made available only to that student for a specific time interval only for viewing purpose. I want enhanced security to this module in a way that the students or any unauthorized member cannot download the lecture av.

This is a bare backbone of the requirement. I would like to ask, is how do I go about building this app. Is there a product available for this kind of requirement or can i build this app with only an open source technology and a licensed db.

I am making this app for a start up e-learning firm. Will this application once build, require a dedicated administrator.

Thanks all
8 years ago
Hello

I am new to this application server, so please bear with me. The queries that I ask may be the very trivial.

In websphere 6.0 that i am using under Servers > Application Servers > server_name > Thread Pools , there are 4 thread types that i see.

1. Default
2. SIBFAPThreadPool
3. WebContainer
4. server.startup

I have an application deployed on the web server, that might have a max of 500-800 users at peak time. I need to reconfigure the max and min number of thread paramater. My question is which one should I reconfigure among the 4 that are above.

Secondly, Can you also shed some light on Tivoli Performance viewer and PMI? can you direct me to a good resource where i can get information about the above doubts.
11 years ago
Hello,

Issue solved?

I knew it was something obvious. My jar could not see the other jars. The reason being, there is file called Manifest.txt, in which you specify 2 parameters, in case your jar file has a main class and the path of other jar files that are required to run the main jar file.

Eg.

Manifest.txt
Main-Class: abc.XYZ
Class-Path: a.jar b.jar dir/c.jar

The error that i was making was that i was separating the jars using ";" and they have to separated using a "space".

Eg.
This is what i was doing
Class-Path: a.jar;b.jar;dir/c.jar
This is what was supposed to be done
Class-Path: a.jar b.jar dir/c.jar

Once that was done, my main jar could see the other jars.

Thanks
11 years ago
Hi Campbell,

javax.mail.Authenticator is right inside mail.jar file. It is lying inside mail package that is inside javax package.
11 years ago
Hello fellow ranchers

I have this class file that is used to send mails. This file requires 2 jars, activation.jar and mail.jar. Both these jars are included in the classpath.
This classfile runs perfectly when i run from the cmd or from eclipse.

But my requirement is that i need to make a jar file of the classfile. I have taken all the required steps while creating the jar file.
I created a manifest.txt file and it has 2 entries, Main-Class and
Class-Path. I have created jars using both cmd and eclipse. When I run the jar file i get the error

Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Authenticator

This error i get for both the jars i have created one through cmd and the other through eclipse. javax/mail/Authenticator
This class is there in mail.jar, that i have included in the classpath.

I dont know why i am getting this error. When i run this classfile through cmd it runs fine, but when i run the jar file, it gives me the above error.

Please comment.
Thanks in advance
[ November 08, 2008: Message edited by: Adrian Perry ]
11 years ago
Hello fellow rangers

This is very important for me... Any kind of input on the above query will be helpful for me.

A point that I missed before. I have more than 5.5 years of work exp and 3 years in IT. Since I am not familiar with the technology, I have to start from ground zero and not from my previous position.

Do respond. I am waiting.
Thanks in advance

Regards,
Adrian Perry.
12 years ago
Hi Sunny

I might differ from the earlier post. When a person says that he is a programmer, it mean he should be proficient in atleast one frontend and one backend.
You can select your own frontend and backend.

Nowadays, a lot of business logic goes into Oracle, if middle tier is not used and you use PL/SQL for it. Just work on Oracle, PL/SQL for one year on actual project and at the end of the year you will be good at java as well as Oracle. In the meantime keep abreast of java. Believe me you will not forget it, if your basics are in place.

But ultimately it is your call. I may hook you up with some good oracle resource i know.
Hope this helps

Adrian.
12 years ago
Hi

I am from java, jsp, servlets, oracle, plsql background. My profile was that of a team leader handling a team of 4-5 people depending on the size of the proeject.

I was mostly into web-based solutions. My job required me to be in each phase of SDLC cycle, right from requirement gathering to deploying the application till support of the software. I used to code in jsp and pl/sql.

In my new company, I work on Filenet a framework for developing content management and business process management.

I would like to know the long term career prospects and growth in filenet. Input from anybody, who knows anything in filenet, will be greatly appreciated.

Thanks
Adrian
12 years ago
Hi

I am working on filenet. There is jar file called p8toolkit.jar, which need to be added to the classpath. Now there are two ways of doing it:

1. Add an explicit path of the file in CLASSPATH environment variable
2. put the p8toolkit.jar in ext folder or jre/lib

In both the cases the java file that imports the classes from the jar file, gets compiled.

But I try to run the application using the first case, it works fine. But in the second case, an error crops up when i try to access the index page of the application.
The error report is given below:

The

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: javax/servlet/ServletRequest
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause

org.apache.jasper.JasperException: javax/servlet/ServletRequest
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:803)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.HelloWorld_jsp._jspService(HelloWorld_jsp.java:104)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause

javax.servlet.ServletException: javax/servlet/ServletRequest
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.WcmError_jsp._jspService(WcmError_jsp.java:102)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:803)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.HelloWorld_jsp._jspService(HelloWorld_jsp.java:104)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause

java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
org.apache.jsp.WcmError_jsp._jspService(WcmError_jsp.java:57)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:803)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.HelloWorld_jsp._jspService(HelloWorld_jsp.java:104)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



My guess is that when I put the jar file in ext folder, there might be a conflict of classes ie there might be similiar named classes and
they may be creating an issue

But i still do not know why the first case run smoothly and second one does not?

The second query is that can I make changes to servlet and get it reflected in the appliacation, without restarting the jboss.
I know we do so using Tomcat, by setting <Context reloadable="true">, is there any similar process for jboss.


Please respond.
12 years ago

Originally posted by Adrian Perry:
Hello,

Thanks for the reply.

No I do not have any log file on the remote machine.

The method that I use is generally very crude, but it solves the purpose.
I use:

out.println("<script>alert('the variable = "+varible_in_jsp+"')</script>");

This I use everywhere, where ever I want a print statement. But surely, there must be better way.

Regards,
Adrian

12 years ago
JSP
Hello,

Thanks for the reply.

The method that I use is generally very crude, but it solves the purpose.
I use:

out.println("<script>alert('the variable = "+varible_in_jsp+"')</script>");

This I use everywhere, where ever I want a print statement. But surely, there must be better way.

Regards,
Adrian
12 years ago
JSP
Hello,

I have a situation where in the application server(tomcat) is sitting in a remote location. We are a team of devolper and we are sitting at a different location.

I want to test my jsp pages. When we use System.out.println(), then the message is printed at the server side.

Do we have any procedure where in we, sitting at a different locations can view the error messages or print messages or how do troubleshoot our jsp pages sitting a remote location.

Regards,
Adrian
12 years ago
JSP
Hi,

Responding to the above replies,

I have researched on the matter a fair bit, and have even asked to heavy-weights of both the technologies,

The result that comes forth through this interaction is as follows:

1. It is well-known fact that 2-tier technology is gaining more precedence over 3-tier. So it means that all the business logic falls in pl/sql and java or for that matter any front end is just a mean to post or receive data.

2. Java technology, due to its ever changing frameworks is perceived to be always on move and not stable.

3. Due to EJB falling short of expectations and its inherent weakness of making the system slow, has not found many takers, except the big organizations, which are using them as they have already started on it.

4. It seems that in battle of technology, the person who writes business logic for the system, is perceived to be the main person on the system. In this regard, Oracle is winning the battle.

5. Last but not the least, Oracle seems to be more stable of the two technologies and person can feel he is in grip of his career.

Please respond and share your views on the above points

In the era where everybody is working at a furious pace to master any technology, it makes sense to start a discussion right from the ground level.....FRONTEND OR BACKEND?? (In my case Java and Oracle)
[ March 12, 2008: Message edited by: Adrian Perry ]
12 years ago
Hi,

I am working on java, jsp, servlets and oracle. In oracle i write pl/sql code. In my present capacity of team leader, i have to code both in front end ie java and back end ie oracle.

Now I am planning to change company, and i am required to make a choice between chosing java or oracle and unfortunately i have to choose one.

Given an option i would love to stay on both technologies, but if i am forced to make a choice WHAT SHOULD IT BE???

Please let me know your view regarding the matter in terms of scope of a particular technology in long run ie in making it a career option;

I would like if someone helps me to chart career growth in respective technology.

Thanks for your valuable time

Adrian.
12 years ago
Hi,

I have compiled a program in Turbo C and obtained a .obj and .exe file...

My requirement is that I need to call the .obj file from my jsp, any idea how I can go ahead with the task..

Thanks,

Adrian
12 years ago
JSP