Win a copy of Machine Learning with TensorFlow this week in the Artificial Intelligence and Machine Learning forum!

Rani Vish

Greenhorn
+ Follow
since Feb 03, 2006
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 Rani Vish

Hi All,

I have configured BEA8 as an App server and Apache(apache_2.0.63-win32-x86-openssl-0.9.7m) as a Web server (here I want to put all the static content) and Vignette as portalserver which is running inside the weblogic server on “7011” port and to make portal run through apache I made the following changes.

These are the steps I followed in order to configure Apache with BEA

1. Copied the mod_wl_20.so file to the APACHE_HOME\modules directory and adding the following line to APACHE_HOME/conf/httpd.conf file manually:

LoadModule weblogic_module modules/mod_wl_20.so

2 . Added the following lines in httpd.conf file. Add the following lines to make the portlet working

<IfModule mod_weblogic.c>
WebLogicHost localhost
WebLogicPort 7011
MatchExpression *
</IfModule>

After adding the following lines
http://localhost/portal works fine for portal but it does not translate the http://localhost url and its htdocs contains. (Gives Error 404--Not Found)

if I create a virtual host by adding the following lines in httpd.conf

<VirtualHost *:80>
DocumentRoot "D:/Apache/Apache2/htdocs"
ServerName localhost
WebLogicPort 7001
MatchExpression /*
ErrorLog "c:/TEMP/temp_log.log"
TransferLog "c:/TEMP/trans_log.log"
</VirtualHost>

It works for Weblogic only and stop working for Portal and Apache 80, Means it works for only one port at a time either for 7011 or 7001 or 80

I want that portal application should work through Apache and it should pick the static contain from htdocs. Kindly the possible solutions.

Thanks,
Rani
11 years ago
I have searched the string "zoomable Panel in java"
14 years ago
Hi friends,
Can anybody guide me to make a zoomable JComponet with mousewheel
thanks
14 years ago
Hi Friends ,
Please give the solution for this,
I have a Frame with a JSplitPane as the main component. I have set the
JSplitPane to be OneTouchExpandable , and sets a AWT Canvas as upper element and JTextArea as lower Element, When I resize the one pane of
the JSplitPane horizontally,it goes down but never come up ,and awt canavs takes the spaces but never resize back ,what should i do ?
14 years ago
Thanks for the reply
my application is too big too copy paste here ! anyway i got the solution



The Bold line " aymNetwork " inside the condition make it initialize each time when the click occure
Thanks again
14 years ago
Hi Friends,

I have a problem with Repainting the Child Frame which is activated inside main JFrame ,Actually i have a JFrame with some components, problem is that if i resize it and close the frame ,and if i open the same frame second time it overlap the previous resized position with the default size,this child frame is run as follows ...


Thannks in advance
14 years ago
Thanks for the Reply

But the given code also took 1.57 min to open the File chooser dialog

i searched this on net also ,Please refer the page

http://bugs.sun.com/bugdatabase/view_bug.do;:WuuT?bug_id=5033747

i am using Win XP and Eclipse 3.1 ,i do not understand how i fix it
14 years ago
Hi Friends ,

while using JFileChooer i have faced some difficulties ,actually it is very slow, it takes two or more minutes to open the JFileChooser Dialog
this is really very annoying ,Please Suggest what i have to do to open a new file ,instead of JFileChooser

Code is as follows...


[I][/I]
14 years ago
Hi Friends,

I have written an application, in which i want ,if i open any file the Jtree(In left hand side) should repaint with the given values which is passed during the opening that file ,initially the tree contain only one node,How can i repaint the tree i haven't used any listener ,i just want that when ever i open any file the tree should automatically repaint with the information related to the file ,How can i do this ,Please reply fast its very urgent
14 years ago
Thanks for reply
but still not clear about ,why it is adding JDesktopPane and not JFrame ,as both are used as Container

After giving this statement

Component comp1 = new JDesktopPane();
Component comp2 = new JFrame(" Adding Frame in Split pane");
JSplitPane jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT,true,comp1,comp2);


it throws

java.lang.IllegalArgumentException: adding a window to a container

at java.awt.Container.addImpl(Container.java:616)

at javax.swing.JSplitPane.addImpl(JSplitPane.java:1006)

at java.awt.Container.add(Container.java:518)

at javax.swing.JSplitPane.setRightComponent(JSplitPane.java:495)

at javax.swing.JSplitPane.<init>(JSplitPane.java:333)

at com.test.TabbedPaneEx1.jbInit(TabbedPaneEx1.java:36)

at com.test.TabbedPaneEx1.<init>(TabbedPaneEx1.java:27)

at com.test.TabbedPaneEx1.main(TabbedPaneEx1.java:60)
14 years ago
Thanks for reply
but still not clear about ,why it is adding JDesktopPane and not JFrame ,as both are used as Container

After giving this statement

Component comp1 = new JDesktopPane();
Component comp2 = new JFrame(" Adding Frame in Split pane");
JSplitPane jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT,true,comp1,comp2);


it throws

java.lang.IllegalArgumentException: adding a window to a container

at java.awt.Container.addImpl(Container.java:616)

at javax.swing.JSplitPane.addImpl(JSplitPane.java:1006)

at java.awt.Container.add(Container.java:518)

at javax.swing.JSplitPane.setRightComponent(JSplitPane.java:495)

at javax.swing.JSplitPane.<init>(JSplitPane.java:333)

at com.test.TabbedPaneEx1.jbInit(TabbedPaneEx1.java:36)

at com.test.TabbedPaneEx1.<init>(TabbedPaneEx1.java:27)

at com.test.TabbedPaneEx1.main(TabbedPaneEx1.java:60)
14 years ago
Thanks for reply
but still not clear about ,why it is adding JDesktopPane and not JFrame ,as both are used as Container

After giving this statement

Component comp1 = new JDesktopPane();
Component comp2 = new JFrame(" Adding Frame in Split pane");
JSplitPane jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT,true,comp1,comp2);


it throws

java.lang.IllegalArgumentException: adding a window to a container

at java.awt.Container.addImpl(Container.java:616)

at javax.swing.JSplitPane.addImpl(JSplitPane.java:1006)

at java.awt.Container.add(Container.java:518)

at javax.swing.JSplitPane.setRightComponent(JSplitPane.java:495)

at javax.swing.JSplitPane.<init>(JSplitPane.java:333)

at com.test.TabbedPaneEx1.jbInit(TabbedPaneEx1.java:36)

at com.test.TabbedPaneEx1.<init>(TabbedPaneEx1.java:27)

at com.test.TabbedPaneEx1.main(TabbedPaneEx1.java:60)
14 years ago
Hi ,
I have a doubt ,Whenever i add in JSplitPane with Component like JPanel or JDesktopPane it won't complain ,but when i add Frame or JFrame it throw exception ,why it happen ,As we know JSplitPAne add Component as its letf or right components,and Component is the super class of All Components and Containers,Why it is not adding Frame as its component

Thanks
14 years ago
Hi,
I have a doubt ,whether threads are process dependends or not,in the following code i want to kill all the running thread

B]public synchronized void windowClosed(WindowEvent evt) {
quit = true;
this.notifyAll();
try {

reader1.join(1000); //reader1 = new Thread(this);
pis1.close();
} catch (Exception e) {
}
System.exit(0);
}[/B]


if i dont give reader1.join(1000); this statement, has my thread automatically kill after exiting the process or it still alive in the queue
Thanks a Lot !!

For the Response

"associated with the class." For fields, this means there is only one location in memory,


i think this is the most suitable answer for my question
14 years ago