"WTH" - holy heck! :D
Polymorphism, abstraction of interfaces .. standar OO, but definitely
not kids stuff to get everything to spec/standard (including the SQL
or proc invocations)!
:)
JDBC has been a very good interface despite/after O/R M challenges met.
Sysadmin is my second language to da
Kevin,
On 3/20/23 20:12, Kevin Huntly wrote:
I actually fixed (well, figured out) the MySQL problem - it looks like it's
hard coded to a 2048b DH key, but I configured my servers for CIS level 2
which wants a minimum 3072. I can update the openssl config to utilize a
lower security level and it
Glad to hear this was identified and you have a workaround.
Software sure does get messy sometimes .. most folks don't appreciate
the difficulty of the work.
On 3/20/23, Kevin Huntly wrote:
> Hey Chris!
>
> I actually fixed (well, figured out) the MySQL problem - it looks like it's
> hard coded
Hey Chris!
I actually fixed (well, figured out) the MySQL problem - it looks like it's
hard coded to a 2048b DH key, but I configured my servers for CIS level 2
which wants a minimum 3072. I can update the openssl config to utilize a
lower security level and it works just fine.
I don't want to do
Kevin,
On 3/18/23 19:04, Kevin Huntly wrote:
I can't use tomcat 10 because of the switch to jakarta for the servlet
container - I'd have to rewrite a lot of code. That being said, I got it
fixed:
All JDBC and JNDI lookups were prefixed with "java:comp/env/" and things
worked. Clearly, IBM's Web
I can't use tomcat 10 because of the switch to jakarta for the servlet
container - I'd have to rewrite a lot of code. That being said, I got it
fixed:
All JDBC and JNDI lookups were prefixed with "java:comp/env/" and things
worked. Clearly, IBM's WebSphere does this for you, since that's primarily
Here's what I use for development:
apache-tomcat-10.0.6
java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Raspbian-1deb10u2)
OpenJDK Server VM (build 11.0.9.1+1-post-Raspbian-1deb10u2, mixed mode)
I have tremendous success running this combination.
Fo
Hey Everyone,
Is this possibly happening because I'm using JDK19 and not 8 or 9?
Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
-BEGIN GEEK CODE BLOCK-
Version: 1.0
GCS/IT d+ s a
Hey John - if you're out there can you email me direct? I have a MySQL
admin question if you have the time and the inclination
Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
-BEGIN GEE
any other ideas guys? I want to migrate a bunch of really awful apps off
our primary application server so they don't cause us headaches anymore. if
I can't get one app working I have no hope of getting others to work lol
On Sat, Mar 18, 2023, 09:16 John Dale (DB2DOM) wrote:
> Thanks Mark - are
Thanks Mark - are statics reloaded now, too?
I touch web.xml and it's reloaded successfully hundreds of times.
But I don't use war files so I can use git to version and transfer my
builds ... maybe that's the reason?
John
On 3/18/23, Mark Thomas wrote:
> On 17/03/2023 23:18, John Dale (DB2DOM
t;>
>> > On 18/03/2023 10:43, Thomas Hoffmann (Speed4Trade GmbH) wrote:
>> >> Hello,
>> >>
>> >>> -Ursprüngliche Nachricht-----
>> >>> Von: Kevin Huntly
>> >>> Gesendet: Samstag, 18. März 2023 11:10
>> >>> An: Tomcat User
wrote:
> Hi,
>
> > On 18/03/2023 10:43, Thomas Hoffmann (Speed4Trade GmbH) wrote:
> >> Hello,
> >>
> >>> -Ursprüngliche Nachricht-
> >>> Von: Kevin Huntly
> >>> Gesendet: Samstag, 18. März 2023 11:10
> >
Hi,
> On 18/03/2023 10:43, Thomas Hoffmann (Speed4Trade GmbH) wrote:
>> Hello,
>>
>>> -Ursprüngliche Nachricht-
>>> Von: Kevin Huntly
>>> Gesendet: Samstag, 18. März 2023 11:10
>>> An: Tomcat Users List
>>> Betreff: Re: Unabl
On 18/03/2023 10:43, Thomas Hoffmann (Speed4Trade GmbH) wrote:
Hello,
-Ursprüngliche Nachricht-
Von: Kevin Huntly
Gesendet: Samstag, 18. März 2023 11:10
An: Tomcat Users List
Betreff: Re: Unable to start application
Here are the logs -
https://drive.google.com/file/d
Hello,
> -Ursprüngliche Nachricht-
> Von: Kevin Huntly
> Gesendet: Samstag, 18. März 2023 11:10
> An: Tomcat Users List
> Betreff: Re: Unable to start application
>
> Here are the logs -
> https://drive.google.com/file/d/1jBsNaW_bQJ4KcDSvucJ5QWo642He6bgb/view
Here are the logs -
https://drive.google.com/file/d/1jBsNaW_bQJ4KcDSvucJ5QWo642He6bgb/view?usp=sharing
The JDBC driver is located under /opt/mysql/, and I added that path to
catalina.properties under the common loader. I did try to move it into
${catalina.home}/lib, this did not change anything.
_
On 17/03/2023 23:18, John Dale (DB2DOM) wrote:
ok - "mnet" should be "ment"
From the logs excerpt I saw earlier in the thread, that needs fixing
(although it was only a test element). I don't think it will break
anything else but better to remove the noise from the logs.
I figured I'd spel
Some context regarding context.xml
https://serverfault.com/questions/177862/how-to-add-multiple-context-elements-to-conf-context-xml-in-tomcat6
On 3/17/23, Kevin Huntly wrote:
> no I think it has something to do with it but I'm not sure. I'll try taking
> out the environment values and see what
ok - "mnet" should be "ment"
I figured I'd spell that out and behave like a compiler. :)
I would also move that configuration into server.xml (it's a major
difference between your configuration and mine). I have never used
conf/Context.xml to configure my applications. I've always either put
i
no I think it has something to do with it but I'm not sure. I'll try taking
out the environment values and see what happens
On Fri, Mar 17, 2023, 19:11 John Dale (DB2DOM) wrote:
> In the log you sent below, I see a typo:
> Context/Environmnet
>
> Does that have something to do with it, or is thi
In the log you sent below, I see a typo:
Context/Environmnet
Does that have something to do with it, or is this a typo in tomcat logging?
On 3/17/23, Kevin Huntly wrote:
> yes, under Catalina/localhost
>
> On Fri, Mar 17, 2023, 19:07 John Dale (DB2DOM) wrote:
>
>> Are you modifying a context
yes, under Catalina/localhost
On Fri, Mar 17, 2023, 19:07 John Dale (DB2DOM) wrote:
> Are you modifying a context.xml file in the conf folder?
>
> On 3/17/23, Kevin Huntly wrote:
> > Also of note:
> >
> > 17-Mar-2023 17:25:42.113 INFO [main]
> > org.apache.catalina.startup.HostConfig.deployDesc
Are you modifying a context.xml file in the conf folder?
On 3/17/23, Kevin Huntly wrote:
> Also of note:
>
> 17-Mar-2023 17:25:42.113 INFO [main]
> org.apache.catalina.startup.HostConfig.deployDescriptor Deploying
> deployment descriptor
> [/opt/Apache/Tomcat/apache-tomcat-9.0.73/conf/Catalina/lo
oh yeah definitely. I have path="/solutions" in there. didn't make a
difference. if you want the logs I can toss them over, you may see
something I don't
On Fri, Mar 17, 2023, 18:52 John Dale (DB2DOM) wrote:
> Did you try it with your actual context path?
>
> path=""
>
> would work for localhost
Did you try it with your actual context path?
path=""
would work for localhost:8080
path="mypath"
would work for localhost:8080/mypath
Obviously, replacing "mypath" with your path.
On 3/17/23, Kevin Huntly wrote:
> thank you i really appreciate that - and whats wrong with loonies and
> too
thank you i really appreciate that - and whats wrong with loonies and
toonies?! hahaha
haven't figured it out yet, I did add the path="" tag, it didn't help at
all. its almost like its just ignoring the actual content of the
context.xml but is reading it, because it is attempting to deploy the app
Because you seem so humble and are willing to ask a lot of questions,
I predict you'll be a very good DB2 admin or a very good whatever you
choose to do.
I do development/design on Oracle, SQL Server, and MariaDB. I haven't
done anything with DB2 since 2003, and it was short lived. I prefer
Mari
All good information - thank you.
In looking over your configuration file, I noticed that "webapps" was specified.
I'm not sure about the "installed apps" folder (never used that).
My preferred deployment model is to put my app outside tomcat and
reference it from server.xml .. I do some limited
are you a db2 admin? I need one of those too hahaha - I became the db2
admin at my job because I knew the most about it which isn't saying much lol
On Fri, Mar 17, 2023, 18:17 John Dale (DB2DOM) wrote:
> I'm not a guru regarding tomcat system ops .. I'm trying to hold down
> the fort until one o
I'm not a guru regarding tomcat system ops .. I'm trying to hold down
the fort until one of the really knowledgeable folks chimes-in if we
can't figure it out. :)
try setting path = "/mycontext"
Also, I'm not sure how tomcat is going to resolve the names to service
configurations and whatnot .. I
also, to answer your other question - the app is installed as an exploded
war under ${catalina.home}/installed apps as specified in the docbase
On Fri, Mar 17, 2023, 18:12 Kevin Huntly wrote:
> I assumed the context is driven by the xml name - at least that's what
> I've read. happy to add it if
I'm using tomcat 10.x - I have had good luck putting everything into
server.xml as such ..
Engine
Host
Parameter
Resource
Context
On 3/17/23, Kevin Huntly wrote:
> Also of note:
>
> 17-Mar-2023 17:25:42.113 INFO [main]
> org.apache.catalina.startup.HostConfig.deployDescriptor Depl
I assumed the context is driven by the xml name - at least that's what I've
read. happy to add it if it needs to be there
On Fri, Mar 17, 2023, 18:11 John Dale (DB2DOM) wrote:
> Did I miss something?
>
> Isn't there supposed to be a "path" element in your context?
>
> I'm seeing session cookie p
Where are you putting your Context file?
Do you have a war file deployed into webapps/some.war?
On 3/17/23, Kevin Huntly wrote:
> Also of note:
>
> 17-Mar-2023 17:25:42.113 INFO [main]
> org.apache.catalina.startup.HostConfig.deployDescriptor Deploying
> deployment descriptor
> [/opt/Apache/Tom
Did I miss something?
Isn't there supposed to be a "path" element in your context?
I'm seeing session cookie path, but not path.
On 3/17/23, Kevin Huntly wrote:
> Also of note:
>
> 17-Mar-2023 17:25:42.113 INFO [main]
> org.apache.catalina.startup.HostConfig.deployDescriptor Deploying
> deplo
Also of note:
17-Mar-2023 17:25:42.113 INFO [main]
org.apache.catalina.startup.HostConfig.deployDescriptor Deploying
deployment descriptor
[/opt/Apache/Tomcat/apache-tomcat-9.0.73/conf/Catalina/localhost/esolutions.xml]
17-Mar-2023 17:25:42.174 WARNING [main]
org.apache.tomcat.util.digester.Digest
Here's my santized server.xml and context.xml
server.xml -> https://pastebin.com/Bj6Wh0qU
context.xml -> https://pastebin.com/Z3dBf3eK
Also, are you deploying a war file referenced outside of the tomcat
home folder, or are you referencing an expanded directory?
How much have you edited the default server.xml?
Were there xml structural changes in the server.xml file or Context
element from what you used to configure the server.xm
Did you recursive file search "context.xml" in the tomcat root after deployment?
Maybe we can help narrow things down for Chris et al with a little
back and forth, or perhaps solve it ourselves. :)
Try tailing the catalina, localhost, and other log files in the logs
directory on startup .. usuall
There's no context.xml in the WAR
Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
-BEGIN GEEK CODE BLOCK-
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w---
No, and for as much as I'm sure that would work I would rather have it in
the context where it belongs. Additionally, it's not reading my JDBC
resource references either, nor te MailSession I configured in the root
context.xml.
Kevin Huntly
Email: k
Dissect your deployment war, but also make sure you aren't defining a
context element in server.xml. Lastly, if memory serves, Tomcat also
allows context overrides in expanded war files. I eventually just
started managing server.xml metadata (context etc) to avoid conflicts
and simplify. "Hope d
Have you tried just setting the environment variable in the shell script
.../bin/setenv.sh ?
Darryl Baker, GSEC, GCLD (he/him/his)
Sr. System Administrator
Distributed Application Platform Services
Northwestern University
4th Floor
2020 Ridge Avenue
Evanston, IL 60208-0801
darryl.ba...@nor
Hello,
I am unable to start my application on Tomcat 9.0.73 with JDK19 on RHEL
8.7. It appears to be ignoring everything in my context.xml, for example:
Code:
try
{
Context initContext = new InitialContext();
environment = (String) initContext.lookup("environment");
}
catch (final NamingE
45 matches
Mail list logo